Marijn Suijten

Results 1102 comments of Marijn Suijten

Thanks! In your `initialize_display` logs, can you debug-print the `version` that is returned by `egl.Initialize()`? https://github.com/rust-windowing/glutin/blob/d8e7569b1493b91d50af68156ec6cee34816fcb9/glutin/src/api/egl/display.rs#L506-L513 --- Is scenario 2 working for you? I'm curious if `eglGetPlatformDisplayExt()` is allowed to...

So that's a broken EGL driver, if it advertises EGL 1.4 but also `EGL_KHR_platform_gbm` which requires 1.5. You should probably report this to the respective driver vendor - they should...

That doesn't use the Mesa driver stack, right? I found that it should expose both `MESA` and `KHR` otherwise: https://gitlab.freedesktop.org/mesa/mesa/-/blob/ce2eedd13e8163185a69070bc1fb8abcd602c87d/src/egl/main/eglglobals.c#L99-102 The commit that added the `KHR` variant also explains that...

I'm trying to come up with a title that is more descriptive about the actual issue at hand, since `get_platform_display_ext failed` is counter [what you said](https://github.com/rust-windowing/glutin/issues/1708#issuecomment-2407222612) that `get_platform_display_ext` actually works...

Note that I am now reading from https://gitlab.freedesktop.org/glvnd/libglvnd/-/issues/251#note_2553412: > By the spec, it is allowed to support EGL 1.5 at the client level (so you can use eglGetPlatformDisplay to get...

@kchibisov it seems _yes_, per the [answer to my question 2 here](https://github.com/rust-windowing/glutin/issues/1708#issuecomment-2407222612). (After all the enum value is the same, and the underlying function implementation likely behaves the same, even...

> @MarijnS95 do you happen to know whether android is required to use the main thread? And in general, I think we should have a way to ensure that it's...

Re requesting 32 in the config and getting a config with 24, ""shouldn't"" it error that no compatible config is found? A similar thing happened on Android; I have a...

> and it's documented that it gives you at least Ah you are right, for some attributes it gives you configs that are equal or higher (at least on EGL)....

Exactly, RGB is nontrivial though it could be implemented with `PartialOrd` (i.e. return `None` when comparing `Rgb` to `Luminance`, or if there is an unlikely case where one component is...