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

Unified Diff: cc/resources/tile_manager.cc

Issue 73923003: Shared Raster Worker Threads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build Error for Mac, macro conflict, moving setter to WorkerPool. Created 6 years, 11 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/resources/tile_manager.h ('k') | cc/resources/worker_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager.cc
diff --git a/cc/resources/tile_manager.cc b/cc/resources/tile_manager.cc
index 89cee4a82843dc98f1306ad6282cce27ec41527a..d0fb4d1028bd69d34240bffb87bffa0dc2aaa8e2 100644
--- a/cc/resources/tile_manager.cc
+++ b/cc/resources/tile_manager.cc
@@ -168,7 +168,6 @@ scoped_ptr<TileManager> TileManager::Create(
TileManagerClient* client,
ResourceProvider* resource_provider,
ContextProvider* context_provider,
- size_t num_raster_threads,
RenderingStatsInstrumentation* rendering_stats_instrumentation,
bool use_map_image,
size_t max_transfer_buffer_usage_bytes,
@@ -181,14 +180,11 @@ scoped_ptr<TileManager> TileManager::Create(
ImageRasterWorkerPool::Create(
resource_provider,
context_provider,
- num_raster_threads,
map_image_texture_target) :
PixelBufferRasterWorkerPool::Create(
resource_provider,
context_provider,
- num_raster_threads,
max_transfer_buffer_usage_bytes),
- num_raster_threads,
max_raster_usage_bytes,
rendering_stats_instrumentation));
}
@@ -197,7 +193,6 @@ TileManager::TileManager(
TileManagerClient* client,
ResourceProvider* resource_provider,
scoped_ptr<RasterWorkerPool> raster_worker_pool,
- size_t num_raster_threads,
size_t max_raster_usage_bytes,
RenderingStatsInstrumentation* rendering_stats_instrumentation)
: client_(client),
« no previous file with comments | « cc/resources/tile_manager.h ('k') | cc/resources/worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698