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

Unified Diff: cc/resources/video_resource_updater.h

Issue 2683763003: cc: make resource keep video buffer format for hardware overlay.
Patch Set: make Resource keep video buffer format Created 3 years, 9 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: cc/resources/video_resource_updater.h
diff --git a/cc/resources/video_resource_updater.h b/cc/resources/video_resource_updater.h
index 603b4a35d093cb7f526c64a5d4b9e2162accb173..360c24bb429ceaf8e91674ab4dbc7ba223325818 100644
--- a/cc/resources/video_resource_updater.h
+++ b/cc/resources/video_resource_updater.h
@@ -20,6 +20,7 @@
#include "cc/resources/release_callback_impl.h"
#include "cc/resources/resource_format.h"
#include "cc/resources/texture_mailbox.h"
+#include "media/base/video_types.h"
#include "ui/gfx/geometry/size.h"
namespace media {
@@ -49,6 +50,7 @@ class CC_EXPORT VideoFrameExternalResources {
};
ResourceType type;
+ media::VideoPixelFormat pixel_format;
std::vector<TextureMailbox> mailboxes;
std::vector<ReleaseCallbackImpl> release_callbacks;
bool read_lock_fences_enabled;

Powered by Google App Engine
This is Rietveld 408576698