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 03276eb0c890d02405a3fa9258f782d9fd420d6c..deeca2c1cbce07d9b764d52f48c1001e01b7b778 100644 |
--- a/cc/quads/yuv_video_draw_quad.h |
+++ b/cc/quads/yuv_video_draw_quad.h |
@@ -29,7 +29,11 @@ class CC_EXPORT YUVVideoDrawQuad : public DrawQuad { |
const gfx::Rect& rect, |
const gfx::Rect& opaque_rect, |
const gfx::Rect& visible_rect, |
- const gfx::RectF& tex_coord_rect, |
+ // |*_tex_coord_rect| contains non-normalized coordinates. |
+ // TODO(reveman): Make the use of normalized vs non-normalized |
+ // coordinates consistent across all quad types: crbug.com/487370 |
+ const gfx::RectF& ya_tex_coord_rect, |
+ const gfx::RectF& uv_tex_coord_rect, |
const gfx::Size& ya_tex_size, |
const gfx::Size& uv_tex_size, |
unsigned y_plane_resource_id, |
@@ -43,7 +47,11 @@ class CC_EXPORT YUVVideoDrawQuad : public DrawQuad { |
const gfx::Rect& opaque_rect, |
const gfx::Rect& visible_rect, |
bool needs_blending, |
- const gfx::RectF& tex_coord_rect, |
+ // |*_tex_coord_rect| contains non-normalized coordinates. |
+ // TODO(reveman): Make the use of normalized vs non-normalized |
+ // coordinates consistent across all quad types: crbug.com/487370 |
+ const gfx::RectF& ya_tex_coord_rect, |
+ const gfx::RectF& uv_tex_coord_rect, |
const gfx::Size& ya_tex_size, |
const gfx::Size& uv_tex_size, |
unsigned y_plane_resource_id, |
@@ -52,8 +60,8 @@ class CC_EXPORT YUVVideoDrawQuad : public DrawQuad { |
unsigned a_plane_resource_id, |
ColorSpace color_space); |
- gfx::RectF tex_coord_rect; |
- // Empty texture size implies no clamping of texture coordinates. |
+ gfx::RectF ya_tex_coord_rect; |
+ gfx::RectF uv_tex_coord_rect; |
gfx::Size ya_tex_size; |
gfx::Size uv_tex_size; |
unsigned y_plane_resource_id; |