| 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 <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 bool angle_robust_client_memory = false; | 99 bool angle_robust_client_memory = false; |
| 100 bool khr_debug = false; | 100 bool khr_debug = false; |
| 101 bool chromium_bind_generates_resource = false; | 101 bool chromium_bind_generates_resource = false; |
| 102 bool angle_webgl_compatibility = false; | 102 bool angle_webgl_compatibility = false; |
| 103 bool ext_srgb_write_control = false; | 103 bool ext_srgb_write_control = false; |
| 104 bool ext_srgb = false; | 104 bool ext_srgb = false; |
| 105 bool chromium_copy_texture = false; | 105 bool chromium_copy_texture = false; |
| 106 bool chromium_copy_compressed_texture = false; | 106 bool chromium_copy_compressed_texture = false; |
| 107 bool angle_framebuffer_multisample = false; | 107 bool angle_framebuffer_multisample = false; |
| 108 bool ext_disjoint_timer_query = false; | 108 bool ext_disjoint_timer_query = false; |
| 109 bool angle_client_arrays = false; |
| 109 }; | 110 }; |
| 110 | 111 |
| 111 FeatureInfo(); | 112 FeatureInfo(); |
| 112 | 113 |
| 113 // Constructor with workarounds taken from the current process's CommandLine | 114 // Constructor with workarounds taken from the current process's CommandLine |
| 114 explicit FeatureInfo( | 115 explicit FeatureInfo( |
| 115 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds); | 116 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds); |
| 116 | 117 |
| 117 // Constructor with workarounds taken from |command_line|. | 118 // Constructor with workarounds taken from |command_line|. |
| 118 FeatureInfo(const base::CommandLine& command_line, | 119 FeatureInfo(const base::CommandLine& command_line, |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 bool disable_shader_translator_; | 210 bool disable_shader_translator_; |
| 210 std::unique_ptr<gl::GLVersionInfo> gl_version_info_; | 211 std::unique_ptr<gl::GLVersionInfo> gl_version_info_; |
| 211 | 212 |
| 212 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 213 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
| 213 }; | 214 }; |
| 214 | 215 |
| 215 } // namespace gles2 | 216 } // namespace gles2 |
| 216 } // namespace gpu | 217 } // namespace gpu |
| 217 | 218 |
| 218 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 219 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
| OLD | NEW |