Re: EGL & OpenGLES2 without X
Will Wagner <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
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? Many thanks Will -- ------------------------------------------------------------------------ Will Wagner [email protected] Development Manager Office Tel: +44 (0)20 7471 9224 Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA ------------------------------------------------------------------------