Descriptioncc: Don't add new tilings while syncing a tiling.
When a layer adds a tiling, it syncs to its pending/active twin and
adds the tiling there. We "cleverly" do an UpdateTilePriorities() then
immediately if possible. But now UpdateTilePriorities() does much more
than it used to, and also adds new tilings etc, which can cause a sync
back to the other twin and re-entrancy and bad things.
Instead, split everything that isn't updating tiles priorities off to
UpdateTiles() which calls UpdateTilePriorities(), and have
UpdateDrawProperties() call that instead. This way syncing only updates
priorities, and doesn't do things like adding new tilings or changing
what is considered high res.
R=enne
BUG=386076
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278604
Patch Set 1 : managetilingsinsync: . #Patch Set 2 : managetilingsinsync: . #Patch Set 3 : managetilingsinsync: . #
Total comments: 4
Patch Set 4 : managetilingsinsync: android #Patch Set 5 : managetilingsinsync: rebase #
Total comments: 2
Patch Set 6 : managetilingsinsync: perftest #
Total comments: 2
Messages
Total messages: 21 (1 generated)
|