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 24 matching lines...) Expand all Loading... |
35 bool chromium_framebuffer_multisample; | 35 bool chromium_framebuffer_multisample; |
36 bool chromium_sync_query; | 36 bool chromium_sync_query; |
37 // Use glBlitFramebuffer() and glRenderbufferStorageMultisample() with | 37 // Use glBlitFramebuffer() and glRenderbufferStorageMultisample() with |
38 // GL_EXT_framebuffer_multisample-style semantics, since they are exposed | 38 // GL_EXT_framebuffer_multisample-style semantics, since they are exposed |
39 // as core GL functions on this implementation. | 39 // as core GL functions on this implementation. |
40 bool use_core_framebuffer_multisample; | 40 bool use_core_framebuffer_multisample; |
41 bool multisampled_render_to_texture; | 41 bool multisampled_render_to_texture; |
42 // Use the IMG GLenum values and functions rather than EXT. | 42 // Use the IMG GLenum values and functions rather than EXT. |
43 bool use_img_for_multisampled_render_to_texture; | 43 bool use_img_for_multisampled_render_to_texture; |
44 bool chromium_screen_space_antialiasing; | 44 bool chromium_screen_space_antialiasing; |
| 45 bool use_chromium_screen_space_antialiasing_via_shaders; |
45 bool oes_standard_derivatives; | 46 bool oes_standard_derivatives; |
46 bool oes_egl_image_external; | 47 bool oes_egl_image_external; |
47 bool nv_egl_stream_consumer_external; | 48 bool nv_egl_stream_consumer_external; |
48 bool oes_depth24; | 49 bool oes_depth24; |
49 bool oes_compressed_etc1_rgb8_texture; | 50 bool oes_compressed_etc1_rgb8_texture; |
50 bool packed_depth24_stencil8; | 51 bool packed_depth24_stencil8; |
51 bool npot_ok; | 52 bool npot_ok; |
52 bool enable_texture_float_linear; | 53 bool enable_texture_float_linear; |
53 bool enable_texture_half_float_linear; | 54 bool enable_texture_half_float_linear; |
54 bool angle_translated_shader_source; | 55 bool angle_translated_shader_source; |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 | 185 |
185 bool chromium_color_buffer_float_rgba_available_; | 186 bool chromium_color_buffer_float_rgba_available_; |
186 bool chromium_color_buffer_float_rgb_available_; | 187 bool chromium_color_buffer_float_rgb_available_; |
187 bool ext_color_buffer_float_available_; | 188 bool ext_color_buffer_float_available_; |
188 bool oes_texture_float_linear_available_; | 189 bool oes_texture_float_linear_available_; |
189 bool oes_texture_half_float_linear_available_; | 190 bool oes_texture_half_float_linear_available_; |
190 | 191 |
191 bool disable_shader_translator_; | 192 bool disable_shader_translator_; |
192 std::unique_ptr<gl::GLVersionInfo> gl_version_info_; | 193 std::unique_ptr<gl::GLVersionInfo> gl_version_info_; |
193 | 194 |
| 195 // Whether the command line switch kEnableCMAAShaders is passed in. |
| 196 bool enable_cmaa_shaders_switch_; |
| 197 |
194 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 198 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
195 }; | 199 }; |
196 | 200 |
197 } // namespace gles2 | 201 } // namespace gles2 |
198 } // namespace gpu | 202 } // namespace gpu |
199 | 203 |
200 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 204 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
OLD | NEW |