| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "gpu/gpu_export.h" | 10 #include "gpu/gpu_export.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 int max_combined_texture_image_units; | 71 int max_combined_texture_image_units; |
| 72 int max_cube_map_texture_size; | 72 int max_cube_map_texture_size; |
| 73 int max_fragment_uniform_vectors; | 73 int max_fragment_uniform_vectors; |
| 74 int max_renderbuffer_size; | 74 int max_renderbuffer_size; |
| 75 int max_texture_image_units; | 75 int max_texture_image_units; |
| 76 int max_texture_size; | 76 int max_texture_size; |
| 77 int max_varying_vectors; | 77 int max_varying_vectors; |
| 78 int max_vertex_attribs; | 78 int max_vertex_attribs; |
| 79 int max_vertex_texture_image_units; | 79 int max_vertex_texture_image_units; |
| 80 int max_vertex_uniform_vectors; | 80 int max_vertex_uniform_vectors; |
| 81 // MAX_VIEWPORT_DIMS[2] |
| 82 int max_viewport_width; |
| 83 int max_viewport_height; |
| 81 int num_compressed_texture_formats; | 84 int num_compressed_texture_formats; |
| 82 int num_shader_binary_formats; | 85 int num_shader_binary_formats; |
| 83 int bind_generates_resource_chromium; | 86 int bind_generates_resource_chromium; |
| 84 | 87 |
| 85 int max_3d_texture_size; | 88 int max_3d_texture_size; |
| 86 int max_array_texture_layers; | 89 int max_array_texture_layers; |
| 87 int max_color_attachments; | 90 int max_color_attachments; |
| 88 int64_t max_combined_fragment_uniform_components; | 91 int64_t max_combined_fragment_uniform_components; |
| 89 int max_combined_uniform_blocks; | 92 int max_combined_uniform_blocks; |
| 90 int64_t max_combined_vertex_uniform_components; | 93 int64_t max_combined_vertex_uniform_components; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 // work around this. See https://crbug.com/449150 for an example. | 162 // work around this. See https://crbug.com/449150 for an example. |
| 160 bool emulate_rgb_buffer_with_rgba; | 163 bool emulate_rgb_buffer_with_rgba; |
| 161 | 164 |
| 162 int major_version; | 165 int major_version; |
| 163 int minor_version; | 166 int minor_version; |
| 164 }; | 167 }; |
| 165 | 168 |
| 166 } // namespace gpu | 169 } // namespace gpu |
| 167 | 170 |
| 168 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 171 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
| OLD | NEW |