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 <string> | 8 #include <string> |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 bool map_buffer_range; | 74 bool map_buffer_range; |
75 bool ext_discard_framebuffer; | 75 bool ext_discard_framebuffer; |
76 bool angle_depth_texture; | 76 bool angle_depth_texture; |
77 bool is_swiftshader; | 77 bool is_swiftshader; |
78 bool angle_texture_usage; | 78 bool angle_texture_usage; |
79 bool ext_texture_storage; | 79 bool ext_texture_storage; |
80 bool chromium_path_rendering; | 80 bool chromium_path_rendering; |
81 bool blend_equation_advanced; | 81 bool blend_equation_advanced; |
82 bool blend_equation_advanced_coherent; | 82 bool blend_equation_advanced_coherent; |
83 bool ext_texture_rg; | 83 bool ext_texture_rg; |
| 84 bool chromium_image_ycbcr_420v; |
84 bool chromium_image_ycbcr_422; | 85 bool chromium_image_ycbcr_422; |
85 bool enable_subscribe_uniform; | 86 bool enable_subscribe_uniform; |
86 bool emulate_primitive_restart_fixed_index; | 87 bool emulate_primitive_restart_fixed_index; |
87 bool ext_render_buffer_format_bgra8888; | 88 bool ext_render_buffer_format_bgra8888; |
88 }; | 89 }; |
89 | 90 |
90 struct Workarounds { | 91 struct Workarounds { |
91 Workarounds(); | 92 Workarounds(); |
92 | 93 |
93 #define GPU_OP(type, name) bool name; | 94 #define GPU_OP(type, name) bool name; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 bool disable_shader_translator_; | 187 bool disable_shader_translator_; |
187 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; | 188 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; |
188 | 189 |
189 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 190 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
190 }; | 191 }; |
191 | 192 |
192 } // namespace gles2 | 193 } // namespace gles2 |
193 } // namespace gpu | 194 } // namespace gpu |
194 | 195 |
195 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 196 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
OLD | NEW |