Skip to content
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

SDL2/3 Platform backend #7770

Open
flukejones opened this issue Feb 28, 2025 · 3 comments
Open

SDL2/3 Platform backend #7770

flukejones opened this issue Feb 28, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@flukejones
Copy link
Contributor

flukejones commented Feb 28, 2025

Feature Description

Winit (wayland) currently has an issue where the window seems to never show, no matter what settings are used if started via Steam in a gamescope session (aka, steamos). For anyone attempting to add UI to SteamOS this becomes an issue as XWayland is not all that great either.

For my specific use-case a platform implementation that uses SDL2 or SDL3 would solve a whole host of issues, and provide x11, wayland, and kms backends, plus gamepad inputs, touches, and a few other extras.

Being able to use the SDL event loop would also allow another class of games to use slint for UI (such as how egui is used).

@flukejones flukejones added enhancement New feature or request need triaging Issue that the owner of the area still need to triage labels Feb 28, 2025
@tronical
Copy link
Member

That seems like a good idea to me.

@flukejones flukejones changed the title SDL2/3 Paltform backend SDL2/3 Platform backend Feb 28, 2025
@flukejones
Copy link
Contributor Author

The related issue I filed in winit: rust-windowing/winit#4152

@ogoffart ogoffart removed the need triaging Issue that the owner of the area still need to triage label Mar 5, 2025
@ogoffart
Copy link
Member

ogoffart commented Mar 5, 2025

Note that this should be implementable using our slint::platform::Platform without the need to have to implement that in Slint itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants