mesa/include
Jakob Bornecrantz 0097809879 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.

(cherry picked from commit 6a7dea93fa)

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:53:45 +02:00
..
c99 Replace our custom C99 headers with http://code.google.com/p/msinttypes/ 2010-08-14 16:00:52 +01:00
CL clover: Import OpenCL state tracker. 2012-05-11 12:39:44 +02:00
EGL egl: remove redundant PFNEGLQUERYSTREAMTIMEKHRPROC typedef 2012-08-07 07:31:05 -06:00
GL dri: Rework planar image interface 2012-08-31 19:53:45 +02:00
GLES GLES: upgrade glext.h to revision 13240 2011-11-03 15:09:43 +08:00
GLES2 GLES2: upgrade gl2ext.h to version 18099 2012-07-04 15:26:22 -04:00
KHR Update KHRONOS_APICALL for _WIN32 platform. 2010-05-31 11:31:07 +08:00
pci_ids i965: add more Haswell PCI IDs 2012-08-07 11:13:47 -03:00
VG st/vega: Update to latest headers. 2010-12-01 11:23:51 +08:00