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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 290573007: cc: Move gpu rasterization flag from tree-impl to tree-host-impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated unittests Created 6 years, 7 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: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index 5b740c387c6be5eac3cae33038e124ea2567ea5c..90a6627ebc659b6a5ce0828e65be85972775a43a 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -88,6 +88,7 @@ class CC_EXPORT LayerTreeImpl {
scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController(
LayerImpl* scrolling_layer);
void DidAnimateScrollOffset();
+ bool use_gpu_rasterization() const;
// Tree specific methods exposed to layer-impl tree.
// ---------------------------------------------------------------------------
@@ -164,9 +165,6 @@ class CC_EXPORT LayerTreeImpl {
}
float sent_page_scale_delta() const { return sent_page_scale_delta_; }
- void SetUseGpuRasterization(bool use_gpu);
- bool use_gpu_rasterization() const { return use_gpu_rasterization_; }
-
// Updates draw properties and render surface layer list, as well as tile
// priorities.
void UpdateDrawProperties();

Powered by Google App Engine
This is Rietveld 408576698