Index: cc/layers/texture_layer.h |
diff --git a/cc/layers/texture_layer.h b/cc/layers/texture_layer.h |
index 928f05f991516a33d5796bb8b209654dddd6ebfd..d87a9d3fcf385727e9ac59866708b2d0bfee4a1f 100644 |
--- a/cc/layers/texture_layer.h |
+++ b/cc/layers/texture_layer.h |
@@ -57,6 +57,10 @@ class CC_EXPORT TextureLayer : public Layer { |
// Defaults to true. |
void SetPremultipliedAlpha(bool premultiplied_alpha); |
+ // Sets whether the texture should be blended with the background color |
+ // at draw time. Defaults to false. |
+ void SetBlendBackgroundColor(bool blend); |
+ |
// Sets whether this context should rate limit on damage to prevent too many |
// frames from being queued up before the compositor gets a chance to run. |
// Requires a non-nil client. Defaults to false. |
@@ -140,6 +144,7 @@ class CC_EXPORT TextureLayer : public Layer { |
// [bottom left, top left, top right, bottom right] |
float vertex_opacity_[4]; |
bool premultiplied_alpha_; |
+ bool blend_background_color_; |
bool rate_limit_context_; |
bool content_committed_; |