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

Unified Diff: cc/quads/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: rebase Created 5 years, 6 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/output/overlay_unittest.cc ('k') | cc/quads/draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/draw_quad.h
diff --git a/cc/quads/draw_quad.h b/cc/quads/draw_quad.h
index 07bf1778e739d7e47e7ecf1a168f17f3f4b32772..850672987e744f356fed4c34203d279197d28300 100644
--- a/cc/quads/draw_quad.h
+++ b/cc/quads/draw_quad.h
@@ -125,6 +125,8 @@ class CC_EXPORT DrawQuad {
size_t count;
ResourceId ids[kMaxResourceIdCount];
+ gfx::Size size_in_pixels[kMaxResourceIdCount];
danakj 2015/06/05 18:13:26 I don't think we should put this on every quad whe
achaulk 2015/06/05 18:14:31 Ok
+ bool allow_overlay[kMaxResourceIdCount];
};
Resources resources;
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/quads/draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698