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

Unified Diff: ui/gfx/ipc/gfx_param_traits_macros.h

Issue 2039813002: Add format modifier IDs for EGL_EXT_image_dma_buf_import extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add format modifier IDs for EGL_EXT_image_dma_buf_import extension Created 4 years, 6 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: ui/gfx/ipc/gfx_param_traits_macros.h
diff --git a/ui/gfx/ipc/gfx_param_traits_macros.h b/ui/gfx/ipc/gfx_param_traits_macros.h
index e44c60e827f39a3b32c46cd27ec07b067c088c93..29022cf79879d026eee2bde573b36a23f5c429a6 100644
--- a/ui/gfx/ipc/gfx_param_traits_macros.h
+++ b/ui/gfx/ipc/gfx_param_traits_macros.h
@@ -51,9 +51,15 @@ IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferId)
IPC_STRUCT_TRAITS_END()
#if defined(USE_OZONE)
+IPC_STRUCT_TRAITS_BEGIN(gfx::GbmBufferPlane)
+ IPC_STRUCT_TRAITS_MEMBER(stride)
+ IPC_STRUCT_TRAITS_MEMBER(offset)
+ IPC_STRUCT_TRAITS_MEMBER(modifier)
+IPC_STRUCT_TRAITS_END()
+
IPC_STRUCT_TRAITS_BEGIN(gfx::NativePixmapHandle)
IPC_STRUCT_TRAITS_MEMBER(fds)
- IPC_STRUCT_TRAITS_MEMBER(strides_and_offsets)
+ IPC_STRUCT_TRAITS_MEMBER(planes)
Daniele Castagna 2016/06/15 03:50:20 This change will require a security review, you ca
vinceh 2016/06/15 04:35:18 Added Tom. But he is OOO, do we have other reviewe
IPC_STRUCT_TRAITS_END()
#endif

Powered by Google App Engine
This is Rietveld 408576698