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

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

Issue 366113002: cc: Do not cleanup tiles with raster tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits updated. Created 6 years, 4 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/picture_layer_impl.h ('k') | cc/resources/picture_layer_tiling.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_PICTURE_LAYER_TILING_H_ 5 #ifndef CC_RESOURCES_PICTURE_LAYER_TILING_H_
6 #define CC_RESOURCES_PICTURE_LAYER_TILING_H_ 6 #define CC_RESOURCES_PICTURE_LAYER_TILING_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 23 matching lines...) Expand all
34 const gfx::Rect& content_rect) = 0; 34 const gfx::Rect& content_rect) = 0;
35 virtual PicturePileImpl* GetPile() = 0; 35 virtual PicturePileImpl* GetPile() = 0;
36 virtual gfx::Size CalculateTileSize( 36 virtual gfx::Size CalculateTileSize(
37 const gfx::Size& content_bounds) const = 0; 37 const gfx::Size& content_bounds) const = 0;
38 virtual const Region* GetInvalidation() = 0; 38 virtual const Region* GetInvalidation() = 0;
39 virtual const PictureLayerTiling* GetTwinTiling( 39 virtual const PictureLayerTiling* GetTwinTiling(
40 const PictureLayerTiling* tiling) const = 0; 40 const PictureLayerTiling* tiling) const = 0;
41 virtual size_t GetMaxTilesForInterestArea() const = 0; 41 virtual size_t GetMaxTilesForInterestArea() const = 0;
42 virtual float GetSkewportTargetTimeInSeconds() const = 0; 42 virtual float GetSkewportTargetTimeInSeconds() const = 0;
43 virtual int GetSkewportExtrapolationLimitInContentPixels() const = 0; 43 virtual int GetSkewportExtrapolationLimitInContentPixels() const = 0;
44 virtual WhichTree GetTree() const = 0;
44 45
45 protected: 46 protected:
46 virtual ~PictureLayerTilingClient() {} 47 virtual ~PictureLayerTilingClient() {}
47 }; 48 };
48 49
49 class CC_EXPORT PictureLayerTiling { 50 class CC_EXPORT PictureLayerTiling {
50 public: 51 public:
51 class CC_EXPORT TilingRasterTileIterator { 52 class CC_EXPORT TilingRasterTileIterator {
52 public: 53 public:
53 TilingRasterTileIterator(); 54 TilingRasterTileIterator();
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 322
322 private: 323 private:
323 DISALLOW_ASSIGN(PictureLayerTiling); 324 DISALLOW_ASSIGN(PictureLayerTiling);
324 325
325 RectExpansionCache expansion_cache_; 326 RectExpansionCache expansion_cache_;
326 }; 327 };
327 328
328 } // namespace cc 329 } // namespace cc
329 330
330 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_H_ 331 #endif // CC_RESOURCES_PICTURE_LAYER_TILING_H_
OLDNEW
« no previous file with comments | « cc/layers/picture_layer_impl.h ('k') | cc/resources/picture_layer_tiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698