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

Unified Diff: ui/gfx/mojo/buffer_types.mojom

Issue 2801683002: gfx: introduce GpuMemoryBufferAttrib to communicate format modifiers
Patch Set: purge enum BufferFormatModifier and use uint64_t modifiers Created 3 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
« no previous file with comments | « ui/gfx/ipc/gfx_param_traits_macros.h ('k') | ui/gfx/mojo/buffer_types.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/buffer_types.mojom
diff --git a/ui/gfx/mojo/buffer_types.mojom b/ui/gfx/mojo/buffer_types.mojom
index 2903cffab05f2f6499302dfe68a7f6a8c096633e..512887f4aa20d4957c55e7d0b74bc4d2fe16c017 100644
--- a/ui/gfx/mojo/buffer_types.mojom
+++ b/ui/gfx/mojo/buffer_types.mojom
@@ -78,3 +78,9 @@ struct GpuMemoryBufferHandle {
NativePixmapHandle? native_pixmap_handle;
handle? mach_port;
};
+
+// gfx::GpuMemoryBufferAttrib
+struct GpuMemoryBufferAttrib {
+ BufferFormat format;
+ uint64 modifier;
+};
« no previous file with comments | « ui/gfx/ipc/gfx_param_traits_macros.h ('k') | ui/gfx/mojo/buffer_types.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698