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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 int max_vertex_output_components; | 108 int max_vertex_output_components; |
109 int max_vertex_uniform_blocks; | 109 int max_vertex_uniform_blocks; |
110 int max_vertex_uniform_components; | 110 int max_vertex_uniform_components; |
111 int min_program_texel_offset; | 111 int min_program_texel_offset; |
112 int num_extensions; | 112 int num_extensions; |
113 int num_program_binary_formats; | 113 int num_program_binary_formats; |
114 int uniform_buffer_offset_alignment; | 114 int uniform_buffer_offset_alignment; |
115 | 115 |
116 bool post_sub_buffer; | 116 bool post_sub_buffer; |
117 bool egl_image_external; | 117 bool egl_image_external; |
| 118 bool texture_format_astc; |
118 bool texture_format_atc; | 119 bool texture_format_atc; |
119 bool texture_format_bgra8888; | 120 bool texture_format_bgra8888; |
120 bool texture_format_dxt1; | 121 bool texture_format_dxt1; |
121 bool texture_format_dxt5; | 122 bool texture_format_dxt5; |
122 bool texture_format_etc1; | 123 bool texture_format_etc1; |
123 bool texture_format_etc1_npot; | 124 bool texture_format_etc1_npot; |
124 bool texture_rectangle; | 125 bool texture_rectangle; |
125 bool iosurface; | 126 bool iosurface; |
126 bool texture_usage; | 127 bool texture_usage; |
127 bool texture_storage; | 128 bool texture_storage; |
128 bool discard_framebuffer; | 129 bool discard_framebuffer; |
129 bool sync_query; | 130 bool sync_query; |
130 bool image; | 131 bool image; |
131 bool future_sync_points; | 132 bool future_sync_points; |
132 bool blend_equation_advanced; | 133 bool blend_equation_advanced; |
133 bool blend_equation_advanced_coherent; | 134 bool blend_equation_advanced_coherent; |
134 bool texture_rg; | 135 bool texture_rg; |
135 bool render_buffer_format_bgra8888; | 136 bool render_buffer_format_bgra8888; |
136 bool occlusion_query_boolean; | 137 bool occlusion_query_boolean; |
137 bool timer_queries; | 138 bool timer_queries; |
138 bool surfaceless; | 139 bool surfaceless; |
139 | 140 |
140 int major_version; | 141 int major_version; |
141 int minor_version; | 142 int minor_version; |
142 }; | 143 }; |
143 | 144 |
144 } // namespace gpu | 145 } // namespace gpu |
145 | 146 |
146 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 147 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
OLD | NEW |