-
Notifications
You must be signed in to change notification settings - Fork 83
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
egui layer shell example #349
Comments
there's two way to go about it, both are a lot of work:
|
Doesn't egui support using wgpu, or glow, could they be used with sctk? |
yes, it shoud be easy to make egui render to a sctk wayland window through wgpu, the 'hard' part is the windowing part |
So would it also be possible through layer shell? |
yes your main would look like this https://github.com/Smithay/client-toolkit/blob/master/examples/simple_layer.rs / https://github.com/Smithay/client-toolkit/blob/master/examples/wgpu.rs |
The best solution for this would be layer shell support in winit (rust-windowing/winit#2582). Or perhaps a winit-like library on top of sctk could provide a dedicated way to deal with layer shell surfaces. |
I would prefer that too, but a example using raw apis would be cool for the moment, and could be useful. |
Hello I'm new to sctk, and it would be helpful for me and others who want to use egui with layer shell if there was an example, thanks!
The text was updated successfully, but these errors were encountered: