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 "gpu/gpu_export.h" | 8 #include "gpu/gpu_export.h" |
9 | 9 |
10 // From gl2.h. We want to avoid including gl headers because client-side and | 10 // From gl2.h. We want to avoid including gl headers because client-side and |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 int max_varying_vectors; | 71 int max_varying_vectors; |
72 int max_vertex_attribs; | 72 int max_vertex_attribs; |
73 int max_vertex_texture_image_units; | 73 int max_vertex_texture_image_units; |
74 int max_vertex_uniform_vectors; | 74 int max_vertex_uniform_vectors; |
75 int num_compressed_texture_formats; | 75 int num_compressed_texture_formats; |
76 int num_shader_binary_formats; | 76 int num_shader_binary_formats; |
77 int bind_generates_resource_chromium; | 77 int bind_generates_resource_chromium; |
78 | 78 |
79 bool post_sub_buffer; | 79 bool post_sub_buffer; |
80 bool egl_image_external; | 80 bool egl_image_external; |
| 81 bool texture_format_atc; |
81 bool texture_format_bgra8888; | 82 bool texture_format_bgra8888; |
| 83 bool texture_format_dxt; |
82 bool texture_format_etc1; | 84 bool texture_format_etc1; |
83 bool texture_format_etc1_npot; | 85 bool texture_format_etc1_npot; |
84 bool texture_rectangle; | 86 bool texture_rectangle; |
85 bool iosurface; | 87 bool iosurface; |
86 bool texture_usage; | 88 bool texture_usage; |
87 bool texture_storage; | 89 bool texture_storage; |
88 bool discard_framebuffer; | 90 bool discard_framebuffer; |
89 bool sync_query; | 91 bool sync_query; |
90 bool image; | 92 bool image; |
91 bool future_sync_points; | 93 bool future_sync_points; |
92 bool blend_equation_advanced; | 94 bool blend_equation_advanced; |
93 bool blend_equation_advanced_coherent; | 95 bool blend_equation_advanced_coherent; |
94 bool texture_rg; | 96 bool texture_rg; |
95 }; | 97 }; |
96 | 98 |
97 } // namespace gpu | 99 } // namespace gpu |
98 | 100 |
99 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 101 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
OLD | NEW |