mesa/include/GL
Keith Packard 442442026e dri: add __DRIimageLoaderExtension and __DRIimageDriverExtension
These provide an interface between the driver and the loader to allocate
color buffers through the DRIimage extension interface rather than through a
loader-specific extension (as is used by DRI2, for instance).

The driver uses the loader 'getBuffers' interface to allocate color buffers.

The loader uses the createNewScreen2, createNewDrawable, createNewContext,
getAPIMask and createContextAttribs APIS (mostly shared with DRI2).

This interface will work with the DRI3 loader, and should also work with GBM
and other loaders so that drivers need not be customized for each new loader
interface, as long as they provide this image interface.

v2: Fix build of i915 and i965 together (by anholt)

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
2013-11-07 19:08:09 -08:00
..
internal dri: add __DRIimageLoaderExtension and __DRIimageDriverExtension 2013-11-07 19:08:09 -08:00
gl.h mesa: Remove last BEOS checks 2013-11-05 09:37:58 -06:00
gl_mangle.h Regenerate gl_mangle.h. 2010-12-20 19:29:48 -07:00
glext.h mesa: update glext.h to version 20131008 2013-10-16 08:13:45 -06:00
glx.h glx: Add GLX_MESA_query_renderer 2013-11-07 18:12:32 -08:00
glx_mangle.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00
glxext.h mesa: update glxext.h to version 20131008 2013-10-16 08:13:46 -06:00
osmesa.h mesa: remove __QUICKDRAW__ tests 2013-11-04 18:09:57 -07:00
wglext.h mesa: upgrade wglext.h to version 22 2010-09-14 09:40:23 -06:00
wmesa.h mesa: remove outdated version lines in comments 2013-06-05 08:54:27 -06:00