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

Unified Diff: cc/layer_tree_impl.cc

Issue 11639050: cc: Support mask layers in impl-side painting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « cc/layer_tree_impl.h ('k') | cc/picture_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_impl.cc
diff --git a/cc/layer_tree_impl.cc b/cc/layer_tree_impl.cc
index 949cf84769e153cf8a8a7e90a0788041f2688817..5abe6e4656dea98f452d71ede8b92c978f6e2c12 100644
--- a/cc/layer_tree_impl.cc
+++ b/cc/layer_tree_impl.cc
@@ -126,7 +126,7 @@ void LayerTreeImpl::UpdateDrawProperties() {
device_viewport_size(),
device_scale_factor(),
pinch_zoom_viewport().pageScaleFactor(),
- layer_tree_host_impl_->rendererCapabilities().maxTextureSize,
+ MaxTextureSize(),
settings().canUseLCDText,
render_surface_layer_list_);
}
@@ -217,6 +217,10 @@ LayerImpl* LayerTreeImpl::FindPendingTreeLayerById(int id) {
return tree->LayerById(id);
}
+int LayerTreeImpl::MaxTextureSize() const {
+ return layer_tree_host_impl_->rendererCapabilities().maxTextureSize;
+}
+
void LayerTreeImpl::SetNeedsRedraw() {
layer_tree_host_impl_->setNeedsRedraw();
}
« no previous file with comments | « cc/layer_tree_impl.h ('k') | cc/picture_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698