Descriptioncc: Unused resources should be given back to the child compositor
If a frame passes ownership of a resource, but no quads in the frame use
it, the resource should be passed back to the child, not held forever.
If a new frame is given to the delegated renderer layer before the
taking unused resources from it, they are re-added to the new frame
in case it uses any of them. The resources not used by the new frame
will be returned after the next commit.
Tested by existing delegated renderer tests, and also by:
LayerTreeHostDelegatedTestUnnamedResource.runSingleThread
LayerTreeHostDelegatedTestUnnamedResource.runMultiThread
LayerTreeHostDelegatedTestDontLeakResource.runSingleThread
LayerTreeHostDelegatedTestDontLeakResource.runMultiThread
LayerTreeHostDelegatedTestResourceSentToParent.runSingleThread
LayerTreeHostDelegatedTestResourceSentToParent.runMultiThread
LayerTreeHostDelegatedTestCommitWithoutTake.runSingleThread
LayerTreeHostDelegatedTestCommitWithoutTake.runMultiThread
R=piman
BUG=123444
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186246
Patch Set 1 : #
Total comments: 2
Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 2
Patch Set 5 : #
Messages
Total messages: 15 (0 generated)
|