[Mesa-dev] [PATCH 6/6] egl/x11: use dri2_create_image_khr for swrast
Gurchetan Singh
gurchetansingh at chromium.org
Tue Aug 1 22:01:39 UTC 2017
Thanks for the reviews! I rebased patch number #4, and added
platform_wayland support and squashed this patch to form patch #5. Note it
seems platform_drm already has the correct path for swrast,
since gbm_dri_screen_extensions already has the lookup extension and the
dri2_drm_display_vtbl is used regardless whether the driver is hardware or
swrast.
On Tue, Aug 1, 2017 at 8:55 AM, Emil Velikov <emil.l.velikov at gmail.com>
wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170801/ab8b3997/attachment.html>
More information about the mesa-dev
mailing list