On Mon, Apr 23, 2012 at 4:54 AM, Gwenole Beauchesne <gb.de...@gmail.com> wrote: > Hi, > > This patch series corresponds to the DRI2 changes needed for my new > refactored Wayland and VA/EGL proposals to handle YUV buffers and also > a means to differentiate progressive/interlaced contents.
fwiw, for x11 side of things, I had previously made some patches to push yuv buffers to xserver via an extension to dri2 proto: http://www.mail-archive.com/xorg-devel@lists.x.org/msg26486.html I've not had time to work on this for a while, so the patches may be a bit dusty, but maybe a good time to resurrect this. looks like your changes are mainly intended for wayland, but I suppose there should be some way to make this work in x11 as well, to keep things more similar looking for the stuff on top of the winsys backend.. BR, -R > For interlaced contents on Intel GenX, we can keep a unique stride and > fill in additional surface state fields. For other drivers, unless > there are similar features, we could just double the stride, half the > height and offset the buffer by the original stride for bottom fields. > > Regards, > Gwenole Beauchesne (5): > dri2: add createImageFromName2() hook. > dri2: add new image formats. > dri2: add picture structure. > dri2: add DRI image offset to base bo. > dri2: bump DRI image interface version. > > include/GL/internal/dri_interface.h | 28 +++++++++++++++++++++++++++- > 1 files changed, 27 insertions(+), 1 deletions(-) > > -- > 1.7.5.4 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev