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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 int max_renderbuffer_size; | 68 int max_renderbuffer_size; |
69 int max_texture_image_units; | 69 int max_texture_image_units; |
70 int max_texture_size; | 70 int max_texture_size; |
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 |
| 79 int max_3d_texture_size; |
| 80 int max_array_texture_layers; |
| 81 int max_color_attachments; |
| 82 int max_combined_fragment_uniform_components; |
| 83 int max_combined_uniform_blocks; |
| 84 int max_combined_vertex_uniform_components; |
| 85 int max_draw_buffers; |
| 86 int max_element_index; |
| 87 int max_elements_indices; |
| 88 int max_elements_vertices; |
| 89 int max_fragment_input_components; |
| 90 int max_fragment_uniform_blocks; |
| 91 int max_fragment_uniform_components; |
| 92 int max_program_texel_offset; |
| 93 int max_samples; |
| 94 int max_server_wait_timeout; |
| 95 int max_transform_feedback_interleaved_components; |
78 int max_transform_feedback_separate_attribs; | 96 int max_transform_feedback_separate_attribs; |
| 97 int max_transform_feedback_separate_components; |
| 98 int max_uniform_block_size; |
79 int max_uniform_buffer_bindings; | 99 int max_uniform_buffer_bindings; |
| 100 int max_varying_components; |
| 101 int max_vertex_output_components; |
| 102 int max_vertex_uniform_blocks; |
| 103 int max_vertex_uniform_components; |
| 104 int min_program_texel_offset; |
| 105 int num_extensions; |
| 106 int num_program_binary_formats; |
80 int uniform_buffer_offset_alignment; | 107 int uniform_buffer_offset_alignment; |
81 | 108 |
82 bool post_sub_buffer; | 109 bool post_sub_buffer; |
83 bool egl_image_external; | 110 bool egl_image_external; |
84 bool texture_format_atc; | 111 bool texture_format_atc; |
85 bool texture_format_bgra8888; | 112 bool texture_format_bgra8888; |
86 bool texture_format_dxt1; | 113 bool texture_format_dxt1; |
87 bool texture_format_dxt5; | 114 bool texture_format_dxt5; |
88 bool texture_format_etc1; | 115 bool texture_format_etc1; |
89 bool texture_format_etc1_npot; | 116 bool texture_format_etc1_npot; |
90 bool texture_rectangle; | 117 bool texture_rectangle; |
91 bool iosurface; | 118 bool iosurface; |
92 bool texture_usage; | 119 bool texture_usage; |
93 bool texture_storage; | 120 bool texture_storage; |
94 bool discard_framebuffer; | 121 bool discard_framebuffer; |
95 bool sync_query; | 122 bool sync_query; |
96 bool image; | 123 bool image; |
97 bool future_sync_points; | 124 bool future_sync_points; |
98 bool blend_equation_advanced; | 125 bool blend_equation_advanced; |
99 bool blend_equation_advanced_coherent; | 126 bool blend_equation_advanced_coherent; |
100 bool texture_rg; | 127 bool texture_rg; |
| 128 |
| 129 int major_version; |
| 130 int minor_version; |
101 }; | 131 }; |
102 | 132 |
103 } // namespace gpu | 133 } // namespace gpu |
104 | 134 |
105 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 135 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
OLD | NEW |