| 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 c1e9d1b1e1de792c7601e9b1a411b62caffbf347..157fe00eb67013347d1840a7c9499e392b885fcf 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -482,6 +482,16 @@ class CC_EXPORT LayerTreeHostImpl
|
| void ResetRequiresHighResToDraw() { requires_high_res_to_draw_ = false; }
|
| bool RequiresHighResToDraw() const { return requires_high_res_to_draw_; }
|
|
|
| + // 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,
|
| @@ -496,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&
|
| @@ -518,8 +526,7 @@ class CC_EXPORT LayerTreeHostImpl
|
| void EnforceZeroBudget(bool zero_budget);
|
|
|
| bool UsePendingTreeForSync() const;
|
| - bool UseZeroCopyRasterizer() 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.
|
| @@ -693,6 +700,7 @@ class CC_EXPORT LayerTreeHostImpl
|
|
|
| RenderingStatsInstrumentation* rendering_stats_instrumentation_;
|
| MicroBenchmarkControllerImpl micro_benchmark_controller_;
|
| + scoped_ptr<TaskGraphRunner> single_thread_synchronous_task_graph_runner_;
|
|
|
| bool need_to_update_visible_tiles_before_draw_;
|
|
|
|
|