Announcement

Collapse
No announcement yet.

SDL Now Supports Wayland's XDG-Shell

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

  • SDL Now Supports Wayland's XDG-Shell

    Phoronix: SDL Now Supports Wayland's XDG-Shell

    The SDL library that's most commonly associated with being an abstraction layer used by Linux games now has Wayland XDG-Shell support...

    http://www.phoronix.com/scan.php?pag...land-XDG-Shell

  • #2
    ...and doesn't support window decorations on Wayland, because it would have to implement its own by itself or add some heavy and otherwise unnecessary dependencies All hail the CSD!

    Comment


    • #3
      its a shame some rust developers decided to write their alternative to sdl , which is now used by some of the most popular dependencies such as gfx - rs ; there is was not a point in having done that , unsafe code is still necessary ; only detriments

      Comment


      • #4
        Last time I tried the SDL2 port of openarena on wayland it was falling back to xWayland. In theory when SDL 2.0.8 hits Arch, should this just work™? Or do the SDL apps need to be modified?

        Will be interesting to see if native Wayland/SDL apps regain all the performance lost by xWayland/SDL. If memory serves me right xWayland was a good 10-15 FPS slower than x11.

        Comment


        • #5
          Originally posted by dos1 View Post
          ...and doesn't support window decorations on Wayland, because it would have to implement its own by itself or add some heavy and otherwise unnecessary dependencies All hail the CSD!
          Well, isn't the KDE SSD protocol part of xdg-shell now?

          Comment


          • #6
            slacka I haven't tried alien arena, but generally for SDL2 to use wayland you set the environment variable SDL_VIDEODRIVER=wayland

            Comment


            • #7
              Originally posted by [email protected] View Post

              Well, isn't the KDE SSD protocol part of xdg-shell now?
              No. It was added to officially maintained Wayland protocols, so it's sitting together with xdg-shell and bunch of other protocols as part of the same package of protocols you may or may not decide to implement in your app. Completely unrelated to xdg-shell itself.

              Comment

              Working...
              X