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

Unified Diff: cc/raster/gpu_tile_task_worker_pool.h

Issue 1885873002: cc: Rename TileTaskClient interface to RasterBufferProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_schedule
Patch Set: Removed patch dependency. Created 4 years, 8 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/raster/bitmap_tile_task_worker_pool.cc ('k') | cc/raster/gpu_tile_task_worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/gpu_tile_task_worker_pool.h
diff --git a/cc/raster/gpu_tile_task_worker_pool.h b/cc/raster/gpu_tile_task_worker_pool.h
index 6943a271c0ef1d50fc7aba9d21d3260a7b7eabcd..5ebd623be3dd21124c91850610cd401571254e95 100644
--- a/cc/raster/gpu_tile_task_worker_pool.h
+++ b/cc/raster/gpu_tile_task_worker_pool.h
@@ -18,7 +18,7 @@ class ResourceProvider;
class CC_EXPORT GpuTileTaskWorkerPool : public TileTaskWorkerPool,
public TileTaskRunner,
- public TileTaskClient {
+ public RasterBufferProvider {
public:
~GpuTileTaskWorkerPool() override;
@@ -39,8 +39,9 @@ class CC_EXPORT GpuTileTaskWorkerPool : public TileTaskWorkerPool,
void CheckForCompletedTasks() override;
ResourceFormat GetResourceFormat(bool must_support_alpha) const override;
bool GetResourceRequiresSwizzle(bool must_support_alpha) const override;
+ RasterBufferProvider* AsRasterBufferProvider() override;
- // Overridden from TileTaskClient:
+ // Overridden from RasterBufferProvider:
std::unique_ptr<RasterBuffer> AcquireBufferForRaster(
const Resource* resource,
uint64_t resource_content_id,
« no previous file with comments | « cc/raster/bitmap_tile_task_worker_pool.cc ('k') | cc/raster/gpu_tile_task_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698