On Jan 13, 2015 6:38 PM, "Kenneth Graunke" <kenn...@whitecape.org> wrote:
>
> On Tuesday, January 13, 2015 10:28:20 AM Jason Ekstrand wrote:
> > Going through the for loop every time has noticable overhead.  This
fixes
> > things up so we only do that once ever and then just do a hash table
lookup
> > which should be much cheaper.
> > ---
> >  src/mesa/main/formats.c | 67
+++++++++++++++++++++++++++++++++++++++++--------
> >  1 file changed, 56 insertions(+), 11 deletions(-)
>
> This will break Windows.

Why? We have a C++11-based  implementation of pthread_once.
--Jason
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to