[Mesa-dev] [PATCH] vbo: Avoid copy to current in dlists built from DrawArrays like calls

Mathias Fröhlich Mathias.Froehlich at gmx.net
Wed Dec 8 22:03:32 PST 2010


Hi,

Attached it a patch that omits the copy to current in display lists that are 
built from draw calls that allow the current state to be undefined like 
glDrawArrays, ...
That change moves the copy to current function down in profiles.
Also ctx->NewState is set less often which might save some recomputations.

Please review/apply.

Thanks!

Mathias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Avoid-the-copy-to-current-in-dlists-if-not-required.patch
Type: text/x-patch
Size: 5894 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20101209/81cd2d66/attachment-0001.bin>


More information about the mesa-dev mailing list