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

Jerome Glisse j.glisse at gmail.com
Thu Dec 9 13:36:35 PST 2010


2010/12/9 Mathias Fröhlich <Mathias.Froehlich at gmx.net>:
>
> 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

Haven't looked closely at the change but do you know a mesa demos that
shows the performance improvement ?

Cheers,
Jerome


More information about the mesa-dev mailing list