Re: EGL & OpenGLES2 without X

Pekka Paalanen <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
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.


Thanks,
pq
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.