Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: Talking About EGL In Mesa On Linux

  1. #1
    Join Date
    Jan 2007
    Posts
    14,816

    Default Talking About EGL In Mesa On Linux

    Phoronix: Talking About EGL In Mesa On Linux

    A few days back I reported on the first operating system where you may see the Wayland Display Server used rather than an X.Org Server after talking with Kristian Høgsberg while in Toulouse. At the X.Org Developer Summit' he talked to everyone about EGL in Mesa, which also plays an important role with Wayland...

    http://www.phoronix.com/vr.php?view=ODYyMA

  2. #2
    Join Date
    Oct 2007
    Location
    Under the bridge
    Posts
    2,144

    Default

    All I can is wow! Awesome!

  3. #3
    Join Date
    Mar 2009
    Posts
    17

    Question

    It's really nice to have EGL in MESA. But does anyone know a tutorial or something on EGL? Or is the specification the only documentation out there? Thanks in advance.

  4. #4
    Join Date
    Sep 2010
    Posts
    1

    Default

    Quote Originally Posted by Nils View Post
    It's really nice to have EGL in MESA. But does anyone know a tutorial or something on EGL? Or is the specification the only documentation out there? Thanks in advance.
    you might find some helpful examples in the mesa-demos repository:
    http://cgit.freedesktop.org/mesa/demos/tree/src/egl

  5. #5
    Join Date
    Dec 2009
    Posts
    275

    Default

    Quality is of sound is just poor. Have in mind that there are none native english speakers here too. While native english person can take advantage of this video, I, as opposed to them can't
    I bet I am not the only one...

  6. #6
    Join Date
    Aug 2009
    Posts
    2,264

    Default

    As a non-native english speaker I still have problems with basic grammer and making my own sentences. However I have zero problems listening and reading english whatsoever.

    I have yet to meat someone IRL that has more problems listening and reading english as opposed to writing and speaking the language

  7. #7
    Join Date
    Sep 2006
    Posts
    714

    Default

    Quote Originally Posted by Nils View Post
    It's really nice to have EGL in MESA. But does anyone know a tutorial or something on EGL? Or is the specification the only documentation out there? Thanks in advance.
    From wikipedia:
    EGL (Embedded-System Graphics Library) "is an interface between Khronos rendering APIs such as OpenGL ES or OpenVG and the underlying native platform window system. It handles graphics context management, surface/buffer binding, and rendering synchronization and enables high-performance, accelerated, mixed-mode 2D and 3D rendering using other Khronos APIs."[1] EGL is managed by the non-profit technology consortium Khronos Group.

    Basically; you cannot use straight OpenGL for a windowing system because OpenGL lacks much of the APIs necessary to control the display, mode setting, multi application rendering buffers, and such things. It's designed for writing 3D applications and not windowing systems.

    This is why the original attempts at created 3D desktops using things like XGL X window manager couldn't work.

    Well... EGL is the part that was created to fill in the gap and make windowing systems using standardized APIs possible.

    As long as you have a driver for your video card that supports EGL then you can run Wayland... and now Mesa has support for EGL.

    ==========================

    Now all we need, besides improving Wayland and driver support in general, is a X.org DDX that targets Wayland.

    Why do we need a Xorg DDX for Wayland (you may ask), well because.....

    Xorg is made up of two parts: Device Independent X (DIX) and Device Dependent X (DDX). DIX is the part that applications use such as Xlib and the X networking protocol.

    DDX is the part that interacts with your hardware. With Linux the 'DDX' is called 'xfree'. It uses various modules to provide direct hardware support for hardware. Like the Intel X driver or the 'NV' nvidia driver. Well Xorg provides X support for Windows (xwin ddx) and OS X (darwin ddx). This is why you can display X Windows applications on OS X.

    Well, with a Wayland DDX then distributions can start switching over to using Wayland instead of Xfree and still keep compatibility with all your applications.

    No need to sacrifice X networking, no need to write new Xfree drivers for each new piece of hardware. Just run X on top of Wayland and that is all you'll ever need. As long as Wayland has EGL support in the hardware and such then that's it... no more X hardware issues.

    Then things like Gallium start to make more and more sense.

  8. #8
    Join Date
    Jan 2009
    Posts
    1,404

    Default

    Is anyone aware of any WM that has plans at targeting EGL? It seems as though this would be the obvious thing for all WM to do. Perhaps I am missing something. Is the issue support? I don't see why this would need support from the card (assuming the card supports at least OGL).
    Perplexing...

  9. #9
    Join Date
    Aug 2009
    Posts
    2,264

    Default

    @Liam,
    Why EGL? You'll end up combining it with OpenGL anyways...

  10. #10
    Join Date
    Jan 2008
    Posts
    772

    Default

    Quote Originally Posted by V!NCENT View Post
    @Liam,
    Why EGL? You'll end up combining it with OpenGL anyways...
    I thought the idea was to use EGL instead of something like GLUT or GLX.

Posting Permissions

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