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

Unified Diff: cc/blink/web_content_layer_impl.cc

Issue 2175553002: Raster PictureLayerTiling with fractional translation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: combined Created 3 years, 9 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 | « cc/blink/web_content_layer_impl.h ('k') | cc/layers/picture_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_content_layer_impl.cc
diff --git a/cc/blink/web_content_layer_impl.cc b/cc/blink/web_content_layer_impl.cc
index 1fc07ddba3fd904bd7449a5efab5264c59c6788d..98badaf133619d2dcc094a429c8e49929f7dff4e 100644
--- a/cc/blink/web_content_layer_impl.cc
+++ b/cc/blink/web_content_layer_impl.cc
@@ -59,6 +59,11 @@ blink::WebLayer* WebContentLayerImpl::layer() {
return layer_.get();
}
+void WebContentLayerImpl::setAllowTransformedRasterization(bool allowed) {
+ static_cast<PictureLayer*>(layer_->layer())
+ ->SetAllowTransformedRasterization(allowed);
+}
+
gfx::Rect WebContentLayerImpl::PaintableRegion() {
return client_->paintableRegion();
}
« no previous file with comments | « cc/blink/web_content_layer_impl.h ('k') | cc/layers/picture_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698