diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-02 11:25:05 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-03 14:05:30 +0000 |
commit | a1fa0dbfdafea32139d4457d81b9d722df955eaf (patch) | |
tree | 0e84f3ea2d10e46471b88d637d98172c75b285a6 /src/intel_uxa.c | |
parent | 23437fe6769322d48cc3d264660717475b5d0d74 (diff) |
i965: Upload an entire vbo in a single pwrite, rather than per-rectangle
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_uxa.c')
-rw-r--r-- | src/intel_uxa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel_uxa.c b/src/intel_uxa.c index 8db0ef0d..9310e895 100644 --- a/src/intel_uxa.c +++ b/src/intel_uxa.c @@ -1178,6 +1178,8 @@ Bool intel_uxa_init(ScreenPtr screen) intel->render_current_dest = NULL; intel->prim_offset = 0; intel->vertex_count = 0; + intel->vertex_offset = 0; + intel->vertex_used = 0; intel->floats_per_vertex = 0; intel->last_floats_per_vertex = 0; intel->vertex_bo = NULL; @@ -1221,6 +1223,7 @@ Bool intel_uxa_init(ScreenPtr screen) intel->uxa_driver->composite = i965_composite; intel->uxa_driver->done_composite = i830_done_composite; + intel->vertex_flush = i965_vertex_flush; intel->batch_flush_notify = i965_batch_flush_notify; } |