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

Unified Diff: cc/quads/texture_draw_quad.h

Issue 18432002: Blend TextureLayer background-color at draw time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolved conflicts with TOT Created 7 years, 5 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/texture_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/texture_draw_quad.h
diff --git a/cc/quads/texture_draw_quad.h b/cc/quads/texture_draw_quad.h
index 0b35568ac90307593a4eace5ebf1f9b0fbf528e1..3db10c64a9dc39be2465fcbb3511ac6261a84f51 100644
--- a/cc/quads/texture_draw_quad.h
+++ b/cc/quads/texture_draw_quad.h
@@ -23,6 +23,7 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad {
bool premultiplied_alpha,
gfx::PointF uv_top_left,
gfx::PointF uv_bottom_right,
+ SkColor background_color,
const float vertex_opacity[4],
bool flipped);
@@ -35,6 +36,7 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad {
bool premultiplied_alpha,
gfx::PointF uv_top_left,
gfx::PointF uv_bottom_right,
+ SkColor background_color,
const float vertex_opacity[4],
bool flipped);
@@ -42,6 +44,7 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad {
bool premultiplied_alpha;
gfx::PointF uv_top_left;
gfx::PointF uv_bottom_right;
+ SkColor background_color;
float vertex_opacity[4];
bool flipped;
« no previous file with comments | « cc/quads/draw_quad_unittest.cc ('k') | cc/quads/texture_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698