[Mesa-dev] [PATCH] add LIBGL_NEVER_INDIRECT env var to disable fallback to indirect

2013-09-25 Thread Chris Forbes
This is useful when working on the drivers, since falling back to indirect rendering means we broke our driver's ability to load somehow. Signed-off-by: Chris Forbes chr...@ijw.co.nz --- docs/envvars.html | 1 + src/glx/glxext.c | 10 -- 2 files changed, 9 insertions(+), 2 deletions(-)

Re: [Mesa-dev] [PATCH] add LIBGL_NEVER_INDIRECT env var to disable fallback to indirect

2013-09-25 Thread Kenneth Graunke
On 09/25/2013 01:00 PM, Chris Forbes wrote: This is useful when working on the drivers, since falling back to indirect rendering means we broke our driver's ability to load somehow. Signed-off-by: Chris Forbes chr...@ijw.co.nz --- docs/envvars.html | 1 + src/glx/glxext.c | 10

Re: [Mesa-dev] [PATCH] add LIBGL_NEVER_INDIRECT env var to disable fallback to indirect

2013-09-25 Thread Eric Anholt
Chris Forbes chr...@ijw.co.nz writes: This is useful when working on the drivers, since falling back to indirect rendering means we broke our driver's ability to load somehow. How about just making unresolved symbols at dlopen() time fatal? I didn't quite find a way to do so last time I