From bce209cd3f60cb5d51aadc5fc8ec1a4151435ec3 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 19 May 2006 17:13:37 -0700 Subject: [PATCH] Put in code for idling accelerator on subsequent cliprects. --- src/i830_video.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/i830_video.c b/src/i830_video.c index 27d6c798..aa263b1d 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -2945,7 +2945,13 @@ BroadwaterDisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id, int vert_data_count; if (!first_output) { - /* XXX: idle */ + /* Since we use the same little vertex buffer over and over, sync for + * subsequent rectangles. + */ + if (pI830->AccelInfoRec && pI830->AccelInfoRec->NeedToSync) { + (*pI830->AccelInfoRec->Sync)(pScrn); + pI830->AccelInfoRec->NeedToSync = FALSE; + } } pbox++;