| Index: cc/raster/one_copy_tile_task_worker_pool.h
|
| diff --git a/cc/raster/one_copy_tile_task_worker_pool.h b/cc/raster/one_copy_tile_task_worker_pool.h
|
| index 08445b03dc6ce02111404dee19832c13f0edae03..9ff6c977387e569c9c6db3f6e51d5cb0a97023d7 100644
|
| --- a/cc/raster/one_copy_tile_task_worker_pool.h
|
| +++ b/cc/raster/one_copy_tile_task_worker_pool.h
|
| @@ -50,7 +50,8 @@ class CC_EXPORT OneCopyTileTaskWorkerPool
|
| int max_copy_texture_chromium_size,
|
| bool use_partial_raster,
|
| int max_staging_buffer_usage_in_bytes,
|
| - bool use_rgba_4444_texture_format);
|
| + ResourceFormat memory_efficient_format,
|
| + ResourceFormat memory_efficient_format_with_alpha);
|
|
|
| // Overridden from TileTaskWorkerPool:
|
| TileTaskRunner* AsTileTaskRunner() override;
|
| @@ -93,7 +94,8 @@ class CC_EXPORT OneCopyTileTaskWorkerPool
|
| int max_copy_texture_chromium_size,
|
| bool use_partial_raster,
|
| int max_staging_buffer_usage_in_bytes,
|
| - bool use_rgba_4444_texture_format);
|
| + ResourceFormat memory_efficient_format,
|
| + ResourceFormat memory_efficient_format_with_alpha);
|
|
|
| private:
|
| struct StagingBuffer {
|
| @@ -157,7 +159,8 @@ class CC_EXPORT OneCopyTileTaskWorkerPool
|
| StagingBufferDeque busy_buffers_;
|
| int bytes_scheduled_since_last_flush_;
|
| const int max_staging_buffer_usage_in_bytes_;
|
| - bool use_rgba_4444_texture_format_;
|
| + ResourceFormat memory_efficient_format_;
|
| + ResourceFormat memory_efficient_format_with_alpha_;
|
| int staging_buffer_usage_in_bytes_;
|
| int free_staging_buffer_usage_in_bytes_;
|
| const base::TimeDelta staging_buffer_expiration_delay_;
|
|
|