aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/polygon.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-12-18 16:56:22 +0000
committerKeith Whitwell <[email protected]>2008-09-23 18:26:17 -0700
commit33fef8be825ee8ec6abc0c2ffd9a3a967d84df88 (patch)
tree8e16afc8bdd7b781d313c4d39c4853bc99063bbd /src/mesa/main/polygon.c
parent6f765fbde42a4f729780aa39d2b0ed9d736dd5a8 (diff)
vbo: unmap and remap immediate vbo before/after each draw.
Also use BufferData(NULL) to get fresh storage and avoid synchronous operation where we would have to flush and wait for the fence after each draw because of the map. This will chew through a whole load of buffer space on small draws, so it isn't a proper solution. Need to support a no-fence or append mapping mode to do this right, or use user buffers.
Diffstat (limited to 'src/mesa/main/polygon.c')
0 files changed, 0 insertions, 0 deletions