On Fri, Jun 23, 2017 at 11:48 AM, Lucas Stach <[email protected]> wrote: > Push this format to the pipe driver unchanged. > > Signed-off-by: Lucas Stach <[email protected]> > --- > include/GL/internal/dri_interface.h | 1 + > src/gallium/state_trackers/dri/dri2.c | 7 +++++++ > 2 files changed, 8 insertions(+) > > diff --git a/include/GL/internal/dri_interface.h > b/include/GL/internal/dri_interface.h > index fc2d4bbe22ef..69188a2a0da3 100644 > --- a/include/GL/internal/dri_interface.h > +++ b/include/GL/internal/dri_interface.h > @@ -1167,6 +1167,7 @@ struct __DRIdri2ExtensionRec { > #define __DRI_IMAGE_FORMAT_ARGB1555 0x100c > #define __DRI_IMAGE_FORMAT_R16 0x100d > #define __DRI_IMAGE_FORMAT_GR1616 0x100e > +#define __DRI_IMAGE_FORMAT_YUYV 0x100f
Shouldn't UYVY also be supported? Looks like etnaviv has some mention of it. The other 2 possible orderings seem less common and only supported by AMD drivers. Rob _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
