On 2 August 2017 at 21:24, Adam Jackson <a...@redhat.com> wrote:
> +Overview
> +
> +    A system may support multiple devices and multiple window systems. For
> +    example, a Wayland environment may drive multiple GPUs and support both
> +    GLX and EGL clients. In order to realize this, the implementation must
> +    allow the client to specify both device and platform explicitly.


> +New Behavior
> +
> +    If EGL_DEVICE_EXT is specified as an attribute for eglGetPlatformDisplay,
> +    the value of the attribute is interpreted as an EGLDeviceEXT as returned
> +    by eglQueryDevicesEXT. The platform will attempt to initialize using
> +    exactly the specified device. If the attribute does not name a known
> +    EGLDeviceEXT, EGL_BAD_DEVICE_EXT is generated. If the device and platform
> +    are not compatible for any reason, EGL_BAD_MATCH is generated.
> +
> +    If EGL_EXT_platform_device is supported, passing EGL_DEVICE_EXT as an
> +    attribute to eglGetPlatformDisplay(EGL_PLATFORM_DEVICE_EXT) is
> +    undefined.

Might as well make it an error, else someone will come to rely on
those semantics.

Also, given it seems like something other people will want to support,
we should definitely make this EXT.

Acked-by: Daniel Stone <dani...@collabora.com>

mesa-dev mailing list

Reply via email to