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

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

Issue 2646243002: Use IDCompositionSurface to implement DirectCompositionSurfaceWin. (Closed)
Patch Set: more changes Created 3 years, 10 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_boolean; 145 bool occlusion_query_boolean;
146 bool timer_queries; 146 bool timer_queries;
147 bool surfaceless; 147 bool surfaceless;
148 bool flips_vertically; 148 bool flips_vertically;
149 bool msaa_is_slow; 149 bool msaa_is_slow;
150 bool disable_one_component_textures; 150 bool disable_one_component_textures;
151 bool disable_multisampling_color_mask_usage; 151 bool disable_multisampling_color_mask_usage;
152 bool disable_webgl_rgb_multisampling_usage; 152 bool disable_webgl_rgb_multisampling_usage;
153 bool set_draw_rectangle;
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

Powered by Google App Engine
This is Rietveld 408576698