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 24 matching lines...) Expand all Loading... |
35 bool chromium_color_buffer_float_rgb; | 35 bool chromium_color_buffer_float_rgb; |
36 bool chromium_framebuffer_multisample; | 36 bool chromium_framebuffer_multisample; |
37 bool chromium_sync_query; | 37 bool chromium_sync_query; |
38 // Use glBlitFramebuffer() and glRenderbufferStorageMultisample() with | 38 // Use glBlitFramebuffer() and glRenderbufferStorageMultisample() with |
39 // GL_EXT_framebuffer_multisample-style semantics, since they are exposed | 39 // GL_EXT_framebuffer_multisample-style semantics, since they are exposed |
40 // as core GL functions on this implementation. | 40 // as core GL functions on this implementation. |
41 bool use_core_framebuffer_multisample; | 41 bool use_core_framebuffer_multisample; |
42 bool multisampled_render_to_texture; | 42 bool multisampled_render_to_texture; |
43 // Use the IMG GLenum values and functions rather than EXT. | 43 // Use the IMG GLenum values and functions rather than EXT. |
44 bool use_img_for_multisampled_render_to_texture; | 44 bool use_img_for_multisampled_render_to_texture; |
| 45 bool chromium_screen_space_antialiasing; |
45 bool oes_standard_derivatives; | 46 bool oes_standard_derivatives; |
46 bool oes_egl_image_external; | 47 bool oes_egl_image_external; |
47 bool oes_depth24; | 48 bool oes_depth24; |
48 bool oes_compressed_etc1_rgb8_texture; | 49 bool oes_compressed_etc1_rgb8_texture; |
49 bool packed_depth24_stencil8; | 50 bool packed_depth24_stencil8; |
50 bool npot_ok; | 51 bool npot_ok; |
51 bool enable_texture_float_linear; | 52 bool enable_texture_float_linear; |
52 bool enable_texture_half_float_linear; | 53 bool enable_texture_half_float_linear; |
53 bool angle_translated_shader_source; | 54 bool angle_translated_shader_source; |
54 bool angle_pack_reverse_row_order; | 55 bool angle_pack_reverse_row_order; |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 bool disable_shader_translator_; | 177 bool disable_shader_translator_; |
177 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; | 178 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; |
178 | 179 |
179 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 180 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
180 }; | 181 }; |
181 | 182 |
182 } // namespace gles2 | 183 } // namespace gles2 |
183 } // namespace gpu | 184 } // namespace gpu |
184 | 185 |
185 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 186 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
OLD | NEW |