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

Unified Diff: webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h

Issue 18432002: Blend TextureLayer background-color at draw time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added TextureLayer unittest Created 7 years, 6 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
Index: webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h
diff --git a/webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h b/webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h
index dfe75a64b698fc3c9991568f28a70cbf97195100..201fe6b43cd3afd6359c1044063b40664464a318 100644
--- a/webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h
+++ b/webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h
@@ -39,6 +39,9 @@ class WebExternalTextureLayerImpl
virtual void setUVRect(const WebKit::WebFloatRect& uv_rect);
virtual void setOpaque(bool opaque);
virtual void setPremultipliedAlpha(bool premultiplied);
+#if WEB_EXTERNAL_TEXTURE_LAYER_HAS_BLEND_BACKGROUND_COLOR
+ virtual void setBlendBackgroundColor(bool blend);
+#endif // WEB_EXTERNAL_TEXTURE_LAYER_HAS_BLEND_BACKGROUND_COLOR
virtual void willModifyTexture();
virtual void setRateLimitContext(bool rate_limit);

Powered by Google App Engine
This is Rietveld 408576698