Disable YUY2 format

This commit is contained in:
David Reveman 2006-05-19 12:36:26 +00:00
parent 19f7abbf95
commit 49ab625ed0
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-05-19 David Reveman <davidr@novell.com>
* hw/xgl/xglxv.c (xglXvInitAdaptors): Disable YUY2 format as
it's not accelerated and the software fallback got issues.
2006-05-11 David Reveman <davidr@novell.com>
* composite/compalloc.c (compRedirectWindow): Init borderClipX and

View file

@ -594,6 +594,11 @@ xglXvInitAdaptors (ScreenPtr pScreen)
pAdaptor->nImages = sizeof (xvImages) / sizeof (XvImageRec);
pAdaptor->pImages = xvImages;
/* XXX: Disable YUY2 format as it's not accelerated and the software
fallback got issues. */
pAdaptor->nImages = sizeof (xvImages) / sizeof (XvImageRec) - 1;
pAdaptor->pImages = &xvImages[1];
/* TODO: Currently no attributes */
pAdaptor->nAttributes = 0;
pAdaptor->pAttributes = 0;