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

Unified Diff: cc/tiles/picture_layer_tiling.h

Issue 2726343004: cc: Optimize decode scheduling for checker-images. (Closed)
Patch Set: tested Created 3 years, 8 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/picture_layer_tiling.h
diff --git a/cc/tiles/picture_layer_tiling.h b/cc/tiles/picture_layer_tiling.h
index ecf1974efa810a069b0dd9792648fd119ba16e39..6882ab77a9b487d2054c656c55168dfcb2ebb022 100644
--- a/cc/tiles/picture_layer_tiling.h
+++ b/cc/tiles/picture_layer_tiling.h
@@ -105,6 +105,10 @@ class CC_EXPORT PictureLayerTiling {
bool IsTileRequiredForActivation(const Tile* tile) const;
bool IsTileRequiredForDraw(const Tile* tile) const;
+ // Returns true if the tile should be processed for decoding images skipped
vmpstr 2017/04/18 00:20:00 Can you rephrase this a bit (it sounds confusing t
Khushal 2017/04/19 06:16:41 Its actually not necessary that images were skippe
+ // during rasterization.
+ bool ShouldDecodeCheckeredImagesForTile(const Tile* tile) const;
+
void set_resolution(TileResolution resolution) {
resolution_ = resolution;
may_contain_low_resolution_tiles_ |= resolution == LOW_RESOLUTION;

Powered by Google App Engine
This is Rietveld 408576698