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

Unified Diff: cc/quads/stream_video_draw_quad.h

Issue 2684993005: (NotForReview) Enable YUV video overlay on Skylake ChromeOS.
Patch Set: rebase to ToT (Mar/27) 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
« no previous file with comments | « cc/quads/draw_quad_unittest.cc ('k') | cc/quads/stream_video_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/stream_video_draw_quad.h
diff --git a/cc/quads/stream_video_draw_quad.h b/cc/quads/stream_video_draw_quad.h
index 320194dd800b01b809e6fd0ba36eb2bece18678f..0e77e2ef11ea564131caf5d49b9e120a7c78c889 100644
--- a/cc/quads/stream_video_draw_quad.h
+++ b/cc/quads/stream_video_draw_quad.h
@@ -11,6 +11,7 @@
#include "cc/cc_export.h"
#include "cc/quads/draw_quad.h"
+#include "ui/gfx/buffer_types.h"
#include "ui/gfx/transform.h"
namespace cc {
@@ -27,6 +28,7 @@ class CC_EXPORT StreamVideoDrawQuad : public DrawQuad {
const gfx::Rect& visible_rect,
unsigned resource_id,
gfx::Size resource_size_in_pixels,
+ gfx::BufferFormat format,
const gfx::Transform& matrix);
void SetAll(const SharedQuadState* shared_quad_state,
@@ -36,8 +38,10 @@ class CC_EXPORT StreamVideoDrawQuad : public DrawQuad {
bool needs_blending,
unsigned resource_id,
gfx::Size resource_size_in_pixels,
+ gfx::BufferFormat format,
const gfx::Transform& matrix);
+ gfx::BufferFormat format = gfx::BufferFormat::RGBA_8888;
gfx::Transform matrix;
struct OverlayResources {
« no previous file with comments | « cc/quads/draw_quad_unittest.cc ('k') | cc/quads/stream_video_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698