Skip to content

egl: Implement getImage/putImage on pbuffer swrast.

Mathias Fröhlich requested to merge frohlich/mesa:egl-image-callbacks into master

The change adds getImage/putImage callbacks to the swrast pbuffer loader extension.

While Emil wanted initially an implementation of egl pbuffers without these callbacks, I cannot actually proof that the mesa swrast backends do not call into those callbacks. So I would suggest to provide those callbacks. At least until somebody finds time to fix the swrast backends and proof that those callbacks cannot be called for pbuffers.

Actually that fixes a recent crash with Weston as well as a crashing test with classic swrast. Using this fix, some of the EGLDevice piglit tests do not fail in the swrast part anymore. Thus it would help to detect problems in the domain of the device extensions using the usual CI systems around.

Signed-off-by: Mathias Fröhlich Mathias.Froehlich@web.de

Merge request reports