Re: [Mesa-dev] [PATCH 1/2] llvmpipe: use $(CXX) instead of g++ for linking.

2011-06-02 Thread Jose Fonseca
Makes sense to me. Jose - Original Message - This allows setting the path to the C++ compiler. --- src/gallium/drivers/llvmpipe/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/Makefile

[Mesa-dev] Optimize logbase2() function

2011-06-02 Thread Benjamin Bellec
Hello, I performed several tests of the logbase2() function. This function is defined and used in these files: src/mesa/main/teximage.c src/mesa/drivers/dri/intel/intel_tex_image.c src/mesa/drivers/dri/unichrome/via_tex.c src/mesa/drivers/dri/i965/intel_tex_image.c

Re: [Mesa-dev] [PATCH 2/2] i915g: don't destroy a texture buffer if it's NULL.

2011-06-02 Thread Brian Paul
On 06/01/2011 09:50 PM, Stéphane Marchesin wrote: --- src/gallium/drivers/i915/i915_resource_texture.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/i915/i915_resource_texture.c b/src/gallium/drivers/i915/i915_resource_texture.c index

Re: [Mesa-dev] Optimize logbase2() function

2011-06-02 Thread Brian Paul
On 06/02/2011 06:43 AM, Benjamin Bellec wrote: Hello, I performed several tests of the logbase2() function. This function is defined and used in these files: src/mesa/main/teximage.c src/mesa/drivers/dri/intel/intel_tex_image.c src/mesa/drivers/dri/unichrome/via_tex.c

Re: [Mesa-dev] [PATCH 1/2] glx: Fix another case of using req outside of the display lock

2011-06-02 Thread Brian Paul
On 06/01/2011 11:44 AM, Adam Jackson wrote: Signed-off-by: Adam Jacksona...@redhat.com --- src/glx/glxcmds.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index dbfa0ed..8b4151d 100644 --- a/src/glx/glxcmds.c +++

Re: [Mesa-dev] [PATCH 2/2] glx: Remove (unused, broken) fastImageUnpack fast path

2011-06-02 Thread Brian Paul
On 06/01/2011 11:44 AM, Adam Jackson wrote: Signed-off-by: Adam Jacksona...@redhat.com --- src/glx/glxclient.h|8 src/glx/indirect_glx.c |3 - src/glx/renderpix.c| 98 +++- 3 files changed, 39 insertions(+), 70 deletions(-)

[Mesa-dev] [PATCH] Add support of glDrawElementsInstancedBaseVertex

2011-06-02 Thread Pierre-Eric Pelloux-Prayer
Here's a patch adding glDrawElementsInstancedBaseVertex (from GL_ARB_draw_elements_base_vertex) support. A rebuild of glapi is necessary, but the generated patch is over 1Mbytes so I don't think sending it to the ML is a good idea. No regression with piglit and the associated test case has been

[Mesa-dev] [Bug 37862] New: Mesa 7.11-devel implementation error: _mesa_texstore_null() is called

2011-06-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37862 Summary: Mesa 7.11-devel implementation error: _mesa_texstore_null() is called Product: Mesa Version: unspecified Platform: x86-64 (AMD64) OS/Version: other

Re: [Mesa-dev] [PATCH 2/2] glx: Remove (unused, broken) fastImageUnpack fast path

2011-06-02 Thread Adam Jackson
On Thu, 2011-06-02 at 09:19 -0600, Brian Paul wrote: On 06/01/2011 11:44 AM, Adam Jackson wrote: - /* Apply pixel store unpack modes to copy data into buf */ - if (src != NULL) { - (*gc-fillImage) (gc, dim, width, height, depth, format, type, -

[Mesa-dev] [Bug 37862] Mesa 7.11-devel implementation error: _mesa_texstore_null() is called

2011-06-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37862 Sven Arvidsson s...@whiz.se changed: What|Removed |Added CC||s...@whiz.se --- Comment

[Mesa-dev] [Bug 35441] [PATCH] Mesa does not find nouveau include files with --enable-shared-dricore

2011-06-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35441 Johannes Obermayr johannesoberm...@gmx.de changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Mesa-dev] [Bug 37739] Color clear of FBO without color buffer crashes

2011-06-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37739 Ian Romanick i...@freedesktop.org changed: What|Removed |Added Summary|[bisected]oglc fbo subcase |Color clear of FBO

[Mesa-dev] [PATCH] faster util_next_power_of_two() function

2011-06-02 Thread Benjamin Bellec
It's me again, with a new minor optimization for the util_next_power_of_two() function. This patch implements a faster algorithm, still taken from Wikipedia ( http://en.wikipedia.org/wiki/Power_of_two#Algorithm_to_round_up_to_power_of_two ). But especially, I added the most common values used by

[Mesa-dev] [Bug 37739] Color clear of FBO without color buffer crashes

2011-06-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37739 Ian Romanick i...@freedesktop.org changed: What|Removed |Added Status|REOPENED|ASSIGNED

Re: [Mesa-dev] [PATCH] mesa: UseShaderProgramEXT and Uniform* shouldn't be allowed inside Begin/End

2011-06-02 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/31/2011 06:23 AM, Marek Olšák wrote: I couldn't find this being required by the spec. The spec gives a small list of things that can occur inside a Begin/End block. In the 3.0 spec, these commands are listed in section 2.6.3. Only commands

Re: [Mesa-dev] [PATCH 1/2] meta: Don't do srgb to linear decode when blitting srgb textures.

2011-06-02 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/01/2011 01:17 PM, Eric Anholt wrote: Fixes the GL_SRGB8_ALPHA8 - GL_RGBA8 blits in fbo-srgb-blit.c --- src/mesa/drivers/common/meta.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git

Re: [Mesa-dev] [PATCH] glx: Fix use-before-null-check in dri2InvalidateBuffers().

2011-06-02 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/01/2011 01:42 PM, Eric Anholt wrote: The compiler used our dereference here to skip the NULL check below. Fixes window resize in jconsole -J-Dsun.java2d.opengl=True under OpenJDK 6. Bugzilla:

[Mesa-dev] [Bug 35441] [PATCH] Mesa does not find nouveau include files with --enable-shared-dricore

2011-06-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35441 Carl Worth cwo...@cworth.org changed: What|Removed |Added Status|RESOLVED|REOPENED

[Mesa-dev] [Bug 35441] [PATCH] Mesa does not find nouveau include files with --enable-shared-dricore

2011-06-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35441 Brian Paul bri...@vmware.com changed: What|Removed |Added Status|REOPENED|RESOLVED

Re: [Mesa-dev] [PATCH] faster util_next_power_of_two() function

2011-06-02 Thread Brian Paul
On 06/02/2011 03:18 PM, Benjamin Bellec wrote: It's me again, with a new minor optimization for the util_next_power_of_two() function. This patch implements a faster algorithm, still taken from Wikipedia ( http://en.wikipedia.org/wiki/Power_of_two#Algorithm_to_round_up_to_power_of_two ). But

Re: [Mesa-dev] [PATCH] Add support of glDrawElementsInstancedBaseVertex

2011-06-02 Thread Brian Paul
On 06/02/2011 10:45 AM, Pierre-Eric Pelloux-Prayer wrote: Here's a patch adding glDrawElementsInstancedBaseVertex (from GL_ARB_draw_elements_base_vertex) support. A rebuild of glapi is necessary, but the generated patch is over 1Mbytes so I don't think sending it to the ML is a good idea. No

Re: [Mesa-dev] [PATCH] Add support of glDrawElementsInstancedBaseVertex

2011-06-02 Thread Brian Paul
On 06/02/2011 05:56 PM, Brian Paul wrote: On 06/02/2011 10:45 AM, Pierre-Eric Pelloux-Prayer wrote: Here's a patch adding glDrawElementsInstancedBaseVertex (from GL_ARB_draw_elements_base_vertex) support. A rebuild of glapi is necessary, but the generated patch is over 1Mbytes so I don't think

[Mesa-dev] 873379a8818eed9ab16c24728b7091a3a3705c5b missing files?

2011-06-02 Thread Dave Airlie
Hi Brian, did you forget to git add for the nouveau dri-core fix? Dave. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] 873379a8818eed9ab16c24728b7091a3a3705c5b missing files?

2011-06-02 Thread Brian Paul
On Thu, Jun 2, 2011 at 6:13 PM, Dave Airlie airl...@gmail.com wrote: Hi Brian, did you forget to git add for the nouveau dri-core fix? I guess so. Should be fixed now. Sorry about that. -Brian ___ mesa-dev mailing list

[Mesa-dev] [Bug 35441] [PATCH] Mesa does not find nouveau include files with --enable-shared-dricore

2011-06-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35441 --- Comment #20 from Johannes Obermayr johannesoberm...@gmx.de 2011-06-02 20:02:21 PDT --- Just to clarify when and why I am getting angry: 1. Who is the person I must call? Usually I do not know it exactly:

Re: [Mesa-dev] [PATCH] faster util_next_power_of_two() function

2011-06-02 Thread Matt Turner
On Thu, Jun 2, 2011 at 5:18 PM, Benjamin Bellec b.bel...@gmail.com wrote: But there is an issue, during compilation there is an error (-Wall) warning: right shift count = width of type [enabled by default]. This doesn't make any sense since I don't think the unsigned int type is ever 8 bytes:

Re: [Mesa-dev] dri/nouveau: Fix build with --enable-shared-dricore.

2011-06-02 Thread Sedat Dilek
From [1]: --- a/configure.ac +++ b/configure.ac @@ -21,6 +21,7 @@ dnl Versions for external dependencies LIBDRM_REQUIRED=2.4.24 LIBDRM_RADEON_REQUIRED=2.4.24 LIBDRM_INTEL_REQUIRED=2.4.24 +LIBDRM_NOUVEAU_REQUIRED=0.6 ... 0.6? - Sedat - [1]