| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_COMMON_CAPABILITIES_H_ | 5 #ifndef GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
| 6 #define GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 6 #define GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "gpu/gpu_export.h" | 10 #include "gpu/gpu_export.h" |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 bool render_buffer_format_bgra8888 = false; | 146 bool render_buffer_format_bgra8888 = false; |
| 147 bool occlusion_query = false; | 147 bool occlusion_query = false; |
| 148 bool occlusion_query_boolean = false; | 148 bool occlusion_query_boolean = false; |
| 149 bool timer_queries = false; | 149 bool timer_queries = false; |
| 150 bool surfaceless = false; | 150 bool surfaceless = false; |
| 151 bool flips_vertically = false; | 151 bool flips_vertically = false; |
| 152 bool msaa_is_slow = false; | 152 bool msaa_is_slow = false; |
| 153 bool disable_one_component_textures = false; | 153 bool disable_one_component_textures = false; |
| 154 bool disable_multisampling_color_mask_usage = false; | 154 bool disable_multisampling_color_mask_usage = false; |
| 155 bool disable_webgl_rgb_multisampling_usage = false; | 155 bool disable_webgl_rgb_multisampling_usage = false; |
| 156 bool gpu_rasterization = false; |
| 156 | 157 |
| 157 // When this parameter is true, a CHROMIUM image created with RGB format will | 158 // When this parameter is true, a CHROMIUM image created with RGB format will |
| 158 // actually have RGBA format. The client is responsible for handling most of | 159 // actually have RGBA format. The client is responsible for handling most of |
| 159 // the complexities associated with this. See | 160 // the complexities associated with this. See |
| 160 // gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt for more | 161 // gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt for more |
| 161 // details. | 162 // details. |
| 162 bool chromium_image_rgb_emulation = false; | 163 bool chromium_image_rgb_emulation = false; |
| 163 | 164 |
| 164 // When true, RGB framebuffer formats are unsupported. Emulate with RGBA to | 165 // When true, RGB framebuffer formats are unsupported. Emulate with RGBA to |
| 165 // work around this. See https://crbug.com/449150 for an example. | 166 // work around this. See https://crbug.com/449150 for an example. |
| 166 bool emulate_rgb_buffer_with_rgba = false; | 167 bool emulate_rgb_buffer_with_rgba = false; |
| 167 | 168 |
| 168 int major_version = 2; | 169 int major_version = 2; |
| 169 int minor_version = 0; | 170 int minor_version = 0; |
| 170 }; | 171 }; |
| 171 | 172 |
| 172 } // namespace gpu | 173 } // namespace gpu |
| 173 | 174 |
| 174 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 175 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
| OLD | NEW |