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

Unified Diff: cc/quads/tile_draw_quad.h

Issue 1131253003: cc: Add support for non-2D texture targets to YUVVideoQuad. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/jamesr/sky/ Created 5 years, 7 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/yuv_video_draw_quad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/tile_draw_quad.h
diff --git a/cc/quads/tile_draw_quad.h b/cc/quads/tile_draw_quad.h
index d7ef20a625a6848e6340623d2afbfa19354d9eac..b858e148d2346f518ebbd840dd3010e9615c4ca4 100644
--- a/cc/quads/tile_draw_quad.h
+++ b/cc/quads/tile_draw_quad.h
@@ -19,6 +19,9 @@ class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase {
const gfx::Rect& opaque_rect,
const gfx::Rect& visible_rect,
unsigned resource_id,
+ // |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& tex_coord_rect,
const gfx::Size& texture_size,
bool swizzle_contents,
@@ -30,6 +33,9 @@ class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase {
const gfx::Rect& visible_rect,
bool needs_blending,
unsigned resource_id,
+ // |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& tex_coord_rect,
const gfx::Size& texture_size,
bool swizzle_contents,
« no previous file with comments | « cc/quads/draw_quad_unittest.cc ('k') | cc/quads/yuv_video_draw_quad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698