Is it possible to get an OpenGL Core (non-ES) context? #6482
Unanswered
ianhattendorf
asked this question in
Q&A
Replies: 1 comment 1 reply
-
In general, this would be a desired feature to offer, but I think it has to be opt-in by API and is part of a bigger topic: Offering a kind of (pseudo code a bit with unnecessary type annotations to make it easier to understand though) let builder = slint::platform::PlatformBuilder::new().with_opengl_profile(slint::OpenGLProfile::Core);
let result: Result<Box<dyn slint::Platform>>, slint::PlatformError> = builder.build();
slint::set_platform(result?); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using an approach similar to https://github.com/slint-ui/slint/tree/master/examples/opengl_underlay to render with an OpenGL context. This gets me an OpenGL ES 3.2 context, however I would like to use features from OpenGL 4.4+.
I've attempted
SLINT_BACKEND=winit-skia-opengl
andSLINT_BACKEND=winit-femtovg
without any luck. Is this supported, or if not, would it be a desired feature?This is on Fedora 40 Sway (Wayland) w/ an RX 5700 XT. I also occasionally test on a Windows 11 laptop with an Intel 9th gen UHD 630 + RTX 2000 GPU.
Beta Was this translation helpful? Give feedback.
All reactions