Re: [Mesa-dev] [PATCH] egl: Create queryable strings in eglInitialize().

2015-03-15 Thread Dave Airlie
On 13 March 2015 at 08:37, Chad Versace chad.vers...@intel.com wrote: On 03/10/2015 09:15 PM, Matt Turner wrote: On Tue, Mar 10, 2015 at 8:19 PM, Ian Romanick i...@freedesktop.org wrote: On 03/10/2015 05:20 PM, Matt Turner wrote: Creating/recreating the strings in eglQueryString() is extra

Re: [Mesa-dev] [PATCH] egl: Create queryable strings in eglInitialize().

2015-03-12 Thread Chad Versace
On 03/10/2015 09:15 PM, Matt Turner wrote: On Tue, Mar 10, 2015 at 8:19 PM, Ian Romanick i...@freedesktop.org wrote: On 03/10/2015 05:20 PM, Matt Turner wrote: Creating/recreating the strings in eglQueryString() is extra work and isn't thread-safe, as exhibited by shader-db's run.c using

Re: [Mesa-dev] [PATCH] egl: Create queryable strings in eglInitialize().

2015-03-10 Thread Ian Romanick
On 03/10/2015 05:20 PM, Matt Turner wrote: Creating/recreating the strings in eglQueryString() is extra work and isn't thread-safe, as exhibited by shader-db's run.c using libepoxy. Multiple threads in run.c call eglReleaseThread() around the same time. libepoxy calls eglQueryString() to

Re: [Mesa-dev] [PATCH] egl: Create queryable strings in eglInitialize().

2015-03-10 Thread Matt Turner
On Tue, Mar 10, 2015 at 8:19 PM, Ian Romanick i...@freedesktop.org wrote: On 03/10/2015 05:20 PM, Matt Turner wrote: Creating/recreating the strings in eglQueryString() is extra work and isn't thread-safe, as exhibited by shader-db's run.c using libepoxy. Multiple threads in run.c call

[Mesa-dev] [PATCH] egl: Create queryable strings in eglInitialize().

2015-03-10 Thread Matt Turner
Creating/recreating the strings in eglQueryString() is extra work and isn't thread-safe, as exhibited by shader-db's run.c using libepoxy. Multiple threads in run.c call eglReleaseThread() around the same time. libepoxy calls eglQueryString() to determine whether eglReleaseThread() exists, and