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

Unified Diff: cc/tiles/tile.h

Issue 2726343004: cc: Optimize decode scheduling for checker-images. (Closed)
Patch Set: .. Created 3 years, 9 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
Index: cc/tiles/tile.h
diff --git a/cc/tiles/tile.h b/cc/tiles/tile.h
index 16d37d1491d88a5f9b7938eada47ed21ea32d2d2..37980a1a3317cd390005412bc80b83a4b0b25e01 100644
--- a/cc/tiles/tile.h
+++ b/cc/tiles/tile.h
@@ -113,6 +113,10 @@ class CC_EXPORT Tile {
return is_solid_color_analysis_performed_;
}
+ bool raster_task_scheduled_with_checker_images() const {
vmpstr 2017/03/29 19:11:45 Add a setter as well. I want to remove the friend
Khushal 2017/03/29 22:10:20 Its definitely going to be possible and something
Khushal 2017/03/31 04:31:00 Done.
+ return raster_task_scheduled_with_checker_images_;
+ }
+
const PictureLayerTiling* tiling() const { return tiling_; }
void set_tiling(const PictureLayerTiling* tiling) { tiling_ = tiling; }
@@ -154,6 +158,7 @@ class CC_EXPORT Tile {
Id invalidated_id_;
unsigned scheduled_priority_;
+ bool raster_task_scheduled_with_checker_images_ = false;
scoped_refptr<TileTask> raster_task_;
DISALLOW_COPY_AND_ASSIGN(Tile);

Powered by Google App Engine
This is Rietveld 408576698