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

Unified Diff: cc/resources/raster_worker_pool.cc

Issue 635733004: cc: Add ScopedWriteLock classes for raster to GpuMemoryBuffer or using Ganesh. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/raster_worker_pool.h ('k') | cc/resources/resource_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/raster_worker_pool.cc
diff --git a/cc/resources/raster_worker_pool.cc b/cc/resources/raster_worker_pool.cc
index 80477c12fc4e55159897d3b8eb47d1f7e374db06..65b3767554414ee32201b50c19deb2dfe4fe28f7 100644
--- a/cc/resources/raster_worker_pool.cc
+++ b/cc/resources/raster_worker_pool.cc
@@ -196,7 +196,7 @@ void RasterWorkerPool::InsertNodesForRasterTask(
// static
void RasterWorkerPool::AcquireBitmapForBuffer(SkBitmap* bitmap,
- uint8_t* buffer,
+ void* buffer,
ResourceFormat buffer_format,
const gfx::Size& size,
int stride) {
@@ -224,7 +224,7 @@ void RasterWorkerPool::AcquireBitmapForBuffer(SkBitmap* bitmap,
// static
void RasterWorkerPool::ReleaseBitmapForBuffer(SkBitmap* bitmap,
- uint8_t* buffer,
+ void* buffer,
ResourceFormat buffer_format) {
SkColorType buffer_color_type = ResourceFormatToSkColorType(buffer_format);
if (buffer_color_type != bitmap->colorType()) {
« no previous file with comments | « cc/resources/raster_worker_pool.h ('k') | cc/resources/resource_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698