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

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

Issue 107413008: Merge 241994 "Revert "cc: Added tile bundles"" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1750/src/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « cc/layers/picture_image_layer_impl_unittest.cc ('k') | 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 float page_scale_factor, 48 float page_scale_factor,
49 bool animating_transform_to_screen, 49 bool animating_transform_to_screen,
50 float* contents_scale_x, 50 float* contents_scale_x,
51 float* contents_scale_y, 51 float* contents_scale_y,
52 gfx::Size* content_bounds) OVERRIDE; 52 gfx::Size* content_bounds) OVERRIDE;
53 virtual skia::RefPtr<SkPicture> GetPicture() OVERRIDE; 53 virtual skia::RefPtr<SkPicture> GetPicture() OVERRIDE;
54 54
55 // PictureLayerTilingClient overrides. 55 // PictureLayerTilingClient overrides.
56 virtual scoped_refptr<Tile> CreateTile(PictureLayerTiling* tiling, 56 virtual scoped_refptr<Tile> CreateTile(PictureLayerTiling* tiling,
57 gfx::Rect content_rect) OVERRIDE; 57 gfx::Rect content_rect) OVERRIDE;
58 virtual scoped_refptr<TileBundle> CreateTileBundle(int offset_x,
59 int offset_y,
60 int width,
61 int height) OVERRIDE;
62 virtual void UpdatePile(Tile* tile) OVERRIDE; 58 virtual void UpdatePile(Tile* tile) OVERRIDE;
63 virtual gfx::Size CalculateTileSize( 59 virtual gfx::Size CalculateTileSize(
64 gfx::Size content_bounds) const OVERRIDE; 60 gfx::Size content_bounds) const OVERRIDE;
65 virtual const Region* GetInvalidation() OVERRIDE; 61 virtual const Region* GetInvalidation() OVERRIDE;
66 virtual const PictureLayerTiling* GetTwinTiling( 62 virtual const PictureLayerTiling* GetTwinTiling(
67 const PictureLayerTiling* tiling) const OVERRIDE; 63 const PictureLayerTiling* tiling) const OVERRIDE;
68 64
69 // PushPropertiesTo active tree => pending tree. 65 // PushPropertiesTo active tree => pending tree.
70 void SyncTiling(const PictureLayerTiling* tiling); 66 void SyncTiling(const PictureLayerTiling* tiling);
71 67
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // after a CalculateContentsScale/ManageTilings. 142 // after a CalculateContentsScale/ManageTilings.
147 bool should_update_tile_priorities_; 143 bool should_update_tile_priorities_;
148 144
149 friend class PictureLayer; 145 friend class PictureLayer;
150 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 146 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
151 }; 147 };
152 148
153 } // namespace cc 149 } // namespace cc
154 150
155 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ 151 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/picture_image_layer_impl_unittest.cc ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698