Index: cc/texture_layer_impl.h |
diff --git a/cc/texture_layer_impl.h b/cc/texture_layer_impl.h |
index 30262dacf0124cb884b097dae4d74b59ad09871c..47e9ca5686364fc635dbf8125c93cac023ff29b5 100644 |
--- a/cc/texture_layer_impl.h |
+++ b/cc/texture_layer_impl.h |
@@ -32,6 +32,11 @@ public: |
void setFlipped(bool flipped) { m_flipped = flipped; } |
void setUVRect(const gfx::RectF& rect) { m_uvRect = rect; } |
+ // 1--2 |
+ // | | |
+ // 0--3 |
+ void setVertexOpacity(const float vertexOpacity[4]); |
+ |
private: |
TextureLayerImpl(LayerTreeImpl* treeImpl, int id); |
@@ -42,6 +47,7 @@ private: |
bool m_premultipliedAlpha; |
bool m_flipped; |
gfx::RectF m_uvRect; |
+ float m_vertexOpacity[4]; |
}; |
} |