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

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

Issue 2639293002: gpu: Add ARB_occlusion_query support. (Closed)
Patch Set: add unit test Created 3 years, 11 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
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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 bool discard_framebuffer; 135 bool discard_framebuffer;
136 bool sync_query; 136 bool sync_query;
137 bool future_sync_points; 137 bool future_sync_points;
138 bool blend_equation_advanced; 138 bool blend_equation_advanced;
139 bool blend_equation_advanced_coherent; 139 bool blend_equation_advanced_coherent;
140 bool texture_rg; 140 bool texture_rg;
141 bool texture_half_float_linear; 141 bool texture_half_float_linear;
142 bool image_ycbcr_422; 142 bool image_ycbcr_422;
143 bool image_ycbcr_420v; 143 bool image_ycbcr_420v;
144 bool render_buffer_format_bgra8888; 144 bool render_buffer_format_bgra8888;
145 bool occlusion_query;
145 bool occlusion_query_boolean; 146 bool occlusion_query_boolean;
146 bool timer_queries; 147 bool timer_queries;
147 bool surfaceless; 148 bool surfaceless;
148 bool flips_vertically; 149 bool flips_vertically;
149 bool msaa_is_slow; 150 bool msaa_is_slow;
150 bool disable_one_component_textures; 151 bool disable_one_component_textures;
151 bool disable_multisampling_color_mask_usage; 152 bool disable_multisampling_color_mask_usage;
152 bool disable_webgl_rgb_multisampling_usage; 153 bool disable_webgl_rgb_multisampling_usage;
153 154
154 // When this parameter is true, a CHROMIUM image created with RGB format will 155 // When this parameter is true, a CHROMIUM image created with RGB format will
155 // actually have RGBA format. The client is responsible for handling most of 156 // actually have RGBA format. The client is responsible for handling most of
156 // the complexities associated with this. See 157 // the complexities associated with this. See
157 // gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt for more 158 // gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt for more
158 // details. 159 // details.
159 bool chromium_image_rgb_emulation; 160 bool chromium_image_rgb_emulation;
160 161
161 // When true, RGB framebuffer formats are unsupported. Emulate with RGBA to 162 // When true, RGB framebuffer formats are unsupported. Emulate with RGBA to
162 // work around this. See https://crbug.com/449150 for an example. 163 // work around this. See https://crbug.com/449150 for an example.
163 bool emulate_rgb_buffer_with_rgba; 164 bool emulate_rgb_buffer_with_rgba;
164 165
165 int major_version; 166 int major_version;
166 int minor_version; 167 int minor_version;
167 }; 168 };
168 169
169 } // namespace gpu 170 } // namespace gpu
170 171
171 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ 172 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation.cc ('k') | gpu/command_buffer/common/capabilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698