radeong: Don't allocate HW BOs for constantbufs.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 18 Jan 2010 10:30:49 +0000 (02:30 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Mon, 18 Jan 2010 10:35:08 +0000 (02:35 -0800)
commit0857f38c398bf14526bb47e0c57602be4e7a0ae4
tree7792e5d8a9b0eacd2092b2829e6e7c803a3acc6f
parent673ae6266ebf66145bf2bd7d37965f3fe60371d5
radeong: Don't allocate HW BOs for constantbufs.

We have broken 1000 FPS. Hell yes.

Heavily inspired by Marek's patch, but using pipebuffer instead of
a roll-your-own malloc.
src/gallium/winsys/drm/radeon/core/radeon_buffer.c
src/gallium/winsys/drm/radeon/core/radeon_buffer.h
src/gallium/winsys/drm/radeon/core/radeon_drm.c
src/gallium/winsys/drm/radeon/core/radeon_drm.h