| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |