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

Unified Diff: cc/quads/yuv_video_draw_quad.h

Issue 13445009: cc: Move video upload to VideoResourceUpdater. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: consume textures that were produced Created 7 years, 8 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/stream_video_draw_quad.cc ('k') | cc/quads/yuv_video_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/yuv_video_draw_quad.h
diff --git a/cc/quads/yuv_video_draw_quad.h b/cc/quads/yuv_video_draw_quad.h
index 8885a5a97aebad6997aa6292e7106ec61d35c82e..9d54227369381dd196647d0891927e0d18e8d5c9 100644
--- a/cc/quads/yuv_video_draw_quad.h
+++ b/cc/quads/yuv_video_draw_quad.h
@@ -23,9 +23,9 @@ class CC_EXPORT YUVVideoDrawQuad : public DrawQuad {
gfx::Rect rect,
gfx::Rect opaque_rect,
gfx::SizeF tex_scale,
- const VideoLayerImpl::FramePlane& y_plane,
- const VideoLayerImpl::FramePlane& u_plane,
- const VideoLayerImpl::FramePlane& v_plane);
+ unsigned y_plane_resource_id,
+ unsigned u_plane_resource_id,
+ unsigned v_plane_resource_id);
void SetAll(const SharedQuadState* shared_quad_state,
gfx::Rect rect,
@@ -33,14 +33,14 @@ class CC_EXPORT YUVVideoDrawQuad : public DrawQuad {
gfx::Rect visible_rect,
bool needs_blending,
gfx::SizeF tex_scale,
- const VideoLayerImpl::FramePlane& y_plane,
- const VideoLayerImpl::FramePlane& u_plane,
- const VideoLayerImpl::FramePlane& v_plane);
+ unsigned y_plane_resource_id,
+ unsigned u_plane_resource_id,
+ unsigned v_plane_resource_id);
gfx::SizeF tex_scale;
- VideoLayerImpl::FramePlane y_plane;
- VideoLayerImpl::FramePlane u_plane;
- VideoLayerImpl::FramePlane v_plane;
+ unsigned y_plane_resource_id;
+ unsigned u_plane_resource_id;
+ unsigned v_plane_resource_id;
virtual void IterateResources(const ResourceIteratorCallback& callback)
OVERRIDE;
« no previous file with comments | « cc/quads/stream_video_draw_quad.cc ('k') | cc/quads/yuv_video_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698