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

Unified Diff: cc/resources/gpu_raster_worker_pool.h

Issue 375303002: cc: Refactor ResourceProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing typing error in build.gn Created 6 years, 5 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
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/resources/gpu_raster_worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/gpu_raster_worker_pool.h
diff --git a/cc/resources/gpu_raster_worker_pool.h b/cc/resources/gpu_raster_worker_pool.h
index 97829df4c6eb6e32b91f88fadae29aed51954be5..d0913313a2698faa89bfe894e897e05c7b9e3f68 100644
--- a/cc/resources/gpu_raster_worker_pool.h
+++ b/cc/resources/gpu_raster_worker_pool.h
@@ -21,6 +21,7 @@ class CC_EXPORT GpuRasterWorkerPool : public RasterWorkerPool,
static scoped_ptr<RasterWorkerPool> Create(
base::SequencedTaskRunner* task_runner,
+ ContextProvider* context_provider,
ResourceProvider* resource_provider);
// Overridden from RasterWorkerPool:
@@ -38,6 +39,7 @@ class CC_EXPORT GpuRasterWorkerPool : public RasterWorkerPool,
private:
GpuRasterWorkerPool(base::SequencedTaskRunner* task_runner,
+ ContextProvider* context_provider,
ResourceProvider* resource_provider);
void OnRasterFinished();
@@ -50,6 +52,7 @@ class CC_EXPORT GpuRasterWorkerPool : public RasterWorkerPool,
scoped_ptr<TaskGraphRunner> task_graph_runner_;
const NamespaceToken namespace_token_;
RasterizerClient* client_;
+ ContextProvider* context_provider_;
ResourceProvider* resource_provider_;
bool run_tasks_on_origin_thread_pending_;
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/resources/gpu_raster_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698