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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 bool ext_read_format_bgra; | 92 bool ext_read_format_bgra; |
93 bool desktop_srgb_support; | 93 bool desktop_srgb_support; |
94 bool arb_es3_compatibility; | 94 bool arb_es3_compatibility; |
95 bool chromium_color_buffer_float_rgb = false; | 95 bool chromium_color_buffer_float_rgb = false; |
96 bool chromium_color_buffer_float_rgba = false; | 96 bool chromium_color_buffer_float_rgba = false; |
97 bool angle_robust_client_memory = false; | 97 bool angle_robust_client_memory = false; |
98 bool khr_debug = false; | 98 bool khr_debug = false; |
99 bool chromium_bind_generates_resource = false; | 99 bool chromium_bind_generates_resource = false; |
100 bool angle_webgl_compatibility = false; | 100 bool angle_webgl_compatibility = false; |
101 bool ext_srgb_write_control = false; | 101 bool ext_srgb_write_control = false; |
| 102 bool ext_srgb = false; |
102 }; | 103 }; |
103 | 104 |
104 FeatureInfo(); | 105 FeatureInfo(); |
105 | 106 |
106 // Constructor with workarounds taken from the current process's CommandLine | 107 // Constructor with workarounds taken from the current process's CommandLine |
107 explicit FeatureInfo( | 108 explicit FeatureInfo( |
108 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds); | 109 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds); |
109 | 110 |
110 // Constructor with workarounds taken from |command_line|. | 111 // Constructor with workarounds taken from |command_line|. |
111 FeatureInfo(const base::CommandLine& command_line, | 112 FeatureInfo(const base::CommandLine& command_line, |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 bool disable_shader_translator_; | 203 bool disable_shader_translator_; |
203 std::unique_ptr<gl::GLVersionInfo> gl_version_info_; | 204 std::unique_ptr<gl::GLVersionInfo> gl_version_info_; |
204 | 205 |
205 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 206 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
206 }; | 207 }; |
207 | 208 |
208 } // namespace gles2 | 209 } // namespace gles2 |
209 } // namespace gpu | 210 } // namespace gpu |
210 | 211 |
211 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 212 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
OLD | NEW |