Re: EGL & OpenGLES2 without X
Pekka Paalanen <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 22 May 2014 21:05:07 +0100 Will Wagner <[email protected]> wrote: > On 22/05/2014 20:40, Pekka Paalanen wrote: > > On Thu, 22 May 2014 09:01:50 -0600 > > Brian Paul <[email protected]> wrote: > > > >> On 05/22/2014 08:50 AM, Will Wagner wrote: > >>> On 22/05/2014 15:48, Brian Paul wrote: > >>>> On 05/22/2014 04:55 AM, Will Wagner wrote: > >>>>> > >>>>> Is it possible to build mesa without X so that it supports > >>>>> the standard EGL calls or is there no way of doing this > >>>>> without using the mesa extension? > >>>> > >>>> Well, if you don't have X you don't have windowing so there's > >>>> only full-screen rendering. > >>> > >>> Sorry, should have said, full screen rendering is exactly what > >>> I want (And is what the e2gears demo does when it uses the > >>> custom mesa surface api). What I want to know is it possible to > >>> get full screen rendering without the mesa extension. > >> > >> I haven't looked at the EGL code in years, but I don't think > >> there's support for that. > > > > The EGL DRM/GBM platform is designed to run on bare DRM/KMS with > > the help of libgbm. An advanced example is Weston, the reference > > Wayland compositor. > > > > A simpler example is https://github.com/robclark/kmscube > > > > Whether you would consider the EGL GBM platform as standard or a > > Mesa "extension" is up to you. It is possible to implement it also > > outside of Mesa, and I think some (one? proprietary?) driver stacks > > might actually do that. > > Hi Pekka, > > That certainly looks like what I want, once gbm is set up I can use > standard egl calls. > > What gallium/dri/gbm configure options do you think are required? Well, for Weston it works with these: http://wayland.freedesktop.org/building.html I think the essence of it are --with-egl-platforms=drm --enable-gbm. Thanks, pq