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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 int max_transform_feedback_separate_attribs; | 78 int max_transform_feedback_separate_attribs; |
79 int max_uniform_buffer_bindings; | 79 int max_uniform_buffer_bindings; |
80 int uniform_buffer_offset_alignment; | 80 int uniform_buffer_offset_alignment; |
81 | 81 |
82 bool post_sub_buffer; | 82 bool post_sub_buffer; |
83 bool egl_image_external; | 83 bool egl_image_external; |
84 bool texture_format_atc; | |
85 bool texture_format_bgra8888; | 84 bool texture_format_bgra8888; |
86 bool texture_format_dxt1; | |
87 bool texture_format_dxt5; | |
88 bool texture_format_etc1; | 85 bool texture_format_etc1; |
89 bool texture_format_etc1_npot; | 86 bool texture_format_etc1_npot; |
90 bool texture_rectangle; | 87 bool texture_rectangle; |
91 bool iosurface; | 88 bool iosurface; |
92 bool texture_usage; | 89 bool texture_usage; |
93 bool texture_storage; | 90 bool texture_storage; |
94 bool discard_framebuffer; | 91 bool discard_framebuffer; |
95 bool sync_query; | 92 bool sync_query; |
96 bool image; | 93 bool image; |
97 bool future_sync_points; | 94 bool future_sync_points; |
98 bool blend_equation_advanced; | 95 bool blend_equation_advanced; |
99 bool blend_equation_advanced_coherent; | 96 bool blend_equation_advanced_coherent; |
100 bool texture_rg; | 97 bool texture_rg; |
101 }; | 98 }; |
102 | 99 |
103 } // namespace gpu | 100 } // namespace gpu |
104 | 101 |
105 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 102 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
OLD | NEW |