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

Unified Diff: cc/resources/gpu_raster_worker_pool.h

Issue 454843002: cc: Do bitmap conversion for RasterBuffer in the worker thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix. Created 6 years, 4 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
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 d0913313a2698faa89bfe894e897e05c7b9e3f68..61c8e553e15e0ebe35da23386f39b8b3be639d63 100644
--- a/cc/resources/gpu_raster_worker_pool.h
+++ b/cc/resources/gpu_raster_worker_pool.h
@@ -34,8 +34,8 @@ class CC_EXPORT GpuRasterWorkerPool : public RasterWorkerPool,
virtual void CheckForCompletedTasks() OVERRIDE;
// Overridden from RasterizerTaskClient:
- virtual SkCanvas* AcquireCanvasForRaster(RasterTask* task) OVERRIDE;
- virtual void ReleaseCanvasForRaster(RasterTask* task) OVERRIDE;
+ virtual RasterBuffer* AcquireBufferForRaster(RasterTask* task) OVERRIDE;
+ virtual void ReleaseBufferForRaster(RasterTask* task) OVERRIDE;
private:
GpuRasterWorkerPool(base::SequencedTaskRunner* task_runner,
« no previous file with comments | « cc/cc.gyp ('k') | cc/resources/gpu_raster_worker_pool.cc » ('j') | cc/resources/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698