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

Unified Diff: cc/layers/picture_layer.cc

Issue 2811013002: Revert: cc: RenderSurfaceImpl tile mask layer. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | cc/layers/render_surface_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer.cc
diff --git a/cc/layers/picture_layer.cc b/cc/layers/picture_layer.cc
index 68e92f74f9ffacb7a84a055c46b21ab1b93980e1..6cacd6fca499d11388277351b805970c77e541e6 100644
--- a/cc/layers/picture_layer.cc
+++ b/cc/layers/picture_layer.cc
@@ -146,11 +146,6 @@ bool PictureLayer::Update() {
}
void PictureLayer::SetLayerMaskType(LayerMaskType mask_type) {
- // We do not allow converting SINGLE_TEXTURE_MASK to MULTI_TEXTURE_MASK in
- // order to avoid rerastering when a mask's transform is being animated.
- if (mask_type_ == LayerMaskType::SINGLE_TEXTURE_MASK &&
- mask_type == LayerMaskType::MULTI_TEXTURE_MASK)
- return;
mask_type_ = mask_type;
}
« no previous file with comments | « no previous file | cc/layers/render_surface_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698