-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Support Wayland natively #967
Comments
This should just require an upgrade of the windowing library? |
OpenSpades uses OpenGL, it's not as trivial as it would be with GTK or Qt. Wayland uses EGL, X uses GLX |
SDL2 does have a Wayland support (libsdl-org/SDL#2710), which can be enabled by specifying I tried this just now (coincidentally I use a Wayland-based desktop and 1.25 scaling, too). Unfortunately, it seems more broken than running on XWayland in the following ways:
|
That has nothing to do with each other. You can request a variety of contexts (including OpenGL) via EGL and other APIs both under Wayland and X. Wayland just gives you a buffer, it doesn't care much how you render into it. |
considering i don't see it mentioned, thought i would let you know that on manjaro sway (version 1.8.1) the mouse is invisible when SDL_VIDEODRIVER is set to wayland |
It will be good to support Wayland. I still can run OpenSpades on Wayland via XWayland, but it works bad with some features such as scaling (personally I use 1.25 scaling on my 14" laptop). If you use scaliing on Wayland, all XWayland clients become blurry, OpenSpades becomes unplayable.
The text was updated successfully, but these errors were encountered: