diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-10-31 23:51:30 +0100 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2010-11-06 01:59:59 +0100 |
commit | 2e64c2209e7f9d5acbcc9d70bf315732f3c403b3 (patch) | |
tree | db64ff8d903ccee8c3cf0c8b894d5b313cc96fce /docs/relnotes-7.10.html | |
parent | f1600d3a9725803f0526fb3fd673787307539d27 (diff) |
vbo: Avoid unnecessary copy to/from current in vertex format upgrade.
Rebuilding the vertex format from scratch every time we see a new
vertex attribute is rather costly, new attributes can be appended at
the end avoiding a copy to current and then back again, and the full
attr pointer recalculation.
In the not so likely case of an already existing attribute having its
size increased the old behavior is preserved, this could be optimized
more, not sure if it's worth it.
It's a modest improvement in FlightGear (that game punishes the VBO
module pretty hard in general, framerate goes from some 46 FPS to 50
FPS with the nouveau classic driver).
Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'docs/relnotes-7.10.html')
0 files changed, 0 insertions, 0 deletions