mesa/include/GL
Jakob Bornecrantz 6a7dea93fa dri: Rework planar image interface
As discussed with Kristian on #wayland. Pushes the decision of components into
the dri driver giving it greater freedom to allow t to implement YUV samplers
in hardware, and which mode to use.

This interface will also allow drivers like SVGA to implement YUV surfaces
without the need to sub-allocate and instead send 3 seperate buffers for each
channel, currently not implemented.

I have tested these changes on Gallium Svga. Scott tested them on both intel
and Gallium Radeon. Kristan and Pekka tested them on intel.

v2: Fix typo in dri2_from_planar.
v3: Merge in intel changes.

Tested-by: Scott Moreau <oreaus@gmail.com>
Tested-by: Pekka Paalanen <ppaalanen@gmail.com>
Tested-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2012-08-31 19:51:02 +02:00
..
internal dri: Rework planar image interface 2012-08-31 19:51:02 +02:00
gl.h Only use gcc visibility support with gcc4+. 2011-10-24 10:22:52 -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 83 2012-08-14 12:19:24 -07:00
glu.h glu: Fix _GLUfuncptr typedef. 2011-05-12 11:45:30 +01:00
glu_mangle.h Add missing entry points. (Warren Cashen) 2003-10-10 22:09:05 +00:00
glx.h glx: Drop support for GLX_MESA_allocate_memory 2010-07-19 22:45:50 -04:00
glx_mangle.h gl: added mangled glXGetProcAddressARB define 2009-11-19 09:33:32 -07:00
glxext.h mesa: update glxext.h to version 33 2012-06-27 07:50:57 -06:00
osmesa.h mesa: Remove support for BeOS 2011-08-26 23:31:23 -07:00
vms_x_fix.h OpenVMS compile support update 2006-09-04 06:26:08 +00:00
wglext.h mesa: upgrade wglext.h to version 22 2010-09-14 09:40:23 -06:00
wmesa.h Assorted Windows fixes (Karl Schultz) 2008-05-29 10:42:02 -06:00