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

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

Issue 716283003: cc: Remove GetRasterSource from PictureLayerTilingClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 1 month 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/debug/rasterize_and_record_benchmark_impl.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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 bool resourceless_software_draw) override; 112 bool resourceless_software_draw) override;
113 void NotifyTileStateChanged(const Tile* tile) override; 113 void NotifyTileStateChanged(const Tile* tile) override;
114 void DidBecomeActive() override; 114 void DidBecomeActive() override;
115 void DidBeginTracing() override; 115 void DidBeginTracing() override;
116 void ReleaseResources() override; 116 void ReleaseResources() override;
117 skia::RefPtr<SkPicture> GetPicture() override; 117 skia::RefPtr<SkPicture> GetPicture() override;
118 118
119 // PictureLayerTilingClient overrides. 119 // PictureLayerTilingClient overrides.
120 scoped_refptr<Tile> CreateTile(PictureLayerTiling* tiling, 120 scoped_refptr<Tile> CreateTile(PictureLayerTiling* tiling,
121 const gfx::Rect& content_rect) override; 121 const gfx::Rect& content_rect) override;
122 RasterSource* GetRasterSource() override;
123 gfx::Size CalculateTileSize(const gfx::Size& content_bounds) const override; 122 gfx::Size CalculateTileSize(const gfx::Size& content_bounds) const override;
124 const Region* GetPendingInvalidation() override; 123 const Region* GetPendingInvalidation() override;
125 const PictureLayerTiling* GetPendingOrActiveTwinTiling( 124 const PictureLayerTiling* GetPendingOrActiveTwinTiling(
126 const PictureLayerTiling* tiling) const override; 125 const PictureLayerTiling* tiling) const override;
127 PictureLayerTiling* GetRecycledTwinTiling( 126 PictureLayerTiling* GetRecycledTwinTiling(
128 const PictureLayerTiling* tiling) override; 127 const PictureLayerTiling* tiling) override;
129 TilePriority::PriorityBin GetMaxTilePriorityBin() const override; 128 TilePriority::PriorityBin GetMaxTilePriorityBin() const override;
130 size_t GetMaxTilesForInterestArea() const override; 129 size_t GetMaxTilesForInterestArea() const override;
131 float GetSkewportTargetTimeInSeconds() const override; 130 float GetSkewportTargetTimeInSeconds() const override;
132 int GetSkewportExtrapolationLimitInContentPixels() const override; 131 int GetSkewportExtrapolationLimitInContentPixels() const override;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 // frame that has a valid viewport for prioritizing tiles. 230 // frame that has a valid viewport for prioritizing tiles.
232 gfx::Rect visible_rect_for_tile_priority_; 231 gfx::Rect visible_rect_for_tile_priority_;
233 232
234 friend class PictureLayer; 233 friend class PictureLayer;
235 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); 234 DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl);
236 }; 235 };
237 236
238 } // namespace cc 237 } // namespace cc
239 238
240 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_ 239 #endif // CC_LAYERS_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/debug/rasterize_and_record_benchmark_impl.cc ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698