Chromium Code Reviews
DescriptionEvicted frames should immediately unblock dependent CompositorFrames
Prior to this CL, if a Surface is evicted, we would not immediately
unblock its dependent Surfaces. This causes parent Frames to block
until the deadline hits. This can cause unnecessary jank during cross-
process navigation and may cause the browser UI to become unresponsive
briefly. This CL immediately unblocks the parent CompositorFrame if the
child Surface is evicted.
Note that this CL is a pre-requisite to allowing SurfaceFactory to
always observe its current Surface, which is necessary so that it is
informed when referenced surfaces change and can tell its client to
update its reference tracking. This allows the garbage collection
system to immediately garbage collect surfaces that are no longer
referenced from a parent Surface once a pending frame has replaced
an existing active frame. That change is coming in a subsequent CL.
BUG=689725
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2689213003
Cr-Commit-Position: refs/heads/master@{#450165}
Committed: https://chromium.googlesource.com/chromium/src/+/2d9cf213310be917ade1a3f21d665fc0511e1e10
Patch Set 1 #
Messages
Total messages: 11 (7 generated)
|
||||||||||||||||||||||||||||