summaryrefslogtreecommitdiff
path: root/src/i830_video.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-05-19 17:13:37 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-05-19 17:13:37 -0700
commitbce209cd3f60cb5d51aadc5fc8ec1a4151435ec3 (patch)
tree4650704a17042d99257c17cb02cb976e0fa36d7f /src/i830_video.c
parent3640117bd9f2073ff54dc474f0cdefff49742584 (diff)
Put in code for idling accelerator on subsequent cliprects.
Diffstat (limited to 'src/i830_video.c')
-rw-r--r--src/i830_video.c8
1 files changed, 7 insertions, 1 deletions
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++;