DescriptionThrottle frames in OffscreenCanvasFrameDispatcherImpl
Propagate gpu/compositor backpressure. This prevents the browser from
hanging when OffscreenCanvas animations cannot render at 60fps because
they are GPU bound.
This change Makes OffscreenCanvas ignore the BeginFrame signal when
backpressure is detected. It uses the call to
OffscreenCanvasFrameDispatcherImpl::DidReceiveCompositorFrameAck as a
signal to unblock the next animation frame.
BUG=708709
Review-Url: https://codereview.chromium.org/2817603004
Cr-Commit-Position: refs/heads/master@{#464177}
Committed: https://chromium.googlesource.com/chromium/src/+/b4efc8c9a47145a0d44414db4a6942d31bbde2c8
Patch Set 1 #Patch Set 2 : move comment to right position #
Total comments: 1
Patch Set 3 : Remove obsolete comment #
Messages
Total messages: 19 (14 generated)
|