Chromium Code Reviews| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 84 bool blend_equation_advanced_coherent; | 84 bool blend_equation_advanced_coherent; |
| 85 bool ext_texture_rg; | 85 bool ext_texture_rg; |
| 86 bool chromium_image_ycbcr_420v; | 86 bool chromium_image_ycbcr_420v; |
| 87 bool chromium_image_ycbcr_422; | 87 bool chromium_image_ycbcr_422; |
| 88 bool emulate_primitive_restart_fixed_index; | 88 bool emulate_primitive_restart_fixed_index; |
| 89 bool ext_render_buffer_format_bgra8888; | 89 bool ext_render_buffer_format_bgra8888; |
| 90 bool ext_multisample_compatibility; | 90 bool ext_multisample_compatibility; |
| 91 bool ext_blend_func_extended; | 91 bool ext_blend_func_extended; |
| 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_compatability; | |
|
piman
2016/07/06 21:20:59
nit: typo compatability->compatibility
Geoff Lang
2016/07/08 18:49:16
Done.
| |
| 94 }; | 95 }; |
| 95 | 96 |
| 96 FeatureInfo(); | 97 FeatureInfo(); |
| 97 | 98 |
| 98 // Constructor with workarounds taken from the current process's CommandLine | 99 // Constructor with workarounds taken from the current process's CommandLine |
| 99 explicit FeatureInfo( | 100 explicit FeatureInfo( |
| 100 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds); | 101 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds); |
| 101 | 102 |
| 102 // Constructor with workarounds taken from |command_line|. | 103 // Constructor with workarounds taken from |command_line|. |
| 103 FeatureInfo(const base::CommandLine& command_line, | 104 FeatureInfo(const base::CommandLine& command_line, |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 193 bool disable_shader_translator_; | 194 bool disable_shader_translator_; |
| 194 std::unique_ptr<gl::GLVersionInfo> gl_version_info_; | 195 std::unique_ptr<gl::GLVersionInfo> gl_version_info_; |
| 195 | 196 |
| 196 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 197 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
| 197 }; | 198 }; |
| 198 | 199 |
| 199 } // namespace gles2 | 200 } // namespace gles2 |
| 200 } // namespace gpu | 201 } // namespace gpu |
| 201 | 202 |
| 202 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 203 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
| OLD | NEW |