Re: [Mesa-dev] [PATCH 0/8] [RFC] improve driconf support for gallium

2012-04-10 Thread Michel Dänzer
On Mit, 2012-04-11 at 08:43 +0200, Michel Dänzer wrote: > On Die, 2012-04-10 at 22:04 +0400, Vadim Girlin wrote: > > On Tue, 2012-04-10 at 09:56 +0200, Michel Dänzer wrote: > > > On Mon, 2012-04-09 at 19:32 +0400, Vadim Girlin wrote: > > > > These patches allow to use driver-specific driconf set

Re: [Mesa-dev] [PATCH 0/8] [RFC] improve driconf support for gallium

2012-04-10 Thread Michel Dänzer
On Die, 2012-04-10 at 22:04 +0400, Vadim Girlin wrote: > On Tue, 2012-04-10 at 09:56 +0200, Michel Dänzer wrote: > > On Mon, 2012-04-09 at 19:32 +0400, Vadim Girlin wrote: > > > These patches allow to use driver-specific driconf settings, [...] > > > > How does it allow that? The list of support

Re: [Mesa-dev] [PATCH 5/8] st/mesa: pass the configuration options to st_init_extensions

2012-04-10 Thread Michel Dänzer
On Die, 2012-04-10 at 22:59 +0400, Vadim Girlin wrote: > On Tue, 2012-04-10 at 09:53 +0200, Michel Dänzer wrote: > > On Mon, 2012-04-09 at 19:32 +0400, Vadim Girlin wrote: > > > > > > diff --git a/src/mesa/state_tracker/st_context.c > > > b/src/mesa/state_tracker/st_context.c > > > index a3fd4d

[Mesa-dev] [PATCH] egl_dri2: fix aux buffer leak in drm platform

2012-04-10 Thread Mandeep Singh Baines
Keep a reference to any newly allocated aux buffers to avoid re-allocating for every st_framebuffer_validate() (i.e. leaking). Signed-off-by: Mandeep Singh Baines Cc: Ander Conselvan de Oliveira Cc: Benjamin Franzke Cc: Kristian Hogsberg Cc: David Reveman Cc: Stephane Marchesin --- src/egl/

Re: [Mesa-dev] [PATCH] egl_dri2: fix aux buffer leak in drm platform

2012-04-10 Thread Mandeep Singh Baines
On Tue, Apr 10, 2012 at 4:02 PM, Kristian Høgsberg wrote: > On Tue, Apr 10, 2012 at 6:30 PM, Mandeep Baines > wrote: >> Attached is the test case I've been using. > > Nice, I've been meaning to update eglkms.c to also demonstrate > pageflipping.  Do you mind if I commit your version? > Attached

Re: [Mesa-dev] [PATCH] egl_dri2: fix aux buffer leak in drm platform

2012-04-10 Thread Kristian Høgsberg
On Tue, Apr 10, 2012 at 5:48 PM, Mandeep Singh Baines wrote: > Keep a reference to any newly allocated aux buffers to avoid > re-allocating for every st_framebuffer_validate() (i.e. leaking). Oops, yes, that's obviously how it was meant to work. I never used a depth buffer in any of the test cas

Re: [Mesa-dev] [PATCH] egl_dri2: fix aux buffer leak in drm platform

2012-04-10 Thread Mandeep Singh Baines
On Tue, Apr 10, 2012 at 4:02 PM, Kristian Høgsberg wrote: > On Tue, Apr 10, 2012 at 6:30 PM, Mandeep Baines > wrote: >> Attached is the test case I've been using. > > Nice, I've been meaning to update eglkms.c to also demonstrate > pageflipping.  Do you mind if I commit your version? > Sure. Si

Re: [Mesa-dev] [PATCH] egl_dri2: fix aux buffer leak in drm platform

2012-04-10 Thread Kristian Høgsberg
On Tue, Apr 10, 2012 at 6:30 PM, Mandeep Baines wrote: > Attached is the test case I've been using. Nice, I've been meaning to update eglkms.c to also demonstrate pageflipping. Do you mind if I commit your version? Kristian > On Tue, Apr 10, 2012 at 3:26 PM,   wrote: >> From: Mandeep Singh Bai

Re: [Mesa-dev] [PATCH] egl_dri2: fix aux buffer leak in drm platform

2012-04-10 Thread Mandeep Baines
Attached is the test case I've been using. On Tue, Apr 10, 2012 at 3:26 PM, wrote: > From: Mandeep Singh Baines > > Keep a reference to any newly allocated aux buffers to avoid > re-allocating for every st_framebuffer_validate() (i.e. leaking). > > Signed-off-by: Mandeep Singh Baines > Cc: And

[Mesa-dev] [PATCH] egl_dri2: fix aux buffer leak in drm platform

2012-04-10 Thread mandeep . baines
From: Mandeep Singh Baines Keep a reference to any newly allocated aux buffers to avoid re-allocating for every st_framebuffer_validate() (i.e. leaking). Signed-off-by: Mandeep Singh Baines Cc: Ander Conselvan de Oliveira Cc: Benjamin Franzke Cc: Kristian Hogsberg Cc: David Reveman Cc: Step

Re: [Mesa-dev] [PATCH] Revert "shared-glapi: Convert to automake"

2012-04-10 Thread Chad Versace
On 04/10/2012 01:13 PM, Chad Versace wrote: > This reverts commit ca760181b4420696c7e86aa2951d7203522ad1e8. > > That commit broke the Android build. The guilty change in that commit was > twofold. It first changed the pattern of some variable definitions, then > made a illegal change in Android.m

[Mesa-dev] [PATCH] Revert "shared-glapi: Convert to automake"

2012-04-10 Thread Chad Versace
This reverts commit ca760181b4420696c7e86aa2951d7203522ad1e8. That commit broke the Android build. The guilty change in that commit was twofold. It first changed the pattern of some variable definitions, then made a illegal change in Android.mk src/mapi/mapi/sources.mak - FOO_FILE := bar.c

[Mesa-dev] [PATCH] glsl: add support for ARB_blend_func_extended (v3)

2012-04-10 Thread Dave Airlie
From: Dave Airlie This adds index support to the GLSL compiler. I'm not 100% sure of my approach here, esp without how output ordering happens wrt location, index pairs, in the "mark" function. Since current hw doesn't ever have a location > 0 with an index > 0, we don't have to work out if the

Re: [Mesa-dev] [PATCH 2/7] glsl: add support for ARB_blend_func_extended (v2)

2012-04-10 Thread Dave Airlie
On Mon, Apr 9, 2012 at 9:13 PM, Eric Anholt wrote: > On Tue,  3 Apr 2012 14:16:52 +0100, Dave Airlie wrote: >> From: Dave Airlie >> >> This adds index support to the GLSL compiler. >> >> I'm not 100% sure of my approach here, esp without how output ordering >> happens wrt location, index pairs,

Re: [Mesa-dev] [PATCH 5/8] st/mesa: pass the configuration options to st_init_extensions

2012-04-10 Thread Vadim Girlin
On Tue, 2012-04-10 at 09:53 +0200, Michel Dänzer wrote: > On Mon, 2012-04-09 at 19:32 +0400, Vadim Girlin wrote: > > Signed-off-by: Vadim Girlin > > --- > > src/mesa/state_tracker/st_context.c|9 + > > src/mesa/state_tracker/st_context.h|3 ++- > > src/mesa/state_tracker/

Re: [Mesa-dev] [PATCH 0/8] [RFC] improve driconf support for gallium

2012-04-10 Thread Vadim Girlin
On Tue, 2012-04-10 at 10:42 -0700, Kenneth Graunke wrote: > On 04/09/2012 08:32 AM, Vadim Girlin wrote: > > These patches allow to use driver-specific driconf settings, and to handle > > these > > options in the state tracker. > > > > It's then used to handle force_glsl_extensions_warn option, so

Re: [Mesa-dev] [PATCH 0/8] [RFC] improve driconf support for gallium

2012-04-10 Thread Vadim Girlin
On Tue, 2012-04-10 at 09:56 +0200, Michel Dänzer wrote: > On Mon, 2012-04-09 at 19:32 +0400, Vadim Girlin wrote: > > These patches allow to use driver-specific driconf settings, [...] > > How does it allow that? The list of supported driconf options is still > in st/dri, isn't it? Yes, it seems

Re: [Mesa-dev] [PATCH 0/8] [RFC] improve driconf support for gallium

2012-04-10 Thread Kenneth Graunke
On 04/09/2012 08:32 AM, Vadim Girlin wrote: These patches allow to use driver-specific driconf settings, and to handle these options in the state tracker. It's then used to handle force_glsl_extensions_warn option, so we could use it e.g. for unigine applications. I haven't looked at your seri

[Mesa-dev] [Bug 48441] gnome-control-center crashes with nouveau driver

2012-04-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48441 Ionut Biru changed: What|Removed |Added CC||biru.io...@gmail.com -- Configure bugmail:

[Mesa-dev] [Bug 48441] gnome-control-center crashes with nouveau driver

2012-04-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48441 Ionut Biru changed: What|Removed |Added Priority|medium |high AssignedTo|nouveau@lists.freed

[Mesa-dev] [Bug 48424] Fix warnings/errors reported by clang's scan-build tool

2012-04-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48424 Johannes Obermayr changed: What|Removed |Added See Also||http://llvm.org/bugs/show_b

Re: [Mesa-dev] [RFC][PATCH 00/11] gallium: Basic compute infrastructure.

2012-04-10 Thread Francisco Jerez
Francisco Jerez writes: > This patch series is part of the ongoing work to put together a > compute stack on top of Gallium3D. What we have been doing until now > to that end could be divided in 6 building blocks: > > 1/ Gallium API and TGSI changes (this patch series). > 2/ Other fixes and addi

[Mesa-dev] [PATCH] wayland-drm: remove wl_buffer.damage

2012-04-10 Thread Pekka Paalanen
This is a related fix for the Wayland change: commit 83685c506e76212ae4e5cb722205d98d3b0603b9 Author: Kristian Høgsberg Date: Mon Mar 26 16:33:24 2012 -0400 Remove wl_buffer.damage and simplify shm implementation Apparently, this should also fix a memory leak. When wl_buffer.damage was re

Re: [Mesa-dev] [PATCH 0/8] [RFC] improve driconf support for gallium

2012-04-10 Thread Michel Dänzer
On Mon, 2012-04-09 at 19:32 +0400, Vadim Girlin wrote: > These patches allow to use driver-specific driconf settings, [...] How does it allow that? The list of supported driconf options is still in st/dri, isn't it? -- Earthling Michel Dänzer | http://www.amd.com Li

Re: [Mesa-dev] [PATCH 5/8] st/mesa: pass the configuration options to st_init_extensions

2012-04-10 Thread Michel Dänzer
On Mon, 2012-04-09 at 19:32 +0400, Vadim Girlin wrote: > Signed-off-by: Vadim Girlin > --- > src/mesa/state_tracker/st_context.c|9 + > src/mesa/state_tracker/st_context.h|3 ++- > src/mesa/state_tracker/st_extensions.c |2 +- > src/mesa/state_tracker/st_extensions.h

Re: [Mesa-dev] [PATCH 1/2] r600g: store glsl_feature_level in the r600_screen

2012-04-10 Thread Michel Dänzer
On Mon, 2012-04-09 at 19:35 +0400, Vadim Girlin wrote: > Signed-off-by: Vadim Girlin Both patches are Reviewed-by: Michel Dänzer -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer _