[Mesa-dev] [PATCH 6/6] egl/x11: use dri2_create_image_khr for swrast

Emil Velikov emil.l.velikov at gmail.com
Tue Aug 1 15:55:10 UTC 2017


On 28 July 2017 at 04:48, Gurchetan Singh <gurchetansingh at chromium.org> wrote:
> This will allow the swrast driver to use eglCreateImageKHR,
> provided the target is EGL_GL_TEXTURE_2D_KHR or
> EGL_GL_RENDERBUFFER_KHR.  Note we still have to implement the
> create from render buffer path.
Thanks for the re-spin Gurchetan!

Implementing the renderbuffer path would be great. None of the gallium
drivers currently support it ;-)

A couple of small suggestions:
 - 5/6 effectively enables the extensions, thus it should be the last
in the series
 - the drm and wayland platforms could use a patch similar to this,
otherwise they'll advertise the extensions but the API will always
fail
Feel free to squash with this patch, keep separate or simply force
disable the extensions on said platforms.

With that the series is
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

-Emil


More information about the mesa-dev mailing list