Re: [Mesa-dev] [PATCH] intel: Set ctx's drawbuffer according to drawables visual

2011-08-12 Thread Chia-I Wu
On Fri, Aug 12, 2011 at 3:30 AM, Brian Paul wrote: > On 08/11/2011 11:09 AM, Ian Romanick wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 08/04/2011 06:29 AM, Brian Paul wrote: >>> >>> On 08/04/2011 06:31 AM, Benjamin Franzke wrote: Fixes https://bugs.freedesktop.o

Re: [Mesa-dev] [PATCH] intel: Set ctx's drawbuffer according to drawables visual

2011-08-12 Thread Chia-I Wu
On Fri, Aug 12, 2011 at 3:59 PM, Chia-I Wu wrote: > On Fri, Aug 12, 2011 at 3:30 AM, Brian Paul wrote: >> On 08/11/2011 11:09 AM, Ian Romanick wrote: >>> >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> On 08/04/2011 06:29 AM, Brian Paul wrote: On 08/04/2011 06:31 AM, Benja

Re: [Mesa-dev] GPL'd vl_mpeg12_bitstream.c

2011-08-12 Thread Christian König
Am Donnerstag, den 11.08.2011, 12:04 -0400 schrieb Younes Manton: > It's been brought to my attention that the source this is based on is > GPL'd, which means it needs to go before 7.12 is released since it's > incompatible with Mesa's MIT license. That is actually not so problematic as it sounds

Re: [Mesa-dev] [PATCH] swrast: initial multi-threaded span rendering

2011-08-12 Thread Sven Arvidsson
On Fri, 2011-08-12 at 07:48 +0200, Andreas Fänger wrote: > OSMesa for gallium would be really helpful. Are there plans to > implement some sort of antialising (GL_POLYGON_SMOOTH, fsaa) in > softpipe/llvmpipe? > MLAA works with softpipe and llvmpipe: http://candgsoc.host56.com/ -- Cheers, Sven Ar

Re: [Mesa-dev] GPL'd vl_mpeg12_bitstream.c

2011-08-12 Thread Younes Manton
2011/8/12 Christian König : > Am Donnerstag, den 11.08.2011, 12:04 -0400 schrieb Younes Manton: >> It's been brought to my attention that the source this is based on is >> GPL'd, which means it needs to go before 7.12 is released since it's >> incompatible with Mesa's MIT license. > > That is actua

[Mesa-dev] [Patch] Destroy context in egl_dri2 and egl_glx driver when apps call eglDestroyContext

2011-08-12 Thread Cooper Yuan
Hi, this patch calls corresponding destroyContext in egl_dri2 and egl_glx driver. Any comment? Cooper --- src/egl/drivers/dri2/egl_dri2.c | 17 + src/egl/drivers/glx/egl_glx.c | 18 ++ 2 files changed, 35 insertions(+), 0 deletions(-) diff --git a/src/egl/d

[Mesa-dev] [PATCH] glsl: Fix type error when lowering integer divisions

2011-08-12 Thread Paul Berry
This patch fixes a bug when lowering an integer division: x/y to a multiplication by a reciprocal: int(float(x)*reciprocal(float(y))) If x was a a plain int and y was an ivecN, the lowering pass incorrectly assigned the type of the product to be float, when in fact it should be vecN. This

Re: [Mesa-dev] GPL'd vl_mpeg12_bitstream.c

2011-08-12 Thread Christian König
Am Freitag, den 12.08.2011, 10:49 -0400 schrieb Younes Manton: > Sorry, by incompatible I didn't mean that you couldn't use them > together, but that one is more restrictive than the other. Like the > discussion you quoted states, if you combine MIT and GPL you have to > satisfy both of them, which

Re: [Mesa-dev] GPL'd vl_mpeg12_bitstream.c

2011-08-12 Thread Maarten Lankhorst
Hey, On 08/12/2011 07:42 PM, Christian König wrote: > Am Freitag, den 12.08.2011, 10:49 -0400 schrieb Younes Manton: >> Sorry, by incompatible I didn't mean that you couldn't use them >> together, but that one is more restrictive than the other. Like the >> discussion you quoted states, if you com

[Mesa-dev] (no subject)

2011-08-12 Thread Vincent Lejeune
This patch does pack some simple varyings in shader object. It tested it against mandelbrot mesa-demos and nexuiz-glx (where there are varying packing opportunities) and I didn't notice any visual change. I didn't see any noticeable performance improvement either, but I did not benchmark this pat

[Mesa-dev] [PATCH] Implementing varying packing

2011-08-12 Thread Vincent Lejeune
This optimisation pass will look for and pack together float, vec2, vec3 varyings in fragment shaders and transform the vertex shader accordingly. It might improve performance depending on the hardware. --- src/glsl/Makefile |1 + src/glsl/linker.cpp|3 + src/glsl/pack_var

Re: [Mesa-dev] [PATCH] Implementing varying packing

2011-08-12 Thread Vinson Lee
> -Original Message- > Subject: [Mesa-dev] [PATCH] Implementing varying packing > > This optimisation pass will look for and pack together float, > vec2, vec3 varyings in fragment shaders and transform the vertex > shader accordingly. It might improve performance depending on > the hardwar

Re: [Mesa-dev] GPL'd vl_mpeg12_bitstream.c

2011-08-12 Thread Marek Olšák
2011/8/12 Christian König : > Am Freitag, den 12.08.2011, 10:49 -0400 schrieb Younes Manton: >> Sorry, by incompatible I didn't mean that you couldn't use them >> together, but that one is more restrictive than the other. Like the >> discussion you quoted states, if you combine MIT and GPL you have

Re: [Mesa-dev] GPL'd vl_mpeg12_bitstream.c

2011-08-12 Thread Patrick Baggett
Why not ask the original author to relicense? 2011/8/12 Marek Olšák > 2011/8/12 Christian König : > > Am Freitag, den 12.08.2011, 10:49 -0400 schrieb Younes Manton: > >> Sorry, by incompatible I didn't mean that you couldn't use them > >> together, but that one is more restrictive than the other