Index: cc/resources/video_resource_updater.h |
diff --git a/cc/resources/video_resource_updater.h b/cc/resources/video_resource_updater.h |
index 1307be9e5416a4507b9d383581bc96f40ff40e98..66d73e32144b2157efe503379f4d1793eca3a5e7 100644 |
--- a/cc/resources/video_resource_updater.h |
+++ b/cc/resources/video_resource_updater.h |
@@ -125,10 +125,16 @@ class CC_EXPORT VideoResourceUpdater |
bool has_mailbox, |
bool immutable_hint); |
void DeleteResource(ResourceList::iterator resource_it); |
+ ResourceList::iterator RecycleOrAllocateTexture( |
+ const gfx::Size& resource_size, |
+ ResourceFormat resource_format, |
+ bool immutable_hint); |
bool VerifyFrame(const scoped_refptr<media::VideoFrame>& video_frame); |
void CopyPlaneTexture(const scoped_refptr<media::VideoFrame>& video_frame, |
const gpu::MailboxHolder& mailbox_holder, |
VideoFrameExternalResources* external_resources); |
+ VideoFrameExternalResources CreateRGBTextureForSoftwarePlanes( |
+ const scoped_refptr<media::VideoFrame>& video_frame); |
VideoFrameExternalResources CreateForHardwarePlanes( |
const scoped_refptr<media::VideoFrame>& video_frame); |
VideoFrameExternalResources CreateForSoftwarePlanes( |