r300g/swtcl: simplify vertex uploading
authorMarek Olšák <maraeo@gmail.com>
Fri, 4 Jan 2013 17:00:46 +0000 (18:00 +0100)
committerMarek Olšák <maraeo@gmail.com>
Fri, 4 Jan 2013 20:08:28 +0000 (21:08 +0100)
commitad1d1a4d9e4cb06424d477ddabac5885fa0613af
tree24ec0951d5f09b333f17daca6a5dccc28e61f3fe
parent37fd455b21d4825b569a45ffd5d930347a042cea
r300g/swtcl: simplify vertex uploading

- skip the vertex buffer reallocation in flush and just use
  the unsynchronized flag to get new memory.
- remove the cruft needed to get around the issues with the vertex buffer
  reallocation in flush
- use pb_buffer instead of pipe_resource
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_flush.c
src/gallium/drivers/r300/r300_render.c