mirror of https://gitlab.freedesktop.org/mesa/mesa
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> |
||
---|---|---|
.. | ||
.gitignore | ||
egl_dri2.c | ||
egl_dri2.h | ||
egl_dri2_fallbacks.h | ||
platform_android.c | ||
platform_drm.c | ||
platform_surfaceless.c | ||
platform_wayland.c | ||
platform_x11.c | ||
platform_x11_dri3.c | ||
platform_x11_dri3.h |