DescriptionZero-budget TileManager in resourceless software mode
In ResourceManager, add Reinitialize which essentially
calls Initialize again. Make sure the default resource
type is updated again to be correct.
In LayerTreeHostImpl, set bytes_limit_when_visible_ to 0
in resourceless software mode. Set back default value in
DeferredInitialize.
In TextureLayerImpl, release the resource on
DidLoseOutputSurface if not using mailboxes. For
mailboxes, the resource cannot be recreated by simply
calling CreateResourceFromTextureMailbox again.
BUG=245935
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207424
Patch Set 1 #Patch Set 2 : sw works but failing some dchecks, hw TileManager/RasterWorkerPool has problems with RP #Patch Set 3 : sort of works #Patch Set 4 : clean up #Patch Set 5 : one more clean up #Patch Set 6 : SetNeedsCommit #
Total comments: 1
Patch Set 7 : TextureLayer recreate mailbox texture if cleared by DidLoseOutputSurface #Patch Set 8 : Do not DeleteResource in TextureLayerImpl for mailboxes #
Total comments: 1
Patch Set 9 : clean ups #
Total comments: 4
Patch Set 10 : rebase and address comments #
Messages
Total messages: 9 (0 generated)
|