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

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

Issue 219963005: cc: Add support for partial swaps when using impl-side painting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve cc_unittests build error Created 6 years, 7 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
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_TILE_MANAGER_H_ 5 #ifndef CC_RESOURCES_TILE_MANAGER_H_
6 #define CC_RESOURCES_TILE_MANAGER_H_ 6 #define CC_RESOURCES_TILE_MANAGER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
(...skipping 14 matching lines...) Expand all
25 #include "cc/resources/resource_pool.h" 25 #include "cc/resources/resource_pool.h"
26 #include "cc/resources/tile.h" 26 #include "cc/resources/tile.h"
27 27
28 namespace cc { 28 namespace cc {
29 class RasterizerDelegate; 29 class RasterizerDelegate;
30 class ResourceProvider; 30 class ResourceProvider;
31 31
32 class CC_EXPORT TileManagerClient { 32 class CC_EXPORT TileManagerClient {
33 public: 33 public:
34 virtual void NotifyReadyToActivate() = 0; 34 virtual void NotifyReadyToActivate() = 0;
35 virtual void NotifyTileInitialized(const Tile* tile) = 0;
35 36
36 protected: 37 protected:
37 virtual ~TileManagerClient() {} 38 virtual ~TileManagerClient() {}
38 }; 39 };
39 40
40 struct RasterTaskCompletionStats { 41 struct RasterTaskCompletionStats {
41 RasterTaskCompletionStats(); 42 RasterTaskCompletionStats();
42 43
43 size_t completed_count; 44 size_t completed_count;
44 size_t canceled_count; 45 size_t canceled_count;
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 std::vector<scoped_refptr<RasterTask> > orphan_raster_tasks_; 336 std::vector<scoped_refptr<RasterTask> > orphan_raster_tasks_;
336 337
337 std::vector<PictureLayerImpl*> layers_; 338 std::vector<PictureLayerImpl*> layers_;
338 339
339 DISALLOW_COPY_AND_ASSIGN(TileManager); 340 DISALLOW_COPY_AND_ASSIGN(TileManager);
340 }; 341 };
341 342
342 } // namespace cc 343 } // namespace cc
343 344
344 #endif // CC_RESOURCES_TILE_MANAGER_H_ 345 #endif // CC_RESOURCES_TILE_MANAGER_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698