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

Unified Diff: cc/quads/texture_draw_quad.h

Issue 1142343008: cc: Rework overlays to not use the ResourceProvider and pass texture size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: cc/quads/texture_draw_quad.h
diff --git a/cc/quads/texture_draw_quad.h b/cc/quads/texture_draw_quad.h
index 706414923686d321d9b2374ba9e7d6e917984dbc..1223c18c9306fb3c524e4d011ef55d984fbea579 100644
--- a/cc/quads/texture_draw_quad.h
+++ b/cc/quads/texture_draw_quad.h
@@ -44,6 +44,8 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad {
bool nearest_neighbor);
unsigned resource_id;
+ gfx::Size resource_size;
danakj 2015/05/29 20:04:14 _in_pixels?
achaulk 2015/06/01 15:43:10 Done.
+ bool allow_overlay;
danakj 2015/05/29 20:04:14 you'll need to add these to cc_messages
achaulk 2015/06/01 15:43:10 Done.
bool premultiplied_alpha;
gfx::PointF uv_top_left;
gfx::PointF uv_bottom_right;

Powered by Google App Engine
This is Rietveld 408576698