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

Unified Diff: content/common/child_process_messages.h

Issue 177953004: Enable SurfaceTexture based zero-copy texture uploading on Android platform Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: content/common/child_process_messages.h
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h
index 5700c4884b31de9a862a89a3a885612f7e5ba3d2..86b951857b253f316f22c336a567c206ee46998b 100644
--- a/content/common/child_process_messages.h
+++ b/content/common/child_process_messages.h
@@ -62,6 +62,11 @@ IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType,
IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle)
IPC_STRUCT_TRAITS_MEMBER(type)
IPC_STRUCT_TRAITS_MEMBER(handle)
+#if defined(OS_ANDROID)
+ IPC_STRUCT_TRAITS_MEMBER(native_buffer)
+ IPC_STRUCT_TRAITS_MEMBER(texture_id)
+ IPC_STRUCT_TRAITS_MEMBER(surface_texture_handle)
+#endif
#if defined(OS_MACOSX)
IPC_STRUCT_TRAITS_MEMBER(io_surface_id)
#endif

Powered by Google App Engine
This is Rietveld 408576698