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

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

Issue 2743663006: Allow switching DirectCompositionSurfaceWin between drawing modes. (Closed)
Patch Set: rebase Created 3 years, 9 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 bool occlusion_query = false; 147 bool occlusion_query = false;
148 bool occlusion_query_boolean = false; 148 bool occlusion_query_boolean = false;
149 bool timer_queries = false; 149 bool timer_queries = false;
150 bool surfaceless = false; 150 bool surfaceless = false;
151 bool flips_vertically = false; 151 bool flips_vertically = false;
152 bool msaa_is_slow = false; 152 bool msaa_is_slow = false;
153 bool disable_one_component_textures = false; 153 bool disable_one_component_textures = false;
154 bool disable_multisampling_color_mask_usage = false; 154 bool disable_multisampling_color_mask_usage = false;
155 bool disable_webgl_rgb_multisampling_usage = false; 155 bool disable_webgl_rgb_multisampling_usage = false;
156 bool gpu_rasterization = false; 156 bool gpu_rasterization = false;
157 bool set_draw_rectangle = false; 157 // True if DirectComposition layers are enabled.
158 bool dc_layers = false;
158 159
159 // When this parameter is true, a CHROMIUM image created with RGB format will 160 // When this parameter is true, a CHROMIUM image created with RGB format will
160 // actually have RGBA format. The client is responsible for handling most of 161 // actually have RGBA format. The client is responsible for handling most of
161 // the complexities associated with this. See 162 // the complexities associated with this. See
162 // gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt for more 163 // gpu/GLES2/extensions/CHROMIUM/CHROMIUM_image.txt for more
163 // details. 164 // details.
164 bool chromium_image_rgb_emulation = false; 165 bool chromium_image_rgb_emulation = false;
165 166
166 // When true, RGB framebuffer formats are unsupported. Emulate with RGBA to 167 // When true, RGB framebuffer formats are unsupported. Emulate with RGBA to
167 // work around this. See https://crbug.com/449150 for an example. 168 // work around this. See https://crbug.com/449150 for an example.
168 bool emulate_rgb_buffer_with_rgba = false; 169 bool emulate_rgb_buffer_with_rgba = false;
169 170
170 int major_version = 2; 171 int major_version = 2;
171 int minor_version = 0; 172 int minor_version = 0;
172 }; 173 };
173 174
174 } // namespace gpu 175 } // namespace gpu
175 176
176 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ 177 #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/gles2_cmd_format_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698