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

Unified Diff: content/common/gpu/gpu_messages.h

Issue 1417853006: gpu: introduce glSetStreamTextureSizeCHROMIUM(GLuint texture, GLint stream_id, GLsizei width, GLsiz… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android_webview.test failure Created 5 years, 1 month 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 cc04a7d5534e953eeac603254be4418ea75fd090..c4e1440de439aa0b900b70e2162647bd398b63db 100644
--- a/content/common/gpu/gpu_messages.h
+++ b/content/common/gpu/gpu_messages.h
@@ -505,11 +505,6 @@ IPC_MESSAGE_ROUTED2(GpuStreamTextureMsg_EstablishPeer,
int32, /* primary_id */
int32 /* secondary_id */)
-// Tells the GPU process to set the size of StreamTexture from the given
-// stream Id.
-IPC_MESSAGE_ROUTED1(GpuStreamTextureMsg_SetSize,
- gfx::Size /* size */)
-
// Tells the service-side instance to start sending frame available
// notifications.
IPC_MESSAGE_ROUTED0(GpuStreamTextureMsg_StartListening)
@@ -670,6 +665,13 @@ IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture,
int32, /* stream_id */
bool /* succeeded */)
+// Set the StreamTexture size for the given |stream_id|.
+IPC_MESSAGE_ROUTED4(GpuCommandBufferMsg_SetStreamTextureSize,
+ uint32, /* client_texture_id */
+ int32, /* stream_id */
+ size_t, /* width */
+ size_t /* height */)
+
//------------------------------------------------------------------------------
// Accelerated Video Decoder Messages
// These messages are sent from Renderer process to GPU process.

Powered by Google App Engine
This is Rietveld 408576698