i965: Avoid re-uploading the index buffer when we don't need to.
authorEric Anholt <eric@anholt.net>
Tue, 11 Aug 2009 21:48:03 +0000 (14:48 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 12 Aug 2009 19:43:42 +0000 (12:43 -0700)
commit255e5be265133280293bbfd8b2f9b74b2dec50bb
tree4658e135973b453cccffdb410fec62c555495b09
parenta245c05dd3a1ca48204dd84252e6964aba91d4df
i965: Avoid re-uploading the index buffer when we don't need to.

No performance difference proven at 95% confidence with my GLSL demo (n=10).
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_draw_upload.c
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c