From 49ab625ed0f10b10d13bdcc5797fb97a252ac2e8 Mon Sep 17 00:00:00 2001 From: David Reveman Date: Fri, 19 May 2006 12:36:26 +0000 Subject: [PATCH] Disable YUY2 format --- ChangeLog | 5 +++++ hw/xgl/xglxv.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7e6e54315..2a42059f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-05-19 David Reveman + + * hw/xgl/xglxv.c (xglXvInitAdaptors): Disable YUY2 format as + it's not accelerated and the software fallback got issues. + 2006-05-11 David Reveman * composite/compalloc.c (compRedirectWindow): Init borderClipX and diff --git a/hw/xgl/xglxv.c b/hw/xgl/xglxv.c index e9191bcfb..4475a8ae6 100644 --- a/hw/xgl/xglxv.c +++ b/hw/xgl/xglxv.c @@ -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;