[Bug 37142] Too much vertex buffers uploads

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 17 05:33:51 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37142

--- Comment #7 from Pierre-Eric Pelloux-Prayer <pelloux at gmail.com> 2011-05-17 05:33:51 PDT ---
Created an attachment (id=46804)
 View: https://bugs.freedesktop.org/attachment.cgi?id=46804
 Review: https://bugs.freedesktop.org/review?bug=37142&attachment=46804

vertex buffer upload caching

Here's a patch adding vertex buffer upload caching. 
It's not extensively tested (only with custom app and openarena), and is a bit
hackish (mainly regarding : ctx->Array.NewState field, but it seems unused
elsewhere).
Anyway, it allowed me to do some testing and confirm the initial guess : it
brings no performance improvements to openarena :-/ (but that was expected, as
profiling the game tells that u_upload_data < 1% cpu time)

So I guess the handling of EXT_compiled_vertex_array is useless - maybe with 1
exception : lower end video cards with lower bandwidth ? I can't test this
scenario here, as I only have AMD HD4850.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list