From e93a22a8d3b41aa7e4a009dedd94e1e5567a8f14 Mon Sep 17 00:00:00 2001 From: JerryShih Date: Fri, 19 May 2017 00:25:41 +0800 Subject: [PATCH] Bug 1364922 - Add a new op OpAddExternalVideoImage for multiple-channel video image. r=nical MozReview-Commit-ID: 3GV4qBfelr5 --- gfx/layers/ipc/WebRenderMessages.ipdlh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gfx/layers/ipc/WebRenderMessages.ipdlh b/gfx/layers/ipc/WebRenderMessages.ipdlh index 72384a6651a3..db48ad8f7d51 100644 --- a/gfx/layers/ipc/WebRenderMessages.ipdlh +++ b/gfx/layers/ipc/WebRenderMessages.ipdlh @@ -31,6 +31,11 @@ struct OpAddExternalImage { ImageKey key; }; +struct OpAddExternalVideoImage { + ExternalImageId externalImageId; + ImageKey[] keys; +}; + struct OpAddCompositorAnimations { CompositorAnimations data; OptionalTransform transform; @@ -39,6 +44,7 @@ struct OpAddCompositorAnimations { union WebRenderParentCommand { OpAddExternalImage; + OpAddExternalVideoImage; CompositableOperation; OpAddCompositorAnimations; };