| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 int max_varying_components; | 112 int max_varying_components; |
| 113 int max_vertex_output_components; | 113 int max_vertex_output_components; |
| 114 int max_vertex_uniform_blocks; | 114 int max_vertex_uniform_blocks; |
| 115 int max_vertex_uniform_components; | 115 int max_vertex_uniform_components; |
| 116 int min_program_texel_offset; | 116 int min_program_texel_offset; |
| 117 int num_extensions; | 117 int num_extensions; |
| 118 int num_program_binary_formats; | 118 int num_program_binary_formats; |
| 119 int uniform_buffer_offset_alignment; | 119 int uniform_buffer_offset_alignment; |
| 120 | 120 |
| 121 bool post_sub_buffer; | 121 bool post_sub_buffer; |
| 122 bool swap_buffers_with_damage; | 122 bool swap_buffers_with_bounds; |
| 123 bool commit_overlay_planes; | 123 bool commit_overlay_planes; |
| 124 bool egl_image_external; | 124 bool egl_image_external; |
| 125 bool texture_format_astc; | 125 bool texture_format_astc; |
| 126 bool texture_format_atc; | 126 bool texture_format_atc; |
| 127 bool texture_format_bgra8888; | 127 bool texture_format_bgra8888; |
| 128 bool texture_format_dxt1; | 128 bool texture_format_dxt1; |
| 129 bool texture_format_dxt5; | 129 bool texture_format_dxt5; |
| 130 bool texture_format_etc1; | 130 bool texture_format_etc1; |
| 131 bool texture_format_etc1_npot; | 131 bool texture_format_etc1_npot; |
| 132 bool texture_rectangle; | 132 bool texture_rectangle; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 // work around this. See https://crbug.com/449150 for an example. | 164 // work around this. See https://crbug.com/449150 for an example. |
| 165 bool emulate_rgb_buffer_with_rgba; | 165 bool emulate_rgb_buffer_with_rgba; |
| 166 | 166 |
| 167 int major_version; | 167 int major_version; |
| 168 int minor_version; | 168 int minor_version; |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 } // namespace gpu | 171 } // namespace gpu |
| 172 | 172 |
| 173 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 173 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
| OLD | NEW |