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

2011-06-01 Thread Stéphane Marchesin
--- 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 e05b059..b74b19d 100644 --- a/src/gallium/drivers/i915/i915_res

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

2011-06-01 Thread Stéphane Marchesin
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 b/src/gallium/drivers/llvmpipe/Makefile index 4068bed..ba9705b 100644 --- a/src/gallium/drive

[Mesa-dev] [Bug 37840] sbc_hi, sbc_lo does not exist in xDRI2BufferSwapComplete

2011-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37840 rogelio.serr...@gmail.com changed: What|Removed |Added CC||rogelio.serr...@gmail.com --

[Mesa-dev] [Bug 37840] New: sbc_hi, sbc_lo does not exist in xDRI2BufferSwapComplete

2011-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37840 Summary: sbc_hi, sbc_lo does not exist in xDRI2BufferSwapComplete Product: Mesa Version: 7.10 Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW

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

2011-06-01 Thread Matt Turner
On Wed, Jun 1, 2011 at 4: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: https://bugs.freedesktop.org/show_bug.cgi?id=37766 > --- >  src/glx/dri2_glx.c |

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

2011-06-01 Thread Eric Anholt
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: https://bugs.freedesktop.org/show_bug.cgi?id=37766 --- src/glx/dri2_glx.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-)

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

2011-06-01 Thread Brian Paul
On Wed, Jun 1, 2011 at 2: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 a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/comm

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

2011-06-01 Thread Eric Anholt
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 a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 08b6024..a0d4b9e 100644 --- a/src/mesa/drivers/

[Mesa-dev] [PATCH 2/2] meta: Don't do sRGB encode for framebuffer blits on sRGB-enabled framebuffers.

2011-06-01 Thread Eric Anholt
Fixes fbo-srgb-blit. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35373 --- src/mesa/drivers/common/meta.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index a0d4b9e..979926a 100644 --- a/src

Re: [Mesa-dev] [PATCH] mesa: queries of non-existent FBO attachments should return INVALID_OPERATION

2011-06-01 Thread Eric Anholt
On Tue, 31 May 2011 20:41:54 +0200, Marek Olšák wrote: > OpenGL 4.0 Compatibility, page 449: > > If the value of FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is NONE, no > framebuffer is bound to target. In this case querying pname FRAMEBUFFER_- > ATTACHMENT_OBJECT_NAME will return zero, and all other quer

[Mesa-dev] [PATCH] i965/fs: Use the embedded compare in SEL on gen6+.

2011-06-01 Thread Eric Anholt
This avoids the extra CMP and the predication on SEL, so in addition to one less instruction, it makes scheduling less constrained. Improves glbenchmark Egypt performance 0.6% +/- 0.2% (n=3). Reduces FS instruction count across affected shaders in shader-db by 1.3% without regressing any. --- sr

Re: [Mesa-dev] [PATCH 1/5] i965: Drop INTEL_CONFORMANCE=2 fallback code.

2011-06-01 Thread Eric Anholt
On Fri, 27 May 2011 10:43:37 -0700, Kenneth Graunke wrote: > On 05/27/2011 08:58 AM, Eric Anholt wrote: > > This was just a duplicate of no_rast=true driconf option, which is > > relatively standard across drivers. > > --- > > src/mesa/drivers/dri/i965/brw_draw.c |3 --- > > 1 files change

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

2011-06-01 Thread Adam Jackson
Signed-off-by: Adam Jackson --- src/glx/glxclient.h|8 src/glx/indirect_glx.c |3 - src/glx/renderpix.c| 98 +++- 3 files changed, 39 insertions(+), 70 deletions(-) diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index 2b6

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

2011-06-01 Thread Adam Jackson
Signed-off-by: Adam Jackson --- 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 +++ b/src/glx/glxcmds.c @@ -644,13 +644,13 @@ glXCreateGLXPixmap(Display * dpy,

Re: [Mesa-dev] [PATCH] glapi: Make xserver location error more helpful

2011-06-01 Thread Brian Paul
On 05/31/2011 09:42 AM, Nathan Kidd wrote: From: Nathan Kidd glx code hasn't lived under xserver/GL for a long time now. Signed-off-by: Nathan Kidd --- src/mapi/glapi/gen/Makefile | 5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/mapi/glapi/gen/Makefile b/src/mapi/g

[Mesa-dev] [Bug 36238] Mesa release files don't contain scons control files

2011-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36238 --- Comment #7 from Brian Paul 2011-06-01 06:30:01 PDT --- Anthony, I've put new zip files which include the c99 header files at ftp://ftp.freedesktop.org/pub/mesa/tmp/ . Let me know if that helps. -- Configure bugmail: https://bugs.freedeskto

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

2011-06-01 Thread Brian Paul
On Tue, May 31, 2011 at 7:23 AM, Marek Olšák wrote: > I couldn't find this being required by the spec. > --- >  src/mesa/main/shaderapi.c |    2 ++ >  src/mesa/main/uniforms.c  |    4 >  2 files changed, 6 insertions(+), 0 deletions(-) > Reviewed-by: Brian Paul NVIDIA's driver generates GL

[Mesa-dev] [Bug 37177] Mathematica Plot3D Crash

2011-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37177 --- Comment #2 from Ivan Iakoupov 2011-06-01 05:44:08 PDT --- Also running with LIBGL_ALWAYS_SOFTWARE="True" results in errors like X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 152 (GLX)

[Mesa-dev] [Bug 37177] Mathematica Plot3D Crash

2011-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37177 Ivan Iakoupov changed: What|Removed |Added Summary|Mathematica Plot3D: Crash |Mathematica Plot3D Crash