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 int max_transform_feedback_separate_attribs; | |
79 int max_uniform_buffer_bindings; | |
80 int uniform_buffer_offset_alignment; | |
piman
2015/02/04 00:43:19
These need to be added to gpu/ipc/gpu_command_buff
| |
78 | 81 |
79 bool post_sub_buffer; | 82 bool post_sub_buffer; |
80 bool egl_image_external; | 83 bool egl_image_external; |
81 bool texture_format_bgra8888; | 84 bool texture_format_bgra8888; |
82 bool texture_format_etc1; | 85 bool texture_format_etc1; |
83 bool texture_format_etc1_npot; | 86 bool texture_format_etc1_npot; |
84 bool texture_rectangle; | 87 bool texture_rectangle; |
85 bool iosurface; | 88 bool iosurface; |
86 bool texture_usage; | 89 bool texture_usage; |
87 bool texture_storage; | 90 bool texture_storage; |
88 bool discard_framebuffer; | 91 bool discard_framebuffer; |
89 bool sync_query; | 92 bool sync_query; |
90 bool image; | 93 bool image; |
91 bool future_sync_points; | 94 bool future_sync_points; |
92 bool blend_equation_advanced; | 95 bool blend_equation_advanced; |
93 bool blend_equation_advanced_coherent; | 96 bool blend_equation_advanced_coherent; |
94 bool texture_rg; | 97 bool texture_rg; |
95 }; | 98 }; |
96 | 99 |
97 } // namespace gpu | 100 } // namespace gpu |
98 | 101 |
99 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 102 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
OLD | NEW |