r300g/swtcl: malloc vertex and index buffers (don't use radeon DRM to get them)
authorMarek Olšák <maraeo@gmail.com>
Fri, 11 May 2012 21:22:21 +0000 (23:22 +0200)
committerMarek Olšák <maraeo@gmail.com>
Fri, 11 May 2012 22:50:53 +0000 (00:50 +0200)
commit21b012d3b022c1c55358226f7bcc52fe50078123
tree4e2b683fb9881391bc9b75c8a644e9d5ec3ad47a
parent8a963d122d4b67209214b0483084ba950814f42b
r300g/swtcl: malloc vertex and index buffers (don't use radeon DRM to get them)

Vertex and index buffers are never used by hardware, only by Draw.
SWTCL chipsets usually have very little memory, so this might help
with stability and reliability.
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r300/r300_screen_buffer.c
src/gallium/drivers/r300/r300_state.c