eglcreatePlatformWindowSurfaceEXT fails with` EGL_NO_CONFIG_KHR`
Hi mesa devs,
The new EGL_KHR_no_config_context extension allows client to create a EGLContext
without config. While this work, later when I tried to create a EGLSurface
with eglcreatePlatformWindowSurfaceEXT
. I would get no surface and error code is EGL_BAD_CONFIG
. I am wondering if this is an intented behavior? I am on Archlinux the mesa version is 21.0.1
I am the maintainer of a wayland compositor called taiwins, so far I've been trying to create eglContext using visual_ID DRM_FORMAT_ARGB8888 for drm backend. It fails on device that doesn't have it. With the extension, I hope that I don't have to be locked on a format when creating the context, later I can check for whatever the format supported on the gbm device and creating the EGLSurface. Is this approach possible?
Regards, Xichen