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

Unified Diff: cc/texture_layer_impl.h

Issue 11567034: Changes subtreeShouldRenderToSeparateSurface logic to account for explicit clipping (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-adding a previously removed check of the transforms between a layer and its child Created 8 years 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
« cc/layer_tree_host_common.cc ('K') | « cc/texture_layer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture_layer_impl.h
diff --git a/cc/texture_layer_impl.h b/cc/texture_layer_impl.h
index 30262dacf0124cb884b097dae4d74b59ad09871c..58ae4cfa4a4545bde21a6fac0e5441115e07bf3e 100644
--- a/cc/texture_layer_impl.h
+++ b/cc/texture_layer_impl.h
@@ -32,6 +32,8 @@ public:
void setFlipped(bool flipped) { m_flipped = flipped; }
void setUVRect(const gfx::RectF& rect) { m_uvRect = rect; }
+ bool CanClipSelf() const OVERRIDE { return true; }
+
private:
TextureLayerImpl(LayerTreeImpl* treeImpl, int id);
« cc/layer_tree_host_common.cc ('K') | « cc/texture_layer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698