Results 1 to 7 of 7

Thread: Wayland Platform Support For Mesa's EGL

  1. #1
    Join Date
    Jan 2007
    Posts
    15,197

    Default Wayland Platform Support For Mesa's EGL

    Phoronix: Wayland Platform Support For Mesa's EGL

    Benjamin Franzke, an independent open-source developer, has published patches that provides Wayland EGL support for Mesa. This provides a EGL Wayland platform library so that it can be used by this new display server as an alternative to X...

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

  2. #2
    Join Date
    Dec 2007
    Location
    Edinburgh, Scotland
    Posts
    590

    Default

    I'm not sure that even makes sense

  3. #3
    Join Date
    Aug 2009
    Location
    Russe, Bulgaria
    Posts
    532

    Default

    Be cool, I don;t know even what it means

  4. #4
    Join Date
    Oct 2008
    Posts
    3,183

    Default What does this mean?

    It sounds like it allows Mesa to run inside Wayland now? I thought that was already possible, though.

  5. #5
    Join Date
    Dec 2007
    Location
    Edinburgh, Scotland
    Posts
    590

    Default

    Quote Originally Posted by smitty3268 View Post
    It sounds like it allows Mesa to run inside Wayland now? I thought that was already possible, though.
    That's what I mean. Wayland started using EGL as soon as it stopped using eagle

  6. #6
    Join Date
    Nov 2007
    Posts
    1,024

    Default

    EGL is an API to talk to a windowing system to get a rendering context.

    It can sit directly above the hardware drivers. This is what Wayland has been using. It lets Wayland get a rendering context from Gallium so it can actually composite windows to your display framebuffer.

    The actual applications need to get a context too, though. On X, they use GLX to ask the X server to return a context associated with an X window. On Wayland, GLX does not exist or even make sense. So some other API needs to be used by client applications. Wayland could invent some new proprietary context API, like GLX or WGL or AGL. Or it could just use this neat existing API called EGL that it's already using itself.

    So EGL can be used by client applications to ask Wayland for a rendering context. That means that the system EGL library needs to know how to ask Wayland for a context. That's what this patch implements.

    EGL can already be used over X11 or Windows or so on. EGL requires some small glue to connect it to the native system (be that a complete windowing system or a low-level driver/framebuffer abstraction like KMS). This is just the glue for Wayland.

  7. #7
    Join Date
    Oct 2010
    Posts
    461

    Default

    Or, as was said in the e-mail linked to in the article, a header file was added (to wayland) which may be used by other programs that wish to use EGL/Wayland. The header defines what applications have to implement. It interfaces with a corresponding library (the patch sent to the mesa-dev list) in mesa. (paraphrasing/making things up as I go, source: mesa-dev, mesa-patch)

Tags for this Thread

Posting Permissions

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