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

Unified Diff: cc/quads/content_draw_quad_base.h

Issue 1380653003: Mac Overlays: Allow SolidColor and Tile quads to be candidates for overlays. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@AllOrNothing2
Patch Set: Plumb allow_overlay Created 5 years, 2 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/content_draw_quad_base.h
diff --git a/cc/quads/content_draw_quad_base.h b/cc/quads/content_draw_quad_base.h
index da8a472f008dc4d47638cdee0f682bc7b172eadc..f971fd66c8699290c987337309850b8d8d43efb3 100644
--- a/cc/quads/content_draw_quad_base.h
+++ b/cc/quads/content_draw_quad_base.h
@@ -27,7 +27,8 @@ class CC_EXPORT ContentDrawQuadBase : public DrawQuad {
const gfx::RectF& tex_coord_rect,
const gfx::Size& texture_size,
bool swizzle_contents,
- bool nearest_neighbor);
+ bool nearest_neighbor,
+ bool allow_overlay);
void SetAll(const SharedQuadState* shared_quad_state,
DrawQuad::Material material,
@@ -38,12 +39,14 @@ class CC_EXPORT ContentDrawQuadBase : public DrawQuad {
const gfx::RectF& tex_coord_rect,
const gfx::Size& texture_size,
bool swizzle_contents,
- bool nearest_neighbor);
+ bool nearest_neighbor,
+ bool allow_overlay);
gfx::RectF tex_coord_rect;
gfx::Size texture_size;
bool swizzle_contents;
bool nearest_neighbor;
+ bool allow_overlay;
protected:
ContentDrawQuadBase();

Powered by Google App Engine
This is Rietveld 408576698