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

Side by Side Diff: cc/layers/picture_layer_impl.h

Issue 18581004: cc: Remove tile ref counting in tile manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ut compile fix Created 7 years, 5 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 | « no previous file | cc/layers/picture_layer_impl.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_LAYERS_PICTURE_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_PICTURE_LAYER_IMPL_H_
6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_ 6 #define CC_LAYERS_PICTURE_LAYER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 float page_scale_factor, 47 float page_scale_factor,
48 bool animating_transform_to_screen, 48 bool animating_transform_to_screen,
49 float* contents_scale_x, 49 float* contents_scale_x,
50 float* contents_scale_y, 50 float* contents_scale_y,
51 gfx::Size* content_bounds) OVERRIDE; 51 gfx::Size* content_bounds) OVERRIDE;
52 virtual skia::RefPtr<SkPicture> GetPicture() OVERRIDE; 52 virtual skia::RefPtr<SkPicture> GetPicture() OVERRIDE;
53 53
54 // PictureLayerTilingClient overrides. 54 // PictureLayerTilingClient overrides.
55 virtual scoped_refptr<Tile> CreateTile(PictureLayerTiling* tiling, 55 virtual scoped_refptr<Tile> CreateTile(PictureLayerTiling* tiling,
56 gfx::Rect content_rect) OVERRIDE; 56 gfx::Rect content_rect) OVERRIDE;
57 virtual void DestroyTile(Tile* tile) OVERRIDE;
58 virtual void UpdatePile(Tile* tile) OVERRIDE; 57 virtual void UpdatePile(Tile* tile) OVERRIDE;
59 virtual gfx::Size CalculateTileSize( 58 virtual gfx::Size CalculateTileSize(
60 gfx::Size content_bounds) const OVERRIDE; 59 gfx::Size content_bounds) const OVERRIDE;
61 virtual const Region* GetInvalidation() OVERRIDE; 60 virtual const Region* GetInvalidation() OVERRIDE;
62 virtual const PictureLayerTiling* GetTwinTiling( 61 virtual const PictureLayerTiling* GetTwinTiling(
63 const PictureLayerTiling* tiling) OVERRIDE; 62 const PictureLayerTiling* tiling) OVERRIDE;
64 63
65 // PushPropertiesTo active tree => pending tree. 64 // PushPropertiesTo active tree => pending tree.
66 void SyncFromActiveLayer(); 65 void SyncFromActiveLayer();
67 void SyncTiling(const PictureLayerTiling* tiling); 66 void SyncTiling(const PictureLayerTiling* tiling);
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 bool raster_source_scale_was_animating_; 125 bool raster_source_scale_was_animating_;
127 bool is_using_lcd_text_; 126 bool is_using_lcd_text_;
128 127
129 friend class PictureLayer; 128 friend class PictureLayer;
130 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 129 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
131 }; 130 };
132 131
133 } // namespace cc 132 } // namespace cc
134 133
135 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ 134 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698