Descriptioncc: Prevent premature activation during prefer smoothness
The tile manager combines priorities from the pending and active tree for a
single tile to figure out how to prioritize it. It does this based on the
global tree priority. If the tile manager is in "prefer smoothness" mode, then
the active tree's priority takes precedence over the pending tree's priority.
For newly invalidated visible tiles, this means that the active tree gets an
unprioritized NEVER_BIN and the pending tree gets a NOW_BIN. However, the
NOW_BIN would get ignored entirely, the tile manager would not have any
work for the pending tree (giving it all to prepainting the active tree),
and so LayerTreeHostImpl would activate the tree, thinking there was no
work to be done. However, these resources are likely not rasterized yet,
and so there would be a white or low res flash before they appeared.
This patch takes the global tree priority into account. If we are in "prefer
smoothness" mode and resources aren't ready, don't activate the tree. This
prevents these forms of flashing during scrolling and pinching.
R=reveman@chromium.org
BUG=175276
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182107
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|