Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Dave Airlie
On Wed, Apr 28, 2010 at 12:09 PM, Roland Scheidegger wrote: > On 27.04.2010 18:29, José Fonseca wrote: >> On Tue, 2010-04-27 at 08:59 -0700, Roland Scheidegger wrote: >>> On 27.04.2010 17:32, Roland Scheidegger wrote: On 27.04.2010 13:13, Dave Airlie wrote: > Another trying to figure out

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Dave Airlie
>>     There's hw we care about which can't do this (i965, svga) and >>     it seems unreasonable to expect them to do workarounds just so this >>     extension can be always exposed. >> >> >> With all respect, when I ask for a cap bit for an unsupported feature in >> the driver I work on, I am alw

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Roland Scheidegger
On 27.04.2010 18:29, José Fonseca wrote: > On Tue, 2010-04-27 at 08:59 -0700, Roland Scheidegger wrote: >> On 27.04.2010 17:32, Roland Scheidegger wrote: >>> On 27.04.2010 13:13, Dave Airlie wrote: Another trying to figure out gallium patch from me, This is in theory EXT_texture_swiz

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Roland Scheidegger
On 28.04.2010 01:42, Marek Olšák wrote: > > On Tue, Apr 27, 2010 at 5:32 PM, Roland Scheidegger > wrote: > > There's hw we care about which can't do this (i965, svga) and > it seems unreasonable to expect them to do workarounds just so this > extension can

Re: [Mesa-dev] Merging GLES1/2 to mesa/main

2010-04-27 Thread Kristian Høgsberg
2010/4/27 Kristian Høgsberg : [ I hit send to early there... ] > review the patches, or at least just some of them.  The overall > approach is 1. Add a API tag to GLcontext so we key off of that. 2. Use API-aware constructor where we create GLES1/2 contexts (currently only ES1/2 state trackers)

[Mesa-dev] Merging GLES1/2 to mesa/main

2010-04-27 Thread Kristian Høgsberg
Hi, I wrote about my plan to integrate the GLES1/2 code from src/mesa/es into core mesa a couple of weeks ago: http://lists.freedesktop.org/archives/mesa-dev/2010-April/38.html and after wrapping my head around the dispatch and remap tables, I've come up with a series of patches to impleme

Re: [Mesa-dev] [PATCH 0/4] Miscellaneous patches

2010-04-27 Thread Eric Anholt
On Tue, 27 Apr 2010 23:16:45 +0200, Pierre Willenbrock wrote: > Hi list, > > these are patches i had lying around. They are all independent. Two > fixes for valgrind found issues, one to avoid setting the glGetError() > return, one fixes a real bug. Looks good. Pushed. For the last one I wrot

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Marek Olšák
On Tue, Apr 27, 2010 at 5:32 PM, Roland Scheidegger wrote: > There's hw we care about which can't do this (i965, svga) and > it seems unreasonable to expect them to do workarounds just so this > extension can be always exposed. > With all respect, when I ask for a cap bit for an unsupported featu

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Corbin Simpson
Why do we need any caps for this? Unless I read the spec wrong, this is a mere SWZ following the affected texture lookup, in the worst case. Posting from a mobile, pardon my terseness. ~ C. On Apr 27, 2010 9:29 AM, "José Fonseca" wrote: On Tue, 2010-04-27 at 08:59 -0700, Roland Scheidegger wrot

Re: [Mesa-dev] [PATCH 4/4] Disable scissor when begining meta operations

2010-04-27 Thread Brian Paul
Pierre Willenbrock wrote: --- src/mesa/drivers/common/meta.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 97d91ac..ea9e417 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/m

Re: [Mesa-dev] [PATCH 2/4] Fill the padding between entrys in the sampler key

2010-04-27 Thread Brian Paul
Pierre Willenbrock wrote: This struct is used to generate a hash, ignoring the entry boundaries. --- src/mesa/drivers/dri/i965/brw_wm_sampler_state.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c b/src/mesa/drive

Re: [Mesa-dev] [PATCH 3/4] Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targets

2010-04-27 Thread Brian Paul
Pierre Willenbrock wrote: --- src/mesa/drivers/common/meta.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 84a2a5f..97d91ac 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drive

Re: [Mesa-dev] [PATCH 1/4] Initialize have_back.

2010-04-27 Thread Brian Paul
Pierre Willenbrock wrote: There is a user somewhere that tests it before its initial set. --- src/glx/dri2_glx.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index 9347611..73d11f1 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/d

[Mesa-dev] [PATCH 2/4] Fill the padding between entrys in the sampler key

2010-04-27 Thread Pierre Willenbrock
This struct is used to generate a hash, ignoring the entry boundaries. --- src/mesa/drivers/dri/i965/brw_wm_sampler_state.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c b/src/mesa/drivers/dri/i965/brw_wm_sampler_s

[Mesa-dev] [PATCH 4/4] Disable scissor when begining meta operations

2010-04-27 Thread Pierre Willenbrock
--- src/mesa/drivers/common/meta.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 97d91ac..ea9e417 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -424,6 +424,7 @@ _m

[Mesa-dev] [PATCH 0/4] Miscellaneous patches

2010-04-27 Thread Pierre Willenbrock
Hi list, these are patches i had lying around. They are all independent. Two fixes for valgrind found issues, one to avoid setting the glGetError() return, one fixes a real bug. Regards, Pierre Pierre Willenbrock (4): Initialize have_back. Fill the padding between entrys in the sampler key

[Mesa-dev] [PATCH 1/4] Initialize have_back.

2010-04-27 Thread Pierre Willenbrock
There is a user somewhere that tests it before its initial set. --- src/glx/dri2_glx.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index 9347611..73d11f1 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/dri2_glx.c @@ -194,6 +194,7 @

[Mesa-dev] [PATCH 3/4] Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targets

2010-04-27 Thread Pierre Willenbrock
--- src/mesa/drivers/common/meta.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 84a2a5f..97d91ac 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -1117,8

Re: [Mesa-dev] [Fwd: Mesa (7.8): f]

2010-04-27 Thread Jeremy Huddleston
rrr... my 'git rebase -i' barfed on me because I had an old version installed without "fixup". I thought it completed, and I pushed... but it didn't. I've cleaned it up. Sorry for the sludge. --Jeremy On Apr 27, 2010, at 12:42, Keith Whitwell wrote: > What the f ? :) > > Keith > > From:

[Mesa-dev] [Fwd: Mesa (7.8): f]

2010-04-27 Thread Keith Whitwell
What the f ? :) Keith --- Begin Message --- Module: Mesa Branch: 7.8 Commit: 39bd4602c0c31d4984293fd6e419405aca32d940 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=39bd4602c0c31d4984293fd6e419405aca32d940 Author: Jeremy Huddleston Date: Tue Apr 27 12:22:50 2010 -0700 f Signed-of

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread José Fonseca
On Tue, 2010-04-27 at 08:59 -0700, Roland Scheidegger wrote: > On 27.04.2010 17:32, Roland Scheidegger wrote: > > On 27.04.2010 13:13, Dave Airlie wrote: > >> Another trying to figure out gallium patch from me, > >> > >> This is in theory EXT_texture_swizzle support, r300g passes the glean > >> tes

Re: [Mesa-dev] Current tinderbox regression (egl, parallel make)

2010-04-27 Thread Chris Ball
Hi, > Anyway, I've pushed a fix that add egl/eglut to PROGRAM_DIRS and build > it explicitly before the other EGL demos. Hopefully, it fixes the > issue. Thanks; yes, looks like it does. -- Chris Ball One Laptop Per Child ___ mesa-dev mai

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Roland Scheidegger
On 27.04.2010 17:32, Roland Scheidegger wrote: > On 27.04.2010 13:13, Dave Airlie wrote: >> Another trying to figure out gallium patch from me, >> >> This is in theory EXT_texture_swizzle support, r300g passes the glean >> test with this now. >> >> Some caveats in the patch (i.e. I'm not sure what

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Roland Scheidegger
On 27.04.2010 13:13, Dave Airlie wrote: > Another trying to figure out gallium patch from me, > > This is in theory EXT_texture_swizzle support, r300g passes the glean > test with this now. > > Some caveats in the patch (i.e. I'm not sure what exactly is correct > state tracker behaviour wrt samp

[Mesa-dev] [RFC PATCH] egl: dri2 driver error output

2010-04-27 Thread Micah Fedke
This patch amends the error output string for the case where the dri2 egl driver could not open the dri dev node. diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 8b6f78c..00550c2 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dr

Re: [Mesa-dev] Mesa (gallium-msaa): gallium: interface changes for multisampling

2010-04-27 Thread José Fonseca
On Tue, 2010-04-27 at 08:09 -0700, Roland Scheidegger wrote: > On 26.04.2010 21:31, José Fonseca wrote: > > On Mon, 2010-04-26 at 11:34 -0700, Keith Whitwell wrote: > >> On Mon, 2010-04-26 at 11:27 -0700, José Fonseca wrote: > >>> Hi Roland, > >>> > >>> Overall looks good. It's nice to finally have

Re: [Mesa-dev] Mesa (gallium-msaa): gallium: interface changes for multisampling

2010-04-27 Thread Roland Scheidegger
On 26.04.2010 21:31, José Fonseca wrote: > On Mon, 2010-04-26 at 11:34 -0700, Keith Whitwell wrote: >> On Mon, 2010-04-26 at 11:27 -0700, José Fonseca wrote: >>> Hi Roland, >>> >>> Overall looks good. It's nice to finally have a way to export MSAA >>> capabilities, and see the pipe_surfaces use bei

Re: [Mesa-dev] Allow mesa 7.8.x to build nouveau gallium drivers

2010-04-27 Thread Brian Paul
Pedro Maia wrote: Hello in attachment there is a patch to allow nouveau gallium driver to be compiled. (mesa-7.8) We all know the state of the driver for that mesa version, although that doesn't mean that the driver shouldn't be compiled Thanks. I missed those when I made the change to

[Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Dave Airlie
Another trying to figure out gallium patch from me, This is in theory EXT_texture_swizzle support, r300g passes the glean test with this now. Some caveats in the patch (i.e. I'm not sure what exactly is correct state tracker behaviour wrt sampler views). Dave. 0001-mesa-st-add-support-for-EXT_

[Mesa-dev] [Bug 27854] libOSMesa completely broken - undefined references (Mesa 7.8.1)

2010-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27854 Stefan Dirsch changed: What|Removed |Added URL||https://bugzilla.novell.com

[Mesa-dev] [Bug 27854] libOSMesa completely broken - undefined references (Mesa 7.8.1)

2010-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27854 Stefan Dirsch changed: What|Removed |Added Summary|libOSMesa completely broken |libOSMesa completely broken

[Mesa-dev] [Bug 27854] libOSMesa completely broken (Mesa 7.8.1)

2010-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27854 --- Comment #1 from Stefan Dirsch 2010-04-27 03:44:01 PDT --- Looks like these symbols are not added to libGL, although they are part of the static libs (e.g. _mesa_create_visual is defined in libmesa.a, i.e. src/mesa/main/context.o). Mesa-7.8.1

[Mesa-dev] [Bug 27854] New: libOSMesa completely broken (Mesa 7.8.1)

2010-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27854 Summary: libOSMesa completely broken (Mesa 7.8.1) Product: Mesa Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium

[Mesa-dev] [Bug 27842] segfault of glxgears and glxinfo after disabling 3D acceleration in driconf

2010-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27842 Michel Dänzer changed: What|Removed |Added Component|Drivers/X11 |Drivers/DRI/i915 AssignedTo|mesa

Re: [Mesa-dev] [RFC PATCH 0/6] Refactor st_api and st/dri

2010-04-27 Thread Chia-I Wu
On Mon, Apr 26, 2010 at 6:54 PM, Keith Whitwell wrote: > On Sat, 2010-04-24 at 07:25 -0700, Jakob Bornecrantz wrote: >> Hi Chia-I et all >> >> This Patch series does some minor refactoring in the st_api interface >> and some major one to st/dri. >> >> The first patch drops the st_module struct fro

Re: [Mesa-dev] GSOC: R300 GLSL Compiler

2010-04-27 Thread Corbin Simpson
On Mon, Apr 26, 2010 at 10:59 PM, Tom Stellard wrote: > Hi, > > I am honored to have my Google Summer of Code application accepted, and I > am really looking forward to starting the project.  Thanks to everyone > who took the time to give me feedback on my proposal throughout the > application pro