mesa/include/GL
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
..
internal egl,dri: Propagate context priority hint to driver->CreateContext 2017-10-20 11:28:17 +01:00
gl.h mesa: remove unused #pragma export on/off lines 2014-04-28 17:16:42 -06:00
gl_mangle.h mesa: regenerate gl_mangle.h 2014-08-12 08:09:45 -06:00
glcorearb.h include: Update GL headers from khronos opengl registry. 2017-10-12 12:45:07 -07:00
glext.h include: Update GL headers from khronos opengl registry. 2017-10-12 12:45:07 -07:00
glx.h includes/GL: remove duplicated extension declarations from glx.h 2015-08-01 15:47:55 +01:00
glx_mangle.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
glxext.h include: Revert out the update of the Khronos GLX extension header. 2017-10-12 19:49:14 -07:00
mesa_glinterop.h egl: Fix inclusion of egl.h+mesa_glinterop.h 2017-08-21 14:45:44 -07:00
osmesa.h osmesa: add new OSMesaCreateContextAttribs function 2015-12-16 19:38:51 -07:00
wglext.h include: Update GL headers from khronos opengl registry. 2017-10-12 12:45:07 -07:00