DescriptionRe-land: cc: Examine layers to determine if we're ready to activate.
This introduces a new mechanism for determining when
we're ready to activate the pending tree. The tile
priority is still used to determine when it's worth
waking up the compositor thread and evaluating if
we can activate. However, the actual check that
determines if we're ready to activate doesn't rely
on the state of scheduled raster tasks but is a
synchronous call on each layer.
The result is a pending tree activation mechanism that
is much easier to debug and validate for correctness,
while still providing the performance benefits of the
old mechanism by taking the "required to activate" field
of the tile priority into account when scheduling tasks.
BUG=375206
TEST=cc_unittests --gtest_filter=PictureLayerImplTest.AllTilesRequiredForActivationAreReadyToDraw
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273040
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 12
Patch Set 4 : address review feeback #
Total comments: 8
Patch Set 5 : rebase and address review feedback #
Total comments: 6
Patch Set 6 : address review feedback #Patch Set 7 : fix bad rebase #Patch Set 8 : rebase #Patch Set 9 : init check_if_ready_to_activate_pending_ properly #
Messages
Total messages: 30 (0 generated)
|