Index: content/renderer/render_thread_impl.h |
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h |
index 59d7c048c862bb80e7410a7bb100d16325f6b20c..bb17ed54d8e137d21a0385b834088897d8304eb7 100644 |
--- a/content/renderer/render_thread_impl.h |
+++ b/content/renderer/render_thread_impl.h |
@@ -80,6 +80,10 @@ class Extension; |
namespace content { |
+namespace { |
+class RasterWorkerPool; |
+} |
+ |
class AppCacheDispatcher; |
class AecDumpMessageFilter; |
class AudioInputMessageFilter; |
@@ -318,6 +322,9 @@ class CONTENT_EXPORT RenderThreadImpl |
// on the renderer's main thread. |
scoped_refptr<base::SingleThreadTaskRunner> GetMediaThreadTaskRunner(); |
+ // A SequencedTaskRunner instance that runs tasks on the raster worker pool. |
+ scoped_refptr<base::SequencedTaskRunner> GetWorkerSequencedTaskRunner(); |
reveman
2015/06/30 04:47:52
s/scoped_refptr<base::SequencedTaskRunner>/base::S
Daniele Castagna
2015/06/30 15:43:50
Done.
|
+ |
// Causes the idle handler to skip sending idle notifications |
// on the two next scheduled calls, so idle notifications are |
// not sent for at least one notification delay. |
@@ -561,8 +568,8 @@ class CONTENT_EXPORT RenderThreadImpl |
// regardless of whether |compositor_thread_| is overriden. |
scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; |
- // Threads used by compositor for rasterization. |
- ScopedVector<base::SimpleThread> compositor_raster_threads_; |
+ // Pool of workers used for raster operations (e.g., tile rasterization). |
+ scoped_refptr<RasterWorkerPool> raster_worker_pool_; |
base::CancelableCallback<void(const IPC::Message&)> main_input_callback_; |
scoped_refptr<IPC::MessageFilter> input_event_filter_; |
@@ -594,8 +601,6 @@ class CONTENT_EXPORT RenderThreadImpl |
scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_; |
- scoped_ptr<cc::TaskGraphRunner> compositor_task_graph_runner_; |
- |
// Compositor settings. |
bool is_gpu_rasterization_enabled_; |
bool is_gpu_rasterization_forced_; |