| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 int max_varying_components; | 108 int max_varying_components; |
| 109 int max_vertex_output_components; | 109 int max_vertex_output_components; |
| 110 int max_vertex_uniform_blocks; | 110 int max_vertex_uniform_blocks; |
| 111 int max_vertex_uniform_components; | 111 int max_vertex_uniform_components; |
| 112 int min_program_texel_offset; | 112 int min_program_texel_offset; |
| 113 int num_extensions; | 113 int num_extensions; |
| 114 int num_program_binary_formats; | 114 int num_program_binary_formats; |
| 115 int uniform_buffer_offset_alignment; | 115 int uniform_buffer_offset_alignment; |
| 116 | 116 |
| 117 bool post_sub_buffer; | 117 bool post_sub_buffer; |
| 118 bool swap_buffers_with_damage; |
| 118 bool commit_overlay_planes; | 119 bool commit_overlay_planes; |
| 119 bool egl_image_external; | 120 bool egl_image_external; |
| 120 bool texture_format_astc; | 121 bool texture_format_astc; |
| 121 bool texture_format_atc; | 122 bool texture_format_atc; |
| 122 bool texture_format_bgra8888; | 123 bool texture_format_bgra8888; |
| 123 bool texture_format_dxt1; | 124 bool texture_format_dxt1; |
| 124 bool texture_format_dxt5; | 125 bool texture_format_dxt5; |
| 125 bool texture_format_etc1; | 126 bool texture_format_etc1; |
| 126 bool texture_format_etc1_npot; | 127 bool texture_format_etc1_npot; |
| 127 bool texture_rectangle; | 128 bool texture_rectangle; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 158 // work around this. See https://crbug.com/449150 for an example. | 159 // work around this. See https://crbug.com/449150 for an example. |
| 159 bool emulate_rgb_buffer_with_rgba; | 160 bool emulate_rgb_buffer_with_rgba; |
| 160 | 161 |
| 161 int major_version; | 162 int major_version; |
| 162 int minor_version; | 163 int minor_version; |
| 163 }; | 164 }; |
| 164 | 165 |
| 165 } // namespace gpu | 166 } // namespace gpu |
| 166 | 167 |
| 167 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ | 168 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ |
| OLD | NEW |