[Mesa-dev] [PATCH] util: require debug options to be separated by commas

2011-01-24 Thread Marek Olšák
Let's assume there are two options with names such that one is a substring of another. Previously, if we only specified the longer one as a debug option, the shorter one would be considered specified as well (because of strstr). This commit fixes it by checking that each option is surrounded by com

[Mesa-dev] [Bug 32677] egl_dri.so depends on _glapi_get_proc_address

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32677 Jammy Zhou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 33446] make distclean leaves some files

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33446 --- Comment #1 from Brian Paul 2011-01-24 20:12:22 PST --- Could you provide a patch to fix this? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assign

Re: [Mesa-dev] [PATCH 1/2] mesa: support internalFormat=GL_BGRA in TexImage2D

2011-01-24 Thread Brian Paul
2011/1/24 Kristian Høgsberg : > 2011/1/24 Brian Paul : >> On 01/24/2011 04:18 PM, Kristian Høgsberg wrote: >>> >>> On Sat, Jan 22, 2011 at 11:42 AM, Benjamin Franzke >>>  wrote: 2011/1/18 Brian Paul: > > Before we commit this stuff can you develop a piglit test to test it? >

[Mesa-dev] [Bug 33447] Code uses _GNU_SOURCE to determine locale facilities are available

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33447 --- Comment #2 from Brian Paul 2011-01-24 20:08:26 PST --- Feel free to provide a patch to fix these issues. Thanks. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --

[Mesa-dev] [Bug 33374] [bisect] FTBFS on commit 9767d3b5 (glapi: Fix OpenGL ES 1.1 and 2.0 interop)

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33374 --- Comment #3 from Dave Witbrodt 2011-01-24 19:17:13 PST --- Created an attachment (id=42428) --> (https://bugs.freedesktop.org/attachment.cgi?id=42428) Crash of makedepend with options shown -- Configure bugmail: https://bugs.freedesktop.or

[Mesa-dev] [Bug 33374] [bisect] FTBFS on commit 9767d3b5 (glapi: Fix OpenGL ES 1.1 and 2.0 interop)

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33374 --- Comment #2 from Dave Witbrodt 2011-01-24 19:15:58 PST --- (In reply to comment #1) > makedepend crashed when being executed in src/mapi/shared-glapi/. OK > If your xutils-dev is not up-to-date, update it first. Thanks for mentioning this

[Mesa-dev] [Bug 33447] Code uses _GNU_SOURCE to determine locale facilities are available

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33447 --- Comment #1 from Bryan Henderson 2011-01-24 19:08:23 PST --- Additional advice: The value of __GLIBC__ is the major release number. __GLIBC_MINOR__ is the minor release number. So GNU C Library version 2.7 as __GLIBC__ = 2, __GLIBC_MINOR__

Re: [Mesa-dev] [PATCH 1/2] mesa: support internalFormat=GL_BGRA in TexImage2D

2011-01-24 Thread Kristian Høgsberg
2011/1/24 Brian Paul : > On 01/24/2011 04:18 PM, Kristian Høgsberg wrote: >> >> On Sat, Jan 22, 2011 at 11:42 AM, Benjamin Franzke >>  wrote: >>> >>> 2011/1/18 Brian Paul: Before we commit this stuff can you develop a piglit test to test it? >>> >>> The problem for me is that piglit

[Mesa-dev] [Bug 33447] New: Code uses _GNU_SOURCE to determine locale facilities are available

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33447 Summary: Code uses _GNU_SOURCE to determine locale facilities are available Product: Mesa Version: 7.9 Platform: Other OS/Version: Linux (All) Status: NEW

[Mesa-dev] [Bug 33446] New: make distclean leaves some files

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33446 Summary: make distclean leaves some files Product: Mesa Version: 7.9 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Componen

[Mesa-dev] [Bug 32677] egl_dri.so depends on _glapi_get_proc_address

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32677 Bug 32677 depends on bug 32254, which changed state. Bug 32254 Summary: EGL+OpenGL API failed to work https://bugs.freedesktop.org/show_bug.cgi?id=32254 What|Old Value |New Value -

[Mesa-dev] [Bug 32254] EGL+OpenGL API failed to work

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32254 Jammy Zhou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 32254] EGL+OpenGL API failed to work

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32254 --- Comment #10 from Jammy Zhou 2011-01-24 18:25:13 PST --- This problem has been fixed in latest mesa driver with fix for GL and GLES interop. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receivin

[Mesa-dev] [Bug 32285] Check OpenGL and OpenGL ES2.0 renderer info in one process

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32285 --- Comment #5 from Jammy Zhou 2011-01-24 18:11:57 PST --- I just tried latest mesa driver with the patch series of GL and GLES interop, but the problem is still there with the original test application attached. The GLES2.0 renderer info was N

Re: [Mesa-dev] [PATCH 1/2] mesa: support internalFormat=GL_BGRA in TexImage2D

2011-01-24 Thread Brian Paul
On 01/24/2011 04:18 PM, Kristian Høgsberg wrote: On Sat, Jan 22, 2011 at 11:42 AM, Benjamin Franzke wrote: 2011/1/18 Brian Paul: Before we commit this stuff can you develop a piglit test to test it? The problem for me is that piglit is GL-only atm. so its not trival to write a simple gles

Re: [Mesa-dev] [PATCH 1/2] mesa: support internalFormat=GL_BGRA in TexImage2D

2011-01-24 Thread Kristian Høgsberg
On Sat, Jan 22, 2011 at 11:42 AM, Benjamin Franzke wrote: > 2011/1/18 Brian Paul : >> >> Before we commit this stuff can you develop a piglit test to test it? >> > > The problem for me is that piglit is GL-only atm. so its not trival to > write a simple gles2 test-program, as changes to piglit-uti

[Mesa-dev] [Bug 33440] New: _gl_DispatchTSD in glapi_x86_64.S has incorrect relocation type

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33440 Summary: _gl_DispatchTSD in glapi_x86_64.S has incorrect relocation type Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: All Status: NEW S

[Mesa-dev] [Bug 33433] New: .type directives in glapi_x86.S miss required @ character

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33433 Summary: .type directives in glapi_x86.S miss required @ character Product: Mesa Version: git Platform: x86 (IA32) OS/Version: All Status: NEW Severity: n

[Mesa-dev] [Bug 33360] inclusion of $(TALLOC_LIBS) in src/mesa/drivers/osmesa/Makefile causes a build failure

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33360 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 33388] Dubious assembler in xform4.S

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33388 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 33392] EGL w/ hardware accel. not possible with intel + nouveau in one build

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33392 Darxus changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [PATCH 5/6] Remove talloc from the SCons build system.

2011-01-24 Thread Kenneth Graunke
--- src/SConscript|4 src/gallium/targets/SConscript.dri|1 - src/gallium/targets/egl-static/SConscript |2 +- src/gallium/targets/libgl-gdi/SConscript |1 - src/gallium/targets/libgl-xlib/SConscript |1 - src/glsl/SConscript

[Mesa-dev] [PATCH 4/6] Remove talloc from the make and automake build systems.

2011-01-24 Thread Kenneth Graunke
--- configs/autoconf.in |3 --- configs/default |5 + configs/linux-dri|2 +- configs/linux-llvm |2 +- configure.ac | 14 +- src/glsl/Makefile|6 ++ src/mesa/M

[Mesa-dev] [PATCH 3/6] ralloc: a new MIT-licensed recursive memory allocator.

2011-01-24 Thread Kenneth Graunke
--- src/glsl/ralloc.c | 306 +++-- src/glsl/ralloc.h |9 ++- 2 files changed, 280 insertions(+), 35 deletions(-) diff --git a/src/glsl/ralloc.c b/src/glsl/ralloc.c index 5f030ac..e92f433 100644 --- a/src/glsl/ralloc.c +++ b/src/glsl/ralloc.c @@

[Mesa-dev] [PATCH 1/6] ralloc: Add a fake implementation of ralloc based on talloc.

2011-01-24 Thread Kenneth Graunke
--- src/glsl/Makefile |1 + src/glsl/SConscript |1 + src/glsl/ralloc.c | 202 ++ src/glsl/ralloc.h | 338 +++ 4 files changed, 542 insertions(+), 0 deletions(-) create mode 100644 src/glsl/ralloc.c creat

[Mesa-dev] Switching from talloc

2011-01-24 Thread Kenneth Graunke
Hello, This patch series introduces 'ralloc', an MIT-licensed recursive memory allocator inspired by talloc. Since the glsl2 merge, there have been concerns over using talloc in Mesa due to its LGPLv3 license. Whether or not these are founded, switching to ralloc would alleviate these concerns a

Re: [Mesa-dev] two memory leaks

2011-01-24 Thread twied
Hi, Those two are still there with current master (e0c4a59dc6c415c2abf6e0c5e3aaf5aee781cdf1). False positive in Valgrind? Cheers, Tim Am 24.01.2011, 16:53 Uhr, schrieb Joakim Sindholt : Could you try updating to HEAD and trying again? Having just looked at the cleanup code, it appears to be

Re: [Mesa-dev] [PATCH 3/3] r600g: Implement timer queries.

2011-01-24 Thread Mathias Fröhlich
Hi Alex, On Monday, January 24, 2011 02:08:20 Alex Deucher wrote: > It varies based on what crystal is on the card (27 Mhz is the most > common, but you also see 100 Mhz, and 14.32 Mhz as well). We'll need > a new radeon_info ioctl query (see attached). Ok, great. With your patch to the kernel

[Mesa-dev] [Bug 33388] Dubious assembler in xform4.S

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33388 --- Comment #2 from Dimitry Andric 2011-01-24 10:01:43 PST --- Yes, I have built and run the Mesa port on FreeBSD several times with this patch. In any case, it is very simple to show the patch does not change the output at all. Just use GNU a

[Mesa-dev] [Bug 33360] inclusion of $(TALLOC_LIBS) in src/mesa/drivers/osmesa/Makefile causes a build failure

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33360 --- Comment #3 from Arthur Marsh 2011-01-24 08:37:23 PST --- I did a git reset --hard followed by git pull and the source then rebuilt successfully. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are rec

Re: [Mesa-dev] [PATCH 2/4] secure malloc in translate_cache_create

2011-01-24 Thread Brian Paul
On 01/24/2011 08:59 AM, Tim Wiederhake wrote: --- src/gallium/auxiliary/translate/translate_cache.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/translate/translate_cache.c b/src/gallium/auxiliary/translate/translate_cache.c index d8069a1..

Re: [Mesa-dev] [PATCH 4/4] add machine generated files to .gitignore

2011-01-24 Thread Brian Paul
On 01/24/2011 08:59 AM, Tim Wiederhake wrote: --- src/mapi/es1api/.gitignore |1 + src/mapi/es2api/.gitignore |1 + src/mapi/shared-glapi/.gitignore |2 ++ 3 files changed, 4 insertions(+), 0 deletions(-) create mode 100644 src/mapi/shared-glapi/.gitignore diff --g

[Mesa-dev] [Bug 33388] Dubious assembler in xform4.S

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33388 --- Comment #1 from Brian Paul 2011-01-24 08:14:43 PST --- I'm not an x86 assembly expert and the original author isn't involved anymore. Have you tested this change with a few things? If there's no concerns I'll commit the patch in a few days.

[Mesa-dev] [Bug 33386] Dubious assembler in read_rgba_span_x86.S

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33386 Brian Paul changed: What|Removed |Added AssignedTo|mesa-dev@lists.freedesktop. |i...@freedesktop.org |org

[Mesa-dev] [PATCH 4/4] add machine generated files to .gitignore

2011-01-24 Thread Tim Wiederhake
--- src/mapi/es1api/.gitignore |1 + src/mapi/es2api/.gitignore |1 + src/mapi/shared-glapi/.gitignore |2 ++ 3 files changed, 4 insertions(+), 0 deletions(-) create mode 100644 src/mapi/shared-glapi/.gitignore diff --git a/src/mapi/es1api/.gitignore b/src/mapi/es1api/.gi

[Mesa-dev] [PATCH 3/4] fix potential leak in r600_context_init

2011-01-24 Thread Tim Wiederhake
--- src/gallium/winsys/r600/drm/r600_hw_context.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/gallium/winsys/r600/drm/r600_hw_context.c b/src/gallium/winsys/r600/drm/r600_hw_context.c index f10e2fd..acbe22a 100644 --- a/src/gallium/winsys/r600/drm/r600_hw_contex

[Mesa-dev] [PATCH 2/4] secure malloc in translate_cache_create

2011-01-24 Thread Tim Wiederhake
--- src/gallium/auxiliary/translate/translate_cache.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/translate/translate_cache.c b/src/gallium/auxiliary/translate/translate_cache.c index d8069a1..3f1ecb6 100644 --- a/src/gallium/auxiliary/transla

[Mesa-dev] [PATCH 1/4] silences some valgrind warnings

2011-01-24 Thread Tim Wiederhake
==5547== Conditional jump or move depends on uninitialised value(s) ==5547==at 0x8FE745D: r600_drm_winsys_create (r600_drm.c:86) --- src/gallium/winsys/r600/drm/r600_drm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/winsys/r600/drm/r600_drm.c b/src/ga

Re: [Mesa-dev] two memory leaks

2011-01-24 Thread Joakim Sindholt
Could you try updating to HEAD and trying again? Having just looked at the cleanup code, it appears to be fixed. On Mon, 2011-01-24 at 16:42 +0100, twied wrote: > Hi, > > I think I found two memory leaks: > > Valgrind: > ==27418== 112 bytes in 2 blocks are definitely lost in loss record 105 of 1

[Mesa-dev] two memory leaks

2011-01-24 Thread twied
Hi, I think I found two memory leaks: Valgrind: ==27418== 112 bytes in 2 blocks are definitely lost in loss record 105 of 157 ==27418==at 0x4C2380C: calloc (vg_replace_malloc.c:467) ==27418==by 0x8FCF794: r600_create_surface (r600_texture.c:419) Code: struct r600_surface *surface = CALL

[Mesa-dev] [Bug 33360] inclusion of $(TALLOC_LIBS) in src/mesa/drivers/osmesa/Makefile causes a build failure

2011-01-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33360 --- Comment #2 from Brian Paul 2011-01-24 07:04:02 PST --- Can you test Mesa git as of commit 7d6abd254a46e37a27401c3ae0ce0645d8b0decd? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this ma

Re: [Mesa-dev] [PATCH] osmesa: mklib requires arguments before objects

2011-01-24 Thread Brian Paul
On 01/23/2011 09:22 PM, Christopher James Halse Rogers wrote: Fixes the build when selecting driver=osmesa and building static libraries. Otherwise, mklib tries to add the ‘-ltalloc’ object to the archive, which obviously fails. Clients which statically link to osmesa will need to link to libtal