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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 bool texture_rectangle = false; | 132 bool texture_rectangle = false; |
133 bool iosurface = false; | 133 bool iosurface = false; |
134 bool texture_usage = false; | 134 bool texture_usage = false; |
135 bool texture_storage = false; | 135 bool texture_storage = false; |
136 bool discard_framebuffer = false; | 136 bool discard_framebuffer = false; |
137 bool sync_query = false; | 137 bool sync_query = false; |
138 bool future_sync_points = false; | 138 bool future_sync_points = false; |
139 bool blend_equation_advanced = false; | 139 bool blend_equation_advanced = false; |
140 bool blend_equation_advanced_coherent = false; | 140 bool blend_equation_advanced_coherent = false; |
141 bool texture_rg = false; | 141 bool texture_rg = false; |
| 142 bool texture_norm16 = false; |
142 bool texture_half_float_linear = false; | 143 bool texture_half_float_linear = false; |
143 bool color_buffer_half_float_rgba = false; | 144 bool color_buffer_half_float_rgba = false; |
144 bool image_ycbcr_422 = false; | 145 bool image_ycbcr_422 = false; |
145 bool image_ycbcr_420v = false; | 146 bool image_ycbcr_420v = false; |
146 bool render_buffer_format_bgra8888 = false; | 147 bool render_buffer_format_bgra8888 = false; |
147 bool occlusion_query = false; | 148 bool occlusion_query = false; |
148 bool occlusion_query_boolean = false; | 149 bool occlusion_query_boolean = false; |
149 bool timer_queries = false; | 150 bool timer_queries = false; |
150 bool surfaceless = false; | 151 bool surfaceless = false; |
151 bool flips_vertically = false; | 152 bool flips_vertically = false; |
(...skipping 16 matching lines...) Expand all Loading... |
168 // work around this. See https://crbug.com/449150 for an example. | 169 // work around this. See https://crbug.com/449150 for an example. |
169 bool emulate_rgb_buffer_with_rgba = false; | 170 bool emulate_rgb_buffer_with_rgba = false; |
170 | 171 |
171 int major_version = 2; | 172 int major_version = 2; |
172 int minor_version = 0; | 173 int minor_version = 0; |
173 }; | 174 }; |
174 | 175 |
175 } // namespace gpu | 176 } // namespace gpu |
176 | 177 |
177 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 178 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
OLD | NEW |