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

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

Issue 10392141: Plumb texture target to VideoDecodeAccelerator::Client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: content/common/gpu/gpu_messages.h
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h
index 687b3ba1ecb62492802ab40a6e6bc66dc0e9fb3e..4a1f229985a8b5650cdcf4b8fb80303ccd239170 100644
--- a/content/common/gpu/gpu_messages.h
+++ b/content/common/gpu/gpu_messages.h
@@ -152,6 +152,7 @@ IPC_ENUM_TRAITS(gfx::GpuPreference)
IPC_ENUM_TRAITS(gpu::error::ContextLostReason)
IPC_ENUM_TRAITS(media::VideoCodecProfile)
+IPC_ENUM_TRAITS(media::VideoDecodeAccelerator::TextureTarget);
//------------------------------------------------------------------------------
// GPU Messages
@@ -501,9 +502,11 @@ IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_BitstreamBufferProcessed,
int32) /* Processed buffer ID */
// Allocate video frames for output of the hardware video decoder.
-IPC_MESSAGE_ROUTED2(AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers,
- int32, /* Number of video frames to generate */
- gfx::Size) /* Requested size of buffer */
+IPC_MESSAGE_ROUTED3(
+ AcceleratedVideoDecoderHostMsg_ProvidePictureBuffers,
+ int32, /* Number of video frames to generate */
+ gfx::Size, /* Requested size of buffer */
+ media::VideoDecodeAccelerator::TextureTarget) /* Texture target */
// Decoder reports that a picture is ready and buffer does not need to be passed
// back to the decoder.

Powered by Google App Engine
This is Rietveld 408576698