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

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

Issue 1870483003: Add command buffer support for GL_RGB CHROMIUM image emulation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing braces. Created 4 years, 8 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 bool texture_half_float_linear; 138 bool texture_half_float_linear;
139 bool image_ycbcr_422; 139 bool image_ycbcr_422;
140 bool image_ycbcr_420v; 140 bool image_ycbcr_420v;
141 bool render_buffer_format_bgra8888; 141 bool render_buffer_format_bgra8888;
142 bool occlusion_query_boolean; 142 bool occlusion_query_boolean;
143 bool timer_queries; 143 bool timer_queries;
144 bool surfaceless; 144 bool surfaceless;
145 bool flips_vertically; 145 bool flips_vertically;
146 bool msaa_is_slow; 146 bool msaa_is_slow;
147 147
148 // When this parameter is true, a CHROMIUM image created with RGB format will
149 // actually have RGBA format. The client is responsible for handling most of
150 // the complexities associated with this. See
151 // gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt for more
152 // details.
153 bool chromium_image_rgb_emulation;
154
148 int major_version; 155 int major_version;
149 int minor_version; 156 int minor_version;
150 }; 157 };
151 158
152 } // namespace gpu 159 } // namespace gpu
153 160
154 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_ 161 #endif // GPU_COMMAND_BUFFER_COMMON_CAPABILITIES_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt ('k') | gpu/command_buffer/service/framebuffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698