OLD | NEW |
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/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/string_util.h" | |
11 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
12 #include "base/strings/string_split.h" | 11 #include "base/strings/string_split.h" |
| 12 #include "base/strings/string_util.h" |
13 #include "gpu/command_buffer/service/gl_utils.h" | 13 #include "gpu/command_buffer/service/gl_utils.h" |
14 #include "gpu/command_buffer/service/gpu_switches.h" | 14 #include "gpu/command_buffer/service/gpu_switches.h" |
15 #include "ui/gl/gl_implementation.h" | 15 #include "ui/gl/gl_implementation.h" |
16 #if defined(OS_MACOSX) | 16 #if defined(OS_MACOSX) |
17 #include "ui/surface/io_surface_support_mac.h" | 17 #include "ui/surface/io_surface_support_mac.h" |
18 #endif | 18 #endif |
19 | 19 |
20 namespace gpu { | 20 namespace gpu { |
21 namespace gles2 { | 21 namespace gles2 { |
22 | 22 |
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 if (extensions_.find(str) == std::string::npos) { | 643 if (extensions_.find(str) == std::string::npos) { |
644 extensions_ += (extensions_.empty() ? "" : " ") + str; | 644 extensions_ += (extensions_.empty() ? "" : " ") + str; |
645 } | 645 } |
646 } | 646 } |
647 | 647 |
648 FeatureInfo::~FeatureInfo() { | 648 FeatureInfo::~FeatureInfo() { |
649 } | 649 } |
650 | 650 |
651 } // namespace gles2 | 651 } // namespace gles2 |
652 } // namespace gpu | 652 } // namespace gpu |
OLD | NEW |