diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-08 16:57:26 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-21 12:59:34 +0000 |
commit | d0809d7b15ba58c05bb0b63128c9cf7042304cd2 (patch) | |
tree | f1b3f8f6b85f7ab0cd9bcbd221245950b4202e63 /src/mesa/vbo/vbo_save_api.c | |
parent | 45ba7afbd15b28ffd61548ee46334ff4527a7cde (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/vbo/vbo_save_api.c')
0 files changed, 0 insertions, 0 deletions