Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: gpu/command_buffer/common/capabilities.h

Issue 2302393002: Support swap damage rect using eglSwapBuffersWithDamageKHR (Closed)
Patch Set: Update GLSurfaceAdapter Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/command_buffer/cmd_buffer_functions.txt ('k') | gpu/command_buffer/common/capabilities.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « gpu/command_buffer/cmd_buffer_functions.txt ('k') | gpu/command_buffer/common/capabilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698