summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-01-27 00:39:42 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2010-02-18 15:39:27 +0100
commitdba9a87ca05b345592653915db0ccf4e655ab410 (patch)
tree55a77b70086de4afa355a6dafca1f6636f428b69 /src/mesa
parente191d0895db3e1e675c2e908940d98767d486a55 (diff)
Use burst command for vertex submission
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/glamo/glamo_render.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/glamo/glamo_render.c b/src/mesa/drivers/dri/glamo/glamo_render.c
index 2ecd0c7682..f27d7fb452 100644
--- a/src/mesa/drivers/dri/glamo/glamo_render.c
+++ b/src/mesa/drivers/dri/glamo/glamo_render.c
@@ -99,9 +99,10 @@ static void glamoFlushPrim(struct glamo_context *gCtx)
gCtx->prim.vb);
/* Dispatch to the hardware */
- glamoDRMAddCommand(gCtx, G3D_STREAM_MODE_0, 4, 0x000f0300);
- glamoDRMAddCommandBO(gCtx, G3D_STREAM_BASE_0, 4, gCtx->prim.vb_bo);
- glamoDRMDispatchCmdq(gCtx);
+ glamoDRMStartBurst(gCtx, G3D_STREAM_MODE_0);
+ glamoDRMAddData(gCtx, 0x000f0300, 4);
+ glamoDRMAddBO(gCtx, gCtx->prim.vb_bo);
+ glamoDRMDispatch(gCtx);
/* Please use a new BO for the next buffer */
gCtx->prim.vb_bo = NULL;