Chromium Code Reviews
DescriptionHandle compositor/worker context the same wrt. visibility
When transitioning the worker context to not-visible mode and cleaning
up resources, we wait for pending tile tasks to complete, as they may
be using resources. Given that the resources used by tile tasks are
created/destroyed on the compositor context (not the worker context), we
should also delay compositor context's cleanup until all tile tasks are
completed.
This change modifies LayerTreeHostImpl so that both contexts have their
visibility handled in the same way.
Additionally, it fixes an issue where we were checking resource pool
for pending cleanup in the wrong way (looking only at in-use resources,
not at all resources).
R=enne
BUG=663179
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Committed: https://crrev.com/174ef9083488b3d8528e9fa60820d0cec3badd50
Cr-Commit-Position: refs/heads/master@{#432282}
Patch Set 1 #Patch Set 2 : cleanup #
Messages
Total messages: 12 (7 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||