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

Side by Side Diff: cc/resources/bitmap_tile_task_worker_pool.h

Issue 860813002: Remove the default format from ResourcePool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error in perftest. Created 5 years, 11 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_RESOURCES_BITMAP_TILE_TASK_WORKER_POOL_H_ 5 #ifndef CC_RESOURCES_BITMAP_TILE_TASK_WORKER_POOL_H_
6 #define CC_RESOURCES_BITMAP_TILE_TASK_WORKER_POOL_H_ 6 #define CC_RESOURCES_BITMAP_TILE_TASK_WORKER_POOL_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "cc/resources/tile_task_runner.h" 10 #include "cc/resources/tile_task_runner.h"
(...skipping 14 matching lines...) Expand all
25 public: 25 public:
26 ~BitmapTileTaskWorkerPool() override; 26 ~BitmapTileTaskWorkerPool() override;
27 27
28 static scoped_ptr<TileTaskWorkerPool> Create( 28 static scoped_ptr<TileTaskWorkerPool> Create(
29 base::SequencedTaskRunner* task_runner, 29 base::SequencedTaskRunner* task_runner,
30 TaskGraphRunner* task_graph_runner, 30 TaskGraphRunner* task_graph_runner,
31 ResourceProvider* resource_provider); 31 ResourceProvider* resource_provider);
32 32
33 // Overridden from TileTaskWorkerPool: 33 // Overridden from TileTaskWorkerPool:
34 TileTaskRunner* AsTileTaskRunner() override; 34 TileTaskRunner* AsTileTaskRunner() override;
35 ResourceFormat GetResourceFormat() override;
35 36
36 // Overridden from TileTaskRunner: 37 // Overridden from TileTaskRunner:
37 void SetClient(TileTaskRunnerClient* client) override; 38 void SetClient(TileTaskRunnerClient* client) override;
38 void Shutdown() override; 39 void Shutdown() override;
39 void ScheduleTasks(TileTaskQueue* queue) override; 40 void ScheduleTasks(TileTaskQueue* queue) override;
40 void CheckForCompletedTasks() override; 41 void CheckForCompletedTasks() override;
41 42
42 // Overridden from TileTaskClient: 43 // Overridden from TileTaskClient:
43 scoped_ptr<RasterBuffer> AcquireBufferForRaster( 44 scoped_ptr<RasterBuffer> AcquireBufferForRaster(
44 const Resource* resource) override; 45 const Resource* resource) override;
(...skipping 25 matching lines...) Expand all
70 71
71 base::WeakPtrFactory<BitmapTileTaskWorkerPool> 72 base::WeakPtrFactory<BitmapTileTaskWorkerPool>
72 task_set_finished_weak_ptr_factory_; 73 task_set_finished_weak_ptr_factory_;
73 74
74 DISALLOW_COPY_AND_ASSIGN(BitmapTileTaskWorkerPool); 75 DISALLOW_COPY_AND_ASSIGN(BitmapTileTaskWorkerPool);
75 }; 76 };
76 77
77 } // namespace cc 78 } // namespace cc
78 79
79 #endif // CC_RESOURCES_BITMAP_TILE_TASK_WORKER_POOL_H_ 80 #endif // CC_RESOURCES_BITMAP_TILE_TASK_WORKER_POOL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/resources/bitmap_tile_task_worker_pool.cc » ('j') | cc/resources/gpu_tile_task_worker_pool.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698