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

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

Issue 2881553002: Add |texture_target_| and |pixel_format_| to media::PictureBuffer (Closed)
Patch Set: addressed review comments 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..2267d00aea7d80948ce972aaf08ee7392ea3be12 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 */
+ std::vector<uint32_t>, /* Texture target */
liberato (no reviews please) 2017/05/12 21:26:42 i don't think that target, format, size need to be
Chandan 2017/05/16 14:29:30 Right. Done.
+ std::vector<media::VideoPixelFormat> /*Picture buffer format*/,
+ std::vector<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