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 #ifndef GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
7 | 7 |
| 8 #include <memory> |
8 #include <string> | 9 #include <string> |
| 10 |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | |
12 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 13 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
13 #include "gpu/command_buffer/service/gles2_cmd_validation.h" | 14 #include "gpu/command_buffer/service/gles2_cmd_validation.h" |
14 #include "gpu/config/gpu_driver_bug_workarounds.h" | 15 #include "gpu/config/gpu_driver_bug_workarounds.h" |
15 #include "gpu/gpu_export.h" | 16 #include "gpu/gpu_export.h" |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 class CommandLine; | 19 class CommandLine; |
19 } | 20 } |
20 | 21 |
21 namespace gfx { | 22 namespace gfx { |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 | 182 |
182 bool unsafe_es3_apis_enabled_; | 183 bool unsafe_es3_apis_enabled_; |
183 | 184 |
184 bool chromium_color_buffer_float_rgba_available_; | 185 bool chromium_color_buffer_float_rgba_available_; |
185 bool chromium_color_buffer_float_rgb_available_; | 186 bool chromium_color_buffer_float_rgb_available_; |
186 bool ext_color_buffer_float_available_; | 187 bool ext_color_buffer_float_available_; |
187 bool oes_texture_float_linear_available_; | 188 bool oes_texture_float_linear_available_; |
188 bool oes_texture_half_float_linear_available_; | 189 bool oes_texture_half_float_linear_available_; |
189 | 190 |
190 bool disable_shader_translator_; | 191 bool disable_shader_translator_; |
191 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; | 192 std::unique_ptr<gfx::GLVersionInfo> gl_version_info_; |
192 | 193 |
193 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 194 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
194 }; | 195 }; |
195 | 196 |
196 } // namespace gles2 | 197 } // namespace gles2 |
197 } // namespace gpu | 198 } // namespace gpu |
198 | 199 |
199 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 200 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
OLD | NEW |