r300g: consolidate common render code into one function
authorMarek Olšák <maraeo@gmail.com>
Fri, 7 May 2010 19:46:09 +0000 (21:46 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 8 May 2010 21:03:44 +0000 (23:03 +0200)
commitda180a8d34a3d17345d71b215a7d20f24fe4b078
treef8dada26c3e995a62fd825aa0828ced16a31f125
parente9fc5b463f994b3dc1ac8ad2d574e24025d9926e
r300g: consolidate common render code into one function

This reduces redundant code by moving:
- CS space reservation
- buffer validation
- dirty state emission
- index bias emission
- AOS emission
into r300_prepare_for_rendering.
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r300/r300_render.h