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; |
84 bool texture_format_bgra8888; | 85 bool texture_format_bgra8888; |
| 86 bool texture_format_dxt1; |
| 87 bool texture_format_dxt5; |
85 bool texture_format_etc1; | 88 bool texture_format_etc1; |
86 bool texture_format_etc1_npot; | 89 bool texture_format_etc1_npot; |
87 bool texture_rectangle; | 90 bool texture_rectangle; |
88 bool iosurface; | 91 bool iosurface; |
89 bool texture_usage; | 92 bool texture_usage; |
90 bool texture_storage; | 93 bool texture_storage; |
91 bool discard_framebuffer; | 94 bool discard_framebuffer; |
92 bool sync_query; | 95 bool sync_query; |
93 bool image; | 96 bool image; |
94 bool future_sync_points; | 97 bool future_sync_points; |
95 bool blend_equation_advanced; | 98 bool blend_equation_advanced; |
96 bool blend_equation_advanced_coherent; | 99 bool blend_equation_advanced_coherent; |
97 bool texture_rg; | 100 bool texture_rg; |
98 }; | 101 }; |
99 | 102 |
100 } // namespace gpu | 103 } // namespace gpu |
101 | 104 |
102 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 105 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
OLD | NEW |