| Index: cc/layers/texture_layer.h
|
| diff --git a/cc/layers/texture_layer.h b/cc/layers/texture_layer.h
|
| index e3132fd1c60384dd226cc39135d51ddfeb927ea4..8cdf484bb77ce453d21e2f0fedd8a52313edafa9 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 context_lost_;
|
| bool content_committed_;
|
|
|