Skip to content
Commit b9be532b authored by Loïc Molinari's avatar Loïc Molinari Committed by Derek Foreman
Browse files

gl-renderer: Add OpenGL ES 3 async output capture support



ReadPixels() implies a synchronous read back of the render buffer to
return pixel data. OpenGL ES 3 adds asynchronous read back support by
writing the pixel data into a dedicated buffer object. This commit
adds asynchronous read back support to the output capture code. It
spawns a read back request and schedules a timeout a few frames later
in order to store the pixels into the client SHM buffer.

Signed-off-by: default avatarLoïc Molinari <loic.molinari@collabora.com>
parent 5223b843
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment