Use background thread for FrameEditor's OpenGL calls.
If an OpenGL call blocks because the encoder's input surface is full, this will now block the background thread while the main thread can continue querying encoder output and free up encoder capacity until it accepts more input unblocking the background thread. PiperOrigin-RevId: 433283287
Showing
with
73 additions
and
80 deletions
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment