x11/GLX/GL on top of wayland
Jasper St. Pierre
jstpierre at mecheye.net
Fri Jul 4 07:31:53 PDT 2014
It's at a lower level than translating GLX to EGL. The client renders into
specific card-buffers given its hardware-specific drivers inside mesa, and
then passes a handle to those buffers to what it thinks is the X server
using the DRI3 protocol. Xwayland can in turn pass those buffers to the
real Wayland compositor using the secret wl_drm interface.
I'm told that the nouveau and radeon drivers now have support for DRI3 as
of last week.
On Fri, Jul 4, 2014 at 10:17 AM, Sylvain BERTRAND <sylware at legeek.net>
wrote:
> On Fri, Jul 04, 2014 at 09:48:20AM -0400, Jasper St. Pierre wrote:
> > Xwayland has DRI3/Present support, which means that any app that uses
> DRI3
> > will work fine under it. Right now, this is the Intel driver, with
> support
> > for the other FOSS drivers coming soon.
> >
> > Otherwise, we fall back to non-hardware-accelerated codepaths. It won't
> > break, but it will mean that you won't get hardware-accelerated
> rendering.
>
> This is good news.
>
> I need just a bit more of your lights on the matter: the wayland dri3
> driver is
> intel specific. You mean that it needs hw specific paths? The
> mapping of xorg/glx/GL calls into wayland/egl/gl must inclue hw
> specifities?
>
> --
> Sylvain
>
--
Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140704/feb20616/attachment.html>
More information about the wayland-devel
mailing list