summaryrefslogtreecommitdiff
path: root/src/mesa/sparc/sparc.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-02-08 16:57:26 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-02-21 12:59:34 +0000
commitd0809d7b15ba58c05bb0b63128c9cf7042304cd2 (patch)
treef1b3f8f6b85f7ab0cd9bcbd221245950b4202e63 /src/mesa/sparc/sparc.c
parent45ba7afbd15b28ffd61548ee46334ff4527a7cde (diff)
intel: Use system memory for DYNAMIC_DRAW source objects
Dynamic draw buffers are used by clients for temporary arrays and for uploading normal vertex arrays. By keeping the data in memory, we can avoid reusing active buffer objects and reallocate them as they are changed. This is important for Sandybridge which can not issue blits within a batch and so ends up flushing the batch upon every update, that is each batch only contains a single draw operation (if using dynamic arrays or regular arrays from system memory). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/mesa/sparc/sparc.c')
0 files changed, 0 insertions, 0 deletions