Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: gpu/command_buffer/service/feature_info.cc

Issue 10351002: ui: Move surface/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix gpu DEPS Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gpu/DEPS ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gpu/command_buffer/service/feature_info.h" 5 #include "gpu/command_buffer/service/feature_info.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "gpu/command_buffer/service/gl_utils.h" 10 #include "gpu/command_buffer/service/gl_utils.h"
11 #include "ui/gfx/gl/gl_context.h" 11 #include "ui/gfx/gl/gl_context.h"
12 #include "ui/gfx/gl/gl_implementation.h" 12 #include "ui/gfx/gl/gl_implementation.h"
13 #if defined(OS_MACOSX) 13 #if defined(OS_MACOSX)
14 #include "ui/gfx/surface/io_surface_support_mac.h" 14 #include "ui/surface/io_surface_support_mac.h"
15 #endif 15 #endif
16 16
17 namespace gpu { 17 namespace gpu {
18 namespace gles2 { 18 namespace gles2 {
19 19
20 FeatureInfo::FeatureInfo() { 20 FeatureInfo::FeatureInfo() {
21 } 21 }
22 22
23 FeatureInfo::~FeatureInfo() { 23 FeatureInfo::~FeatureInfo() {
24 } 24 }
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 } 467 }
468 468
469 void FeatureInfo::AddExtensionString(const std::string& str) { 469 void FeatureInfo::AddExtensionString(const std::string& str) {
470 if (extensions_.find(str) == std::string::npos) { 470 if (extensions_.find(str) == std::string::npos) {
471 extensions_ += (extensions_.empty() ? "" : " ") + str; 471 extensions_ += (extensions_.empty() ? "" : " ") + str;
472 } 472 }
473 } 473 }
474 474
475 } // namespace gles2 475 } // namespace gles2
476 } // namespace gpu 476 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/DEPS ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698