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

Unified Diff: cc/layers/picture_layer_impl.h

Issue 900073003: cc: Rework how picture layer tiling set gets into raster queues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 10 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl.h
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
index e2dfea1f22f4da466e02ddbce01455d137fa9c55..05f647b15a1be1c8a2a1156c17360a34b67e8159 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -29,15 +29,6 @@ class CC_EXPORT PictureLayerImpl
: public LayerImpl,
NON_EXPORTED_BASE(public PictureLayerTilingClient) {
public:
- struct CC_EXPORT Pair {
- Pair();
- Pair(PictureLayerImpl* active_layer, PictureLayerImpl* pending_layer);
- ~Pair();
-
- PictureLayerImpl* active;
- PictureLayerImpl* pending;
- };
-
static scoped_ptr<PictureLayerImpl> Create(
LayerTreeImpl* tree_impl,
int id,
@@ -77,6 +68,7 @@ class CC_EXPORT PictureLayerImpl
TilePriority::PriorityBin GetMaxTilePriorityBin() const override;
WhichTree GetTree() const override;
bool RequiresHighResToDraw() const override;
+ bool HasValidTilePriorities() const override;
void UpdateRasterSource(scoped_refptr<RasterSource> raster_source,
Region* new_invalidation,
@@ -99,8 +91,6 @@ class CC_EXPORT PictureLayerImpl
// Functions used by tile manager.
PictureLayerImpl* GetPendingOrActiveTwinLayer() const;
bool IsOnActiveOrPendingTree() const;
- // Virtual for testing.
- virtual bool HasValidTilePriorities() const;
// Used for benchmarking
RasterSource* GetRasterSource() const { return raster_source_.get(); }
« 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