DescriptionAndroid SurfaceViewRenderer: Never hold a pending frame indefinitely
The original purpose with keeping one pending frame in SurfaceViewRenderer was to reduce latency for the first rendered frame when we are waiting for the Surface to be created. However, it is very dangerous to hold a pending frame indefinitely when used with a SurfaceTexture, because the SurfaceTexture only has one frame and thus holding a frame in the renderer will freeze everything and typically cause timeout crashes.
Committed: https://crrev.com/4a41361f9819b995946a87e32abe008734528cee
Cr-Commit-Position: refs/heads/master@{#10638}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|