Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: glx or egl

  1. #11
    Intern Contributor nigels's Avatar
    Join Date
    Apr 2000
    Location
    Texas, USA
    Posts
    87
    I've seen X11+EGL+ES 2.0 on L4T (Linux for Tegra).
    https://developer.nvidia.com/linux-tegra

    - Nigel
    ---
    Regal - as OpenGL ought to be

  2. #12
    Advanced Member Frequent Contributor
    Join Date
    Apr 2009
    Posts
    595
    Quote Originally Posted by Alfonse Reinheart
    You don't. That's what I just said; there is no EGL on X.
    That is down right false. There are platforms that use X11 and use EGL (for example N9, N900, Maemo, MeeGo, etc). Ubuntu on Tegra is X11 with EGL. These same platforms do NOT have glx.

    Though in all honesty, EGL really does not buy you anything; it just means different startup kludge code to create a GL context, etc. The specification is more focused on GLES1/2/3 than desktop GL. Indeed, although EGL has a mechanism to create a GL context, it lacks all of the goodies found in wgl/glxCreateContexAttribsARB.

  3. #13
    Junior Member Regular Contributor
    Join Date
    Dec 2009
    Posts
    211
    Quote Originally Posted by kRogue View Post
    Indeed, although EGL has a mechanism to create a GL context, it lacks all of the goodies found in wgl/glxCreateContexAttribsARB.
    You should take a look at EGL_KHR_create_context, I think it covers everything glx can do.

  4. #14
    Advanced Member Frequent Contributor
    Join Date
    Apr 2009
    Posts
    595
    Indeed it does.

  5. #15
    Intern Contributor nigels's Avatar
    Join Date
    Apr 2000
    Location
    Texas, USA
    Posts
    87
    There is also Mesa EGL/ES2 on X11 Ubuntu 12.04, that I've seen in action.
    Which seems handy for cross-developing for Android, etc.
    Just recently I noticed that freeglut now supports EGL/ES2 as an alternative to GLX or WGL.

    - Nigel
    ---
    Regal - as OpenGL ought to be

  6. #16
    i have built out the demodriver.so of mesa egl on freebsd, but i failed to create the egl context.

  7. #17
    Newbie Newbie
    Join Date
    Feb 2013
    Posts
    1
    GLX is very X11 specific, so transitioning towards EGL brings significant benefits. I don't see why someone couldn't create a GLX over EGL wrapper, to help run legacy code on platforms without GLX. The main reason why EGL has become necessary, is to disconnect X11 from OpenGL. So it opens a multitude of use cases for OpenGL, or at least vastly simplifies their implantation..... To put this another way, EGL is no pulseaudio.

  8. #18
    i think it is not hurry to use egl as it has not a mature implementation. glx is still a better choice to use accelerated gpu.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •