Put in code for idling accelerator on subsequent cliprects.

This commit is contained in:
Eric Anholt 2006-05-19 17:13:37 -07:00
parent 3640117bd9
commit bce209cd3f
1 changed files with 7 additions and 1 deletions

View File

@ -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++;