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

Side by Side Diff: cc/raster/one_copy_tile_task_worker_pool.h

Issue 1890903002: cc: Simplify Task and its derived classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_tile_task_runner
Patch Set: nits 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ 5 #ifndef CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_
6 #define CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ 6 #define CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "cc/output/context_provider.h" 11 #include "cc/output/context_provider.h"
12 #include "cc/raster/tile_task_runner.h"
13 #include "cc/raster/tile_task_worker_pool.h" 12 #include "cc/raster/tile_task_worker_pool.h"
14 #include "cc/resources/resource_provider.h" 13 #include "cc/resources/resource_provider.h"
15 14
16 namespace cc { 15 namespace cc {
17 struct StagingBuffer; 16 struct StagingBuffer;
18 class StagingBufferPool; 17 class StagingBufferPool;
19 class ResourcePool; 18 class ResourcePool;
20 19
21 class CC_EXPORT OneCopyTileTaskWorkerPool : public TileTaskWorkerPool, 20 class CC_EXPORT OneCopyTileTaskWorkerPool : public TileTaskWorkerPool,
22 public RasterBufferProvider { 21 public RasterBufferProvider {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 std::unique_ptr<StagingBufferPool> staging_pool_; 99 std::unique_ptr<StagingBufferPool> staging_pool_;
101 100
102 Task::Vector completed_tasks_; 101 Task::Vector completed_tasks_;
103 102
104 DISALLOW_COPY_AND_ASSIGN(OneCopyTileTaskWorkerPool); 103 DISALLOW_COPY_AND_ASSIGN(OneCopyTileTaskWorkerPool);
105 }; 104 };
106 105
107 } // namespace cc 106 } // namespace cc
108 107
109 #endif // CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_ 108 #endif // CC_RASTER_ONE_COPY_TILE_TASK_WORKER_POOL_H_
OLDNEW
« no previous file with comments | « cc/raster/gpu_tile_task_worker_pool.h ('k') | cc/raster/task.h » ('j') | cc/raster/task.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698