Chromium Code Reviews
DescriptionAvoid waiting on the SurfaceTexture until we need to.
We can let the SurfaceTexture operations complete in the background
for back buffer rendering instead of waiting during frame delivery;
this frees up the GPU thread for other tasks.
Also reduces the wait time to be more inline with the UMA stats;
some devices like the MotoX don't reliably deliver this event when
the MediaCodec is underflowing. I've also seen the N7v2 drop this
event every now and then.
BUG=601066
TEST=no playback regressions, less waiting.
Committed: https://crrev.com/501f6225e00045e88ba56d7fe9deed6850c2906c
Cr-Commit-Position: refs/heads/master@{#391426}
Patch Set 1 : Check. #Patch Set 2 : Simplify. #
Total comments: 4
Patch Set 3 : Comment cleanup! #
Total comments: 2
Patch Set 4 : Comment fix. #
Messages
Total messages: 16 (8 generated)
|
|||||||||||||||||||||||||||||||||||||