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

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: minor cleanup Created 7 years, 5 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 0a0ebf4777768ee8f2a7cfdda0416b03aaa9bf9d..287e61fa820709e0e305275a654a14081d26d231 100644
--- a/webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h
+++ b/webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h
@@ -41,6 +41,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
enne (OOO) 2013/07/10 17:52:13 I agree with piman's previous comment. You don't
alokp 2013/07/10 19:06:20 Done.
+ 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