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

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

Issue 7623001: Rename and document glCommandBufferEnableCHROMIUM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix stuff Created 9 years, 4 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 #include "gpu/command_buffer/service/feature_info.h" 7 #include "gpu/command_buffer/service/feature_info.h"
8 #include "gpu/command_buffer/service/gl_utils.h" 8 #include "gpu/command_buffer/service/gl_utils.h"
9 #include "gpu/GLES2/gles2_command_buffer.h"
10 #include "ui/gfx/gl/gl_implementation.h" 9 #include "ui/gfx/gl/gl_implementation.h"
11 10
12 namespace gpu { 11 namespace gpu {
13 namespace gles2 { 12 namespace gles2 {
14 13
15 FeatureInfo::FeatureInfo() { 14 FeatureInfo::FeatureInfo() {
16 } 15 }
17 16
18 FeatureInfo::~FeatureInfo() { 17 FeatureInfo::~FeatureInfo() {
19 } 18 }
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 } 351 }
353 352
354 void FeatureInfo::AddExtensionString(const std::string& str) { 353 void FeatureInfo::AddExtensionString(const std::string& str) {
355 if (extensions_.find(str) == std::string::npos) { 354 if (extensions_.find(str) == std::string::npos) {
356 extensions_ += (extensions_.empty() ? "" : " ") + str; 355 extensions_ += (extensions_.empty() ? "" : " ") + str;
357 } 356 }
358 } 357 }
359 358
360 } // namespace gles2 359 } // namespace gles2
361 } // namespace gpu 360 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/context_group_unittest.cc ('k') | gpu/command_buffer/service/feature_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698