| Index: cc/resources/video_resource_updater.h
|
| diff --git a/cc/resources/video_resource_updater.h b/cc/resources/video_resource_updater.h
|
| index a42784c9b999ca948b2ed1f4ee32fb8e09f10cf5..cc41866de736f323d46d4c2e71c900c972a8383a 100644
|
| --- a/cc/resources/video_resource_updater.h
|
| +++ b/cc/resources/video_resource_updater.h
|
| @@ -49,6 +49,7 @@ class CC_EXPORT VideoFrameExternalResources {
|
| };
|
|
|
| ResourceType type;
|
| + ResourceFormat format;
|
| std::vector<TextureMailbox> mailboxes;
|
| std::vector<ReleaseCallbackImpl> release_callbacks;
|
| bool read_lock_fences_enabled;
|
| @@ -89,6 +90,11 @@ class CC_EXPORT VideoResourceUpdater
|
| size_t num,
|
| uint16_t* dst);
|
|
|
| + ResourceFormat YuvResourceFormat(int bits) const;
|
| + void UseRGForTesting(bool use_rg_for_testing) {
|
| + use_rg_for_testing_ = use_rg_for_testing;
|
| + }
|
| +
|
| private:
|
| class PlaneResource {
|
| public:
|
| @@ -190,6 +196,8 @@ class CC_EXPORT VideoResourceUpdater
|
| // data transfers.
|
| ResourceList all_resources_;
|
|
|
| + bool use_rg_for_testing_ = false;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(VideoResourceUpdater);
|
| };
|
|
|
|
|