[Mesa3d-dev] [Bug 24226] libGL tries using direct mode when it should use indirect (only tries indirect if forced)

2009-10-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24226 --- Comment #14 from Chia-I Wu 2009-10-08 21:00:10 PST --- (In reply to comment #12) > I might not be understanding the issue correctly, but you can build GLX to > only > support indirect rendering. Basically, the code needs to build without

[Mesa3d-dev] [Bug 24226] libGL tries using direct mode when it should use indirect (only tries indirect if forced)

2009-10-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24226 --- Comment #13 from Chia-I Wu 2009-10-08 20:49:45 PST --- (In reply to comment #11) > From my experience working on a similar problem with the Cygwin/X DDX, I think > the real problem is that the config matching code expects to exactly match

Re: [Mesa3d-dev] Importing "real" strtod code

2009-10-08 Thread Eric Anholt
On Thu, 2009-10-08 at 16:32 -0600, Brian Paul wrote: > Chris Rankin wrote: > > --- On Thu, 8/10/09, tom fogal wrote: > >> What about > >> > >> char *lang = getenv("LANG"); > >> setenv("LANG", "POSIX", 1); > >> strtod(...); > >> setenv("LANG", lang, 1); > >> > >> i.e. push / pop the LANG va

Re: [Mesa3d-dev] Importing "real" strtod code

2009-10-08 Thread Chris Rankin
--- On Thu, 8/10/09, Brian Paul wrote: > I think that we could just bracket the call to > _slang_compile() with the set/restore-locale calls. Is that wise? Does multi-threaded behaviour matter here? I think the locale is global. "The strtod() and atof() functions can be used safely in multithre

Re: [Mesa3d-dev] Importing "real" strtod code

2009-10-08 Thread Brian Paul
Chris Rankin wrote: > --- On Thu, 8/10/09, tom fogal wrote: >> What about >> >> char *lang = getenv("LANG"); >> setenv("LANG", "POSIX", 1); >> strtod(...); >> setenv("LANG", lang, 1); >> >> i.e. push / pop the LANG value? > > The neater way to implement that solution would be to use > >

Re: [Mesa3d-dev] Importing "real" strtod code

2009-10-08 Thread Chris Rankin
--- On Thu, 8/10/09, tom fogal wrote: > What about > >   char *lang = getenv("LANG"); >   setenv("LANG", "POSIX", 1); >   strtod(...); >   setenv("LANG", lang, 1); > > i.e. push / pop the LANG value? The neater way to implement that solution would be to use char *oldLocale = setlocale(LC_NUMER

Re: [Mesa3d-dev] Importing "real" strtod code

2009-10-08 Thread tom fogal
Ian Romanick writes: > The root cause of bug #23308 has been determined to be the use of > strtod in our assembly and GLSL parsers. When LANG is set to a > locale that changes the radix from "." to, say, ",", floating point > numbers are not parsed correctly. > > It seems that the correct fix is

[Mesa3d-dev] Importing "real" strtod code

2009-10-08 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The root cause of bug #23308 has been determined to be the use of strtod in our assembly and GLSL parsers. When LANG is set to a locale that changes the radix from "." to, say, ",", floating point numbers are not parsed correctly. It seems that the c

[Mesa3d-dev] [Bug 24226] libGL tries using direct mode when it should use indirect (only tries indirect if forced)

2009-10-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24226 --- Comment #12 from Dan Nicholson 2009-10-08 14:03:26 PST --- (In reply to comment #11) > > It would be nice if for Xservers which can only do indirect acceleration, > there > was a way to cause local clients to automatically use the indi

[Mesa3d-dev] [Bug 24334] mesa git fails to build with xf86vidmodeproto 2.3

2009-10-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24334 Dan Nicholson changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #1 from Dan Nich

Re: [Mesa3d-dev] [PATCH] adds a test that checks for the bug 23746 that causes glUseProgram to fail when included in a display list.

2009-10-08 Thread Nicolai Hähnle
Am Wednesday 07 October 2009 23:31:02 schrieb Ben Holmes: > --- > tests/all.tests |5 +- > tests/bugs/CMakeLists.txt |1 + > tests/bugs/fdo23746.c | 193 > + 3 files changed, 197 > insertions(+), 2 deletions(-) > create mode 100644

[Mesa3d-dev] [Bug 24365] [7.6] glxinfo: main/context.c:640: check_context_limits: Assertion failed

2009-10-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24365 --- Comment #6 from Nicolai Hähnle 2009-10-08 10:15:27 PST --- Actually, r300_context.c does the following: ctx->Const.MaxTextureImageUnits = driQueryOptioni(&r300->radeon.optionCache, "texture_image_units"); ctx

[Mesa3d-dev] [Bug 24334] mesa git fails to build with xf86vidmodeproto 2.3

2009-10-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24334 Konstantin changed: What|Removed |Added CC||ernestoguev...@gmx.net -- Configure bug

Re: [Mesa3d-dev] [PATCH] Regenerate gl_mangle.h.

2009-10-08 Thread Brian Paul
tom fogal wrote: > Attached. This didn't apply to the 7.6 branch (which needs a new gl_mangle.h too) so I just regenerated it here myself. Thanks. -Brian -- Come build with us! The BlackBerry(R) Developer Conference i

[Mesa3d-dev] [Bug 24365] [7.6] glxinfo: main/context.c:640: check_context_limits: Assertion failed

2009-10-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24365 --- Comment #5 from Brian Paul 2009-10-08 07:37:18 PST --- Can you build Mesa 7.6 in debug mode and re-run? -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You

[Mesa3d-dev] [Bug 24226] libGL tries using direct mode when it should use indirect (only tries indirect if forced)

2009-10-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24226 Jon TURNEY changed: What|Removed |Added CC||jon.tur...@dronecode.org.uk --- Comment

[Mesa3d-dev] [Bug 24226] libGL tries using direct mode when it should use indirect (only tries indirect if forced)

2009-10-08 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24226 --- Comment #10 from Chia-I Wu 2009-10-08 03:10:44 PST --- Any comment on the patch? IMO, the issue is a general one that can be seen on XQuartz and other non-DRI based X servers. -- Configure bugmail: http://bugs.freedesktop.org/userpref

[Mesa3d-dev] [PATCH 0/5] egl: core updates

2009-10-08 Thread Chia-I Wu
Hi, This patch series introduces two features to EGL core and fixes some conformance issues. The first feature is support for built-in driver. The other one is to allow driver to install a customized logger for _eglLog(). The first patch adds built-in driver support. It is adapted from WINDOWS_