| 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 5785ae13d95438203f35bb3cb9de1719ffd04f14..157fe00eb67013347d1840a7c9499e392b885fcf 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -485,6 +485,13 @@ class CC_EXPORT LayerTreeHostImpl
|
| // Only valid for synchronous (non-scheduled) single-threaded case.
|
| void SynchronouslyInitializeAllTiles();
|
|
|
| + bool CanUseZeroCopyRasterizer() const;
|
| + bool CanUseOneCopyRasterizer() const;
|
| + virtual void CreateResourceAndRasterWorkerPool(
|
| + scoped_ptr<RasterWorkerPool>* raster_worker_pool,
|
| + scoped_ptr<ResourcePool>* resource_pool,
|
| + scoped_ptr<ResourcePool>* staging_resource_pool);
|
| +
|
| protected:
|
| LayerTreeHostImpl(
|
| const LayerTreeSettings& settings,
|
| @@ -499,8 +506,6 @@ class CC_EXPORT LayerTreeHostImpl
|
|
|
| // Virtual for testing.
|
| virtual void AnimateLayers(base::TimeTicks monotonic_time);
|
| -
|
| - // Virtual for testing.
|
| virtual base::TimeDelta LowFrequencyAnimationInterval() const;
|
|
|
| const AnimationRegistrar::AnimationControllerMap&
|
| @@ -521,8 +526,7 @@ class CC_EXPORT LayerTreeHostImpl
|
| void EnforceZeroBudget(bool zero_budget);
|
|
|
| bool UsePendingTreeForSync() const;
|
| - bool CanUseZeroCopyRasterizer() const;
|
| - bool UseOneCopyRasterizer() const;
|
| + bool IsSynchronousSingleThreaded() const;
|
|
|
| // Scroll by preferring to move the outer viewport first, only moving the
|
| // inner if the outer is at its scroll extents.
|
|
|