mesa/src/egl/drivers/dri2
Chris Wilson 5c5618338a egl,dri: Propagate context priority hint to driver->CreateContext
Jump through the layers of abstraction between egl and dri in order to
feed the context priority attribute through to the backend. This
requires us to read the value from the base _egl_context, convert it to
a DRI attribute, parse it again in the generic context creator before
passing it to the driver as a function parameter.

In order to not require us to pass back the actual value of the context
priority after creation, we impose that drivers should report the
available set of priorities during screen setup (and then they may chose
to fail if given an invalid value as that should have been checked at
the user boundary.)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Ben Widawsky <ben@bwidawsk.net> # i915/i965
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2017-10-20 11:28:17 +01:00
..
.gitignore egl/wayland: Use linux-dmabuf interface for buffers 2017-07-18 22:16:21 +01:00
egl_dri2.c egl,dri: Propagate context priority hint to driver->CreateContext 2017-10-20 11:28:17 +01:00
egl_dri2.h egl_dri2: drop dri2_egl_driver struct 2017-10-18 17:25:41 +01:00
egl_dri2_fallbacks.h egl/dri2: Implement swapInterval fallback in a conformant way (v2) 2017-09-27 11:35:47 +02:00
platform_android.c egl/dri2: Implement swapInterval fallback in a conformant way (v2) 2017-09-27 11:35:47 +02:00
platform_drm.c egl/dri2: Implement swapInterval fallback in a conformant way (v2) 2017-09-27 11:35:47 +02:00
platform_surfaceless.c egl: set UseFallback if LIBGL_ALWAYS_SOFTWARE is set 2017-10-18 17:25:41 +01:00
platform_wayland.c egl: set UseFallback if LIBGL_ALWAYS_SOFTWARE is set 2017-10-18 17:25:41 +01:00
platform_x11.c egl: set UseFallback if LIBGL_ALWAYS_SOFTWARE is set 2017-10-18 17:25:41 +01:00
platform_x11_dri3.c egl/dri: remove old left-overs 2017-10-10 13:58:47 +02:00
platform_x11_dri3.h egl: Wrap dri3 surface primitive around dri2 egl surface 2017-09-19 12:12:25 +01:00