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

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to