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

Unified Diff: media/gpu/ipc/common/media_messages.h

Issue 2881553002: Add |texture_target_| and |pixel_format_| to media::PictureBuffer (Closed)
Patch Set: Add |texture_target_| and |pixel_format_| to media::PictureBuffer Created 3 years, 7 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: media/gpu/ipc/common/media_messages.h
diff --git a/media/gpu/ipc/common/media_messages.h b/media/gpu/ipc/common/media_messages.h
index 757e2d9fec04a965657f35befc57289b1d80ec01..d39704c8615de3e8fbced6a7000882f78bcc54a9 100644
--- a/media/gpu/ipc/common/media_messages.h
+++ b/media/gpu/ipc/common/media_messages.h
@@ -76,10 +76,13 @@ IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_SetCdm, int32_t /* CDM ID */)
IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderMsg_Decode, media::BitstreamBuffer)
// Give the texture IDs for the textures the decoder will use for output.
-IPC_MESSAGE_ROUTED2(
+IPC_MESSAGE_ROUTED5(
AcceleratedVideoDecoderMsg_AssignPictureBuffers,
std::vector<int32_t>, /* Picture buffer ID */
- std::vector<media::PictureBuffer::TextureIds>) /* Texture ID */
+ std::vector<media::PictureBuffer::TextureIds>, /* Texture ID */
+ uint32_t, /* Texture target */
+ media::VideoPixelFormat, /* Picture buffer format*/
+ gfx::Size) /* Picture buffer size */
// Send from Renderer process to the GPU process to recycle the given picture
// buffer for further decoding.

Powered by Google App Engine
This is Rietveld 408576698