Announcement

Collapse
No announcement yet.

Wayland Back-End For GTK+ Pushed Forward

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wayland Back-End For GTK+ Pushed Forward

    Phoronix: Wayland Back-End For GTK+ Pushed Forward

    While busy discussing Sandy Bridge Linux support, it's been brought to my attention en route to Las Vegas that the Wayland back-end for GTK+3 has been merged!..

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

  • #2
    Also cool is that GTK+ has the multiple backend support now, so the fear that your GTK+ applications will only work with Wayland is gone. The same binaries can work on Wayland natively or work with X11 for people wanting X-style network transparency.

    Comment


    • #3
      Originally posted by elanthis View Post
      Also cool is that GTK+ has the multiple backend support now, so the fear that your GTK+ applications will only work with Wayland is gone. The same binaries can work on Wayland natively or work with X11 for people wanting X-style network transparency.
      Yeah, this could have potentially been a big problem. Luckily the multiple backend work made it into GTK 3.0 (which is getting close to release now) or it may have had to wait until the next major version, which could have been two or three years away...

      Comment


      • #4
        The cruncher will be Wine working on Wayland. Most will not see any usable difference between XORG and Wayland, unless it's 3D gaming or 3D desktop use.

        Comment


        • #5
          Speaking of 3D gaming or desktop use, does anyone know if there are plans for Wayland to support OpenGL in addition to OpenGL ES, which is currently supported (or at least is being worked on)?

          Comment


          • #6
            Originally posted by Prescience500 View Post
            Speaking of 3D gaming or desktop use, does anyone know if there are plans for Wayland to support OpenGL in addition to OpenGL ES, which is currently supported (or at least is being worked on)?
            Is there any reason it would need to?

            Any OpenGl apps would still working on Wayland regardless

            Comment


            • #7
              Originally posted by 0e8h View Post
              The cruncher will be Wine working on Wayland. Most will not see any usable difference between XORG and Wayland, unless it's 3D gaming or 3D desktop use.
              Shouldn't that work with a rootless X server (if not natively)?

              Comment


              • #8
                Wouldn't OpenGL in addition to OpenGL ES allow for greater performance in things like high graphics gaming and what not?

                Comment


                • #9
                  Originally posted by Prescience500 View Post
                  Wouldn't OpenGL in addition to OpenGL ES allow for greater performance in things like high graphics gaming and what not?
                  Afaik when you use OpenGL in your app you don't need Wayland's blessing since OpenGL draws directly to the screen. At most Wayland could tell your app _where_ to draw, but Wayland itself doesn't participate in the drawing process of the apps which use OpenGL for (their own 2D/3D) rendering stuff.

                  Wayland as in "display manager" as opposed to "new standard" does use "OpenGL ES" instead of "OpenGL" to render stuff but that is simply because it wants to run on mobile devices with as little changes as possible and unless you mean OpenGL 4.x there's virtually no big performance difference between OpenGL 1x-3x and OpenGL ES 2.0.

                  Comment


                  • #10
                    Originally posted by Prescience500 View Post
                    Wouldn't OpenGL in addition to OpenGL ES allow for greater performance in things like high graphics gaming and what not?
                    I think ES 2.0 is just the minimum requirement for the compositor (so it's able to run on mobile devices). Since it's just a subset of OpenGL, it's the same performance, just less features.

                    But applications can use any OpenGL version that their graphics driver supports.

                    Comment


                    • #11
                      Hi, can anyone explain if and how Wayland will speed|ease|simplifiy development of Linux Graphics Drivers Stack?

                      Comment


                      • #12
                        Originally posted by Prescience500 View Post
                        Wouldn't OpenGL in addition to OpenGL ES allow for greater performance in things like high graphics gaming and what not?
                        Applications don't care what support Wayland has, that's why you can still use 3D apps on a strictly 2D desktop. So you'll be able to use OpenGL 4 in games no matter what Wayland is doing.

                        The only things it really affects are Compiz and Kwin (and other compositors). These will need to be rewritten to work on OpenGL ES, which is basically the same as OpenGL 3 minus all the fixed-function backwards compatibility. It might be missing a few of the newer OpenGL features, but I suspect those will be included as extensions if they aren't already. I think it's good to only guarantee the base ES2.0 functionality anyway, so that the code can also run on mobile devices that only support that much.

                        Comment


                        • #13
                          Originally posted by przemoli View Post
                          Hi, can anyone explain if and how Wayland will speed|ease|simplifiy development of Linux Graphics Drivers Stack?
                          Hi, please use the "search" option at the top of the page. It's been explained a lot of times already.

                          Comment


                          • #14
                            even if this can be considered a milestone there are still stuff in the TODO list that afaik noone is working on

                            Comment


                            • #15
                              Originally posted by przemoli View Post
                              Hi, can anyone explain if and how Wayland will speed|ease|simplifiy development of Linux Graphics Drivers Stack?
                              It won't. It uses existing mode-setting drivers, existing mesa, and so on.

                              Comment

                              Working...
                              X