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

Unified Diff: cc/test/layer_tree_pixel_resource_test.h

Issue 786583002: cc: Renaming Rasterizer and RasterWorkerPool interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Update include files alphabetic orders. Created 6 years 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/test/layer_tree_pixel_resource_test.h
diff --git a/cc/test/layer_tree_pixel_resource_test.h b/cc/test/layer_tree_pixel_resource_test.h
index da3da25c12ba69e61e67455b816c0371fd1658ec..08900a2a6398acaf2fbca5fec60b373658ea80f5 100644
--- a/cc/test/layer_tree_pixel_resource_test.h
+++ b/cc/test/layer_tree_pixel_resource_test.h
@@ -11,7 +11,7 @@
namespace cc {
class LayerTreeHostImpl;
-class RasterWorkerPool;
+class TileTaskWorkerPool;
class ResourcePool;
// Enumerate the various combinations of renderer, resource pool, staging
@@ -34,27 +34,27 @@ class LayerTreeHostPixelResourceTest : public LayerTreePixelTest {
public:
explicit LayerTreeHostPixelResourceTest(PixelResourceTestCase test_case);
- void CreateResourceAndRasterWorkerPool(
+ void CreateResourceAndTileTaskWorkerPool(
LayerTreeHostImpl* host_impl,
- scoped_ptr<RasterWorkerPool>* raster_worker_pool,
+ scoped_ptr<TileTaskWorkerPool>* tile_task_worker_pool,
scoped_ptr<ResourcePool>* resource_pool,
scoped_ptr<ResourcePool>* staging_resource_pool) override;
void RunPixelResourceTest(scoped_refptr<Layer> content_root,
base::FilePath file_name);
- enum RasterWorkerPoolOption {
- BITMAP_RASTER_WORKER_POOL,
- GPU_RASTER_WORKER_POOL,
- ZERO_COPY_RASTER_WORKER_POOL,
- ONE_COPY_RASTER_WORKER_POOL,
- PIXEL_BUFFER_RASTER_WORKER_POOL,
+ enum TileTaskWorkerPoolOption {
+ BITMAP_TILE_TASK_WORKER_POOL,
+ GPU_TILE_TASK_WORKER_POOL,
+ ZERO_COPY_TILE_TASK_WORKER_POOL,
+ ONE_COPY_TILE_TASK_WORKER_POOL,
+ PIXEL_BUFFER_TILE_TASK_WORKER_POOL,
};
protected:
unsigned staging_texture_target_;
unsigned draw_texture_target_;
- RasterWorkerPoolOption resource_pool_option_;
+ TileTaskWorkerPoolOption resource_pool_option_;
private:
void InitializeFromTestCase(PixelResourceTestCase test_case);

Powered by Google App Engine
This is Rietveld 408576698