Index: cc/trees/layer_tree_host_impl.h |
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
index 32c4fe9b50ecae61eb8ed17b1ee8ca75e21096fc..3780917a4812b84baaa310e5e99699f95deff012 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -483,6 +483,9 @@ class CC_EXPORT LayerTreeHostImpl |
void ResetRequiresHighResToDraw() { requires_high_res_to_draw_ = false; } |
bool RequiresHighResToDraw() const { return requires_high_res_to_draw_; } |
+ bool CanUseZeroCopyRasterizer() const; |
+ bool CanUseOneCopyRasterizer() const; |
+ |
protected: |
LayerTreeHostImpl( |
const LayerTreeSettings& settings, |
@@ -497,9 +500,11 @@ class CC_EXPORT LayerTreeHostImpl |
// Virtual for testing. |
virtual void AnimateLayers(base::TimeTicks monotonic_time); |
- |
- // Virtual for testing. |
virtual base::TimeDelta LowFrequencyAnimationInterval() const; |
+ virtual void CreateResourceAndRasterWorkerPool( |
+ scoped_ptr<RasterWorkerPool>* raster_worker_pool, |
+ scoped_ptr<ResourcePool>* resource_pool, |
+ scoped_ptr<ResourcePool>* staging_resource_pool); |
const AnimationRegistrar::AnimationControllerMap& |
active_animation_controllers() const { |
@@ -519,8 +524,6 @@ class CC_EXPORT LayerTreeHostImpl |
void EnforceZeroBudget(bool zero_budget); |
bool UsePendingTreeForSync() const; |
- bool UseZeroCopyRasterizer() const; |
- bool UseOneCopyRasterizer() const; |
// Scroll by preferring to move the outer viewport first, only moving the |
// inner if the outer is at its scroll extents. |