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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/common/capabilities.h
diff --git a/gpu/command_buffer/common/capabilities.h b/gpu/command_buffer/common/capabilities.h
index b01ccb8c91302316f4fc5eb2e0c7f6330542046b..f4bb19dc43ed26d9a925f2a72865f8d5312bc34e 100644
--- a/gpu/command_buffer/common/capabilities.h
+++ b/gpu/command_buffer/common/capabilities.h
@@ -145,6 +145,13 @@ struct GPU_EXPORT Capabilities {
bool flips_vertically;
bool msaa_is_slow;
+ // When this parameter is true, a CHROMIUM image created with RGB format will
+ // actually have RGBA format. The client is responsible for handling most of
+ // the complexities associated with this. See
+ // gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt for more
+ // details.
+ bool chromium_image_rgb_emulation;
+
int major_version;
int minor_version;
};
« 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