[PATCH] dri: Rework planar image interface

2012-08-25 Thread Jakob Bornecrantz
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-alloca

[PATCH] dri: Rework planar image interface

2012-08-25 Thread Jakob Bornecrantz
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-alloca