[Mesa-dev] i915: Only invert wpos when rendering to the system framebuffer.

2011-02-26 Thread Henri Verbeet
--- src/mesa/drivers/dri/i915/intel_tris.c | 22 +++--- 1 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/mesa/drivers/dri/i915/intel_tris.c b/src/mesa/drivers/dri/i915/intel_tris.c index cf9291c..7bcb72f 100644 --- a/src/mesa/drivers/dri/i915/intel_tris.c +++

[Mesa-dev] glx: Take GLPROTO_CFLAGS into account.

2011-02-26 Thread Henri Verbeet
--- configs/autoconf.in |1 + src/glx/Makefile|1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/configs/autoconf.in b/configs/autoconf.in index a3c69e1..4e931a3 100644 --- a/configs/autoconf.in +++ b/configs/autoconf.in @@ -149,6 +149,7 @@ DRI_LIB_DEPS = $(EXTRA_LIB_

[Mesa-dev] i915: Derive the gl_fragment_program from i915_fragment_program.

2011-02-26 Thread Henri Verbeet
Instead of using the current gl_fragment_program. These aren't necessarily the same, for example when translate_program() is called by i915ValidateFragmentProgram(). --- src/mesa/drivers/dri/i915/i915_fragprog.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src

[Mesa-dev] NULL in dri_drawable.textures borking glDrawArrays

2011-02-26 Thread Ian Pilcher
I spent some time today looking into a KWin crash I've been experiencing when I unlock an OpenGL screensaver. I was able to track it down to this bug: https://bugs.freedesktop.org/show_bug.cgi?id=33036 Sure enough, applying the patch in that bug got rid of the crash. Unfortunately, I'm now s

Re: [Mesa-dev] [PATCH 1/4] mesa: Add new MESA_multithread_makecurrent extension.

2011-02-26 Thread Jakob Bornecrantz
On Tue, Feb 22, 2011 at 10:08 PM, Eric Anholt wrote: > On Tue, 22 Feb 2011 11:57:38 -0800, Ian Romanick wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 02/21/2011 02:41 PM, Eric Anholt wrote: >> > This extension allows a client to bind one context in multiple threads >> > simu

Re: [Mesa-dev] [RFC] [PATCH] mesa: Remove the CompileShader driver hook; it's just a no-op.

2011-02-26 Thread Eric Anholt
On Sat, 26 Feb 2011 00:50:42 -0800, Kenneth Graunke wrote: > --- > The CompileShader driver hook has a comment saying that it could be removed > since it literally does nothing. This patch removes it as a cleanup. > > I'm not sure if this is a good idea or not. Do we foresee using it in the >

[Mesa-dev] [RFC] [PATCH] mesa: Remove the CompileShader driver hook; it's just a no-op.

2011-02-26 Thread Kenneth Graunke
--- The CompileShader driver hook has a comment saying that it could be removed since it literally does nothing. This patch removes it as a cleanup. I'm not sure if this is a good idea or not. Do we foresee using it in the future? Presumably it breaks the ABI...perhaps needlessly. src/mesa/dr