[Mesa-dev] [PATCH] vbo: Avoid copy to current in dlists built from DrawArrays like calls
Brian Paul
brianp at vmware.com
Fri Dec 10 09:18:07 PST 2010
On 12/08/2010 11:03 PM, Mathias Fröhlich wrote:
>
> 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.
I tested with a few things and didn't see any regressions (but let's
be on the lookout for any).
I'll commit it. Thanks.
-Brian
More information about the mesa-dev
mailing list