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

Unified Diff: content/common/gpu/gpu_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/gpu/gpu_messages.h
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h
index ea76b6de385e4f0ed5172cb37091d5e0425ab1d4..19ad93ed89d3d62eb9d8514bd1352821b5078781 100644
--- a/content/common/gpu/gpu_messages.h
+++ b/content/common/gpu/gpu_messages.h
@@ -651,6 +651,13 @@ IPC_SYNC_MESSAGE_ROUTED1_1(GpuCommandBufferMsg_CreateStreamTexture,
uint32, /* client_texture_id */
int32 /* stream_id */)
+// Create SurfaceTexture based on the client texture.
+IPC_SYNC_MESSAGE_ROUTED1_2(
+ GpuCommandBufferMsg_CreateSurfaceTexture,
+ uint32, /* GpuCommandBuffer handle which is valid in renderer process */
+ uint32, /* SurfaceTexture handle which is valid in GPU process */
+ uint32) /* texture id generated in the GPU Process */
+
//------------------------------------------------------------------------------
// Accelerated Video Decoder Messages
// These messages are sent from Renderer process to GPU process.

Powered by Google App Engine
This is Rietveld 408576698