Index: cc/resources/video_resource_updater.h |
diff --git a/cc/resources/video_resource_updater.h b/cc/resources/video_resource_updater.h |
index a5c063dd7681dad8dc4b8839575a5a810351f1d4..218c90a32a8227b6730e52551752dcbfedd2d1d7 100644 |
--- a/cc/resources/video_resource_updater.h |
+++ b/cc/resources/video_resource_updater.h |
@@ -136,6 +136,10 @@ class CC_EXPORT VideoResourceUpdater |
// This needs to be a container where iterators can be erased without |
// invalidating other iterators. |
typedef std::list<PlaneResource> ResourceList; |
+ ResourceList::iterator RecycleOrAllocateTexture( |
+ const gfx::Size& resource_size, |
+ ResourceFormat resource_format, |
+ bool immutable_hint); |
ResourceList::iterator AllocateResource(const gfx::Size& plane_size, |
ResourceFormat format, |
const gfx::ColorSpace& color_space, |
@@ -147,6 +151,8 @@ class CC_EXPORT VideoResourceUpdater |
VideoFrameExternalResources* external_resources); |
VideoFrameExternalResources CreateForHardwarePlanes( |
scoped_refptr<media::VideoFrame> video_frame); |
+ VideoFrameExternalResources CreateRGBTextureForSoftwarePlanes( |
+ media::VideoFrame* video_frame); |
VideoFrameExternalResources CreateForSoftwarePlanes( |
scoped_refptr<media::VideoFrame> video_frame); |