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

Unified Diff: cc/texture_draw_quad.h

Issue 11570027: Adding support for per vertex opacity on textured layer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years 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/test/render_pass_test_common.cc ('k') | cc/texture_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture_draw_quad.h
diff --git a/cc/texture_draw_quad.h b/cc/texture_draw_quad.h
index 6ae0e57a89cdae709e0cce78095e6a3043d04571..8a420fdf0fe047a3c0e93fff5b381e06da51d9dc 100644
--- a/cc/texture_draw_quad.h
+++ b/cc/texture_draw_quad.h
@@ -22,6 +22,7 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad {
unsigned resource_id,
bool premultiplied_alpha,
const gfx::RectF& uv_rect,
+ const float vertex_opacity[4],
bool flipped);
void SetAll(const SharedQuadState* shared_quad_state,
@@ -32,11 +33,13 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad {
unsigned resource_id,
bool premultiplied_alpha,
const gfx::RectF& uv_rect,
+ const float vertex_opacity[4],
bool flipped);
unsigned resource_id;
bool premultiplied_alpha;
gfx::RectF uv_rect;
+ float vertex_opacity[4];
bool flipped;
static const TextureDrawQuad* MaterialCast(const DrawQuad*);
« no previous file with comments | « cc/test/render_pass_test_common.cc ('k') | cc/texture_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698