OSDN Git Service

[965] Allow more than one draw_prims per batchbuffer.
authorEric Anholt <eric@anholt.net>
Wed, 9 Jan 2008 22:21:52 +0000 (14:21 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 9 Jan 2008 22:41:54 +0000 (14:41 -0800)
commit7da98d7ebaf4475812f2ce44062d50bee393faf7
tree39ecd24abfc831ef7b19933b2ec1e5d26c53f3a7
parentdc1608ae9d90a490ce32aa005488e3591a6d8369
[965] Allow more than one draw_prims per batchbuffer.

The comment about (vbo)_exec_api.c appeared to be stale, as the VBO code seems
to only use non-named VBOs (not actual VBOs) or freshly-allocated VBO data.

This brings a 2x speedup to openarena, because we can submit nearly-full
batchbuffers instead of many 450-byte ones.
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_vtbl.c