summaryrefslogtreecommitdiff
path: root/src/i915_video.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-19 14:50:12 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-05-24 09:36:23 +0100
commitf64ab9e0d97dd9c654b4ae1924e62ef6813d9bb0 (patch)
tree4a02e0b82b5a26a4d1a5649119c1632cbfe64a89 /src/i915_video.c
parent2b050f330f78d02e7f476e55be29d760271ac61c (diff)
i915: Move vertices into a vertex buffer object.
In theory this should allow us to pack far more operations into a single batch buffer, and reduce our overheads. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i915_video.c')
-rw-r--r--src/i915_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i915_video.c b/src/i915_video.c
index 2ccd502c..bbac610b 100644
--- a/src/i915_video.c
+++ b/src/i915_video.c
@@ -397,7 +397,7 @@ I915DisplayVideoTextured(ScrnInfoPtr scrn,
dxo = dstRegion->extents.x1;
dyo = dstRegion->extents.y1;
- OUT_BATCH(PRIM3D_INLINE | PRIM3D_RECTLIST | (12 * nbox_this_time - 1));
+ OUT_BATCH(PRIM3D_RECTLIST | (12 * nbox_this_time - 1));
while (nbox_this_time--) {
int box_x1 = pbox->x1;
int box_y1 = pbox->y1;