| 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_workaround_type.h" | 15 #include "gpu/config/gpu_driver_bug_workaround_type.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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 | 196 |
| 196 bool unsafe_es3_apis_enabled_; | 197 bool unsafe_es3_apis_enabled_; |
| 197 | 198 |
| 198 bool chromium_color_buffer_float_rgba_available_; | 199 bool chromium_color_buffer_float_rgba_available_; |
| 199 bool chromium_color_buffer_float_rgb_available_; | 200 bool chromium_color_buffer_float_rgb_available_; |
| 200 bool ext_color_buffer_float_available_; | 201 bool ext_color_buffer_float_available_; |
| 201 bool oes_texture_float_linear_available_; | 202 bool oes_texture_float_linear_available_; |
| 202 bool oes_texture_half_float_linear_available_; | 203 bool oes_texture_half_float_linear_available_; |
| 203 | 204 |
| 204 bool disable_shader_translator_; | 205 bool disable_shader_translator_; |
| 205 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; | 206 std::unique_ptr<gfx::GLVersionInfo> gl_version_info_; |
| 206 | 207 |
| 207 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 208 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
| 208 }; | 209 }; |
| 209 | 210 |
| 210 } // namespace gles2 | 211 } // namespace gles2 |
| 211 } // namespace gpu | 212 } // namespace gpu |
| 212 | 213 |
| 213 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 214 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
| OLD | NEW |