Skip to content

gl-renderer: optionally read pixels into software buffer in repaint_output

Philipp Zabel requested to merge pH5/weston:gl-renderer-read-pixels into main

Split the glReadPixels part of gl_renderer_do_capture out into a separate function gl_renderer_do_read_pixels and optionally use that in repaint_output, after repainting, to download FBO contents into a buffer provided by the backend.

This way software backends such as VNC and RDP can share the download implementation, and the download can make use of the known total damage inside repaint_output.

Based on !1106 (merged).

Edited by Philipp Zabel

Merge request reports