Get the latest tech news
Blumenkrantz "Massively Improves" Mesa's glReadPixels Performance With 7 Lines Of Code
Mike Blumenkrantz of Valve's open-source/Linux graphics driver team has submitted a merge request to 'massively' improve the OpenGL glReadPixels performance within the common Mesa state tracker.
Mike Blumenkrantz of Valve's open-source/Linux graphics driver team has submitted a merge request to "massively" improve the OpenGL glReadPixels performance within the common Mesa state tracker. Due to performance issues with a Steam Direct3D Windows game that embeds a number of video files and Proton in turn relying on GStreamer to play the video files, Blumenkrantz was exploring the perf profile and the overhead of all the memory copies from the pixel back buffer texture upload to glReadPixels memory copy download path as part of the video transcode pipeline. Blumenkrantz has made the glReadPixels operation much more efficient by using compute pixel buffer object (PBO) downloads.
Or read this on Phoronix