[Mesa-dev] [PATCH EGL/MESA] EGL/mesa: Initial write up for EGL_MESA_query_driver
Adam Jackson
ajax at redhat.com
Wed Nov 7 16:25:17 UTC 2018
On Mon, 2018-11-05 at 23:33 +0530, Veluri Mithun wrote:
> +New Procedures and Functions
> +
> + const char* EGLGetDriverConfig(const char *driverName);
This is difficult to implement in a GLVND environment. The frontend
would need a way to distinguish responses from the vendor library for
"I don't know of a driver by that name" and "I know that driver, but it
has no configuration".
Assuming we get EGL_EXT_device_base merged into Mesa it'd be cleaner to
have the first parameter here be an EGLDeviceEXT.
> + const char* EGLGetScreenDriver(EGLDisplay * dpy, int scrNum)
As with EGL_MESA_query_renderer: EGL doesn't have screens, and these
entrypoint names should start with 'egl' not 'EGL'.
- ajax
More information about the mesa-dev
mailing list