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