Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-06 Thread Michel Dänzer
On Don, 2011-05-05 at 14:02 -0700, Jesse Barnes wrote: > > >if (swap_complete) { > > >if (pPriv->swap_count > 0x) > > >ErrorF("something appropriate"); > > >swap_complete(client, swap_data, type, ust, frame, > > > (CARD32)pPriv->swap_count); > > >} > >

Re: [Mesa-dev] [PATCH 1/3] glx: Check flush DRI extension version at runtime

2011-05-06 Thread Michel Dänzer
On Don, 2011-05-05 at 23:44 -0400, nobled wrote: > The DRI driver itself might not have version 3 of the > DRI2 flush extension, in which case this would've > pointed to out of bounds memory... Pushed, thanks. As for your other patches, I'm hesitating until there's confirmation GLX_EXT_texture_

Re: [Mesa-dev] Status of VDPAU and XvMC state-trackers (was Re: Build error on current xvmc-r600 pip

2011-05-06 Thread Christoph Bumiller
On 06.05.2011 06:59, Bryan Cain wrote: > 2011/4/27 Christian König > > > Regarding the not working idct on nvidia hardware I would guess > that we > use something that the driver currently doesn't supports, like > multiple > render targets, disab

[Mesa-dev] OpenGL driver detection now implemented in Firefox/X11; some questions

2011-05-06 Thread Benoit Jacob
Hi Mesa Developers, 2 parts in this email: news about Firefox, and then some questions. === News about Firefox === This is a follow-up to earlier threads [1, 2]. As of today, Firefox Nightly [3], which will become Firefox 6, does safe OpenGL driver detection on X11, implementing [4, 5] Brian P

Re: [Mesa-dev] [PATCH 2/2] gallium: implement seamless cubemap extensions

2011-05-06 Thread Brian Paul
On 05/05/2011 05:40 PM, Marek Olšák wrote: A new patch is attached. Reviewed-by: Brian Paul ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 1/2] mesa: implement AMD_seamless_cubemap_per_texture

2011-05-06 Thread Brian Paul
On 05/05/2011 05:39 PM, Marek Olšák wrote: A new patch is attached. Looks good, but it seems to be missing the code to set the seamless flag in samplerobj.c If you want to commit this and do that as a follow-up that's fine. -Brian ___ mesa-dev mai

Re: [Mesa-dev] Status of VDPAU and XvMC state-trackers (was Re: Build error on current xvmc-r600 pipe-video)

2011-05-06 Thread Andy Furniss
Andy Furniss wrote: It does fix xvmc - my chip is RV770 (well RV790) so I wasn't expecting any change. I've got a RV670 box that I test with occasionally, so I thought I would try that - I didn't get to test the patch as I found it has suffered a separate regression, which causes quite diffe

[Mesa-dev] [PATCH] st/egl: Implement EGL_WL_bind_wayland_display for x11, drm, wayland

2011-05-06 Thread Benjamin Franzke
--- configure.ac |4 +- src/gallium/state_trackers/egl/Makefile|2 + src/gallium/state_trackers/egl/common/egl_g3d.c|5 + .../state_trackers/egl/common/egl_g3d_api.c| 33 ++ .../state_trackers/egl/common/egl_g3d_image.

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-06 Thread Jesse Barnes
On Fri, 06 May 2011 09:25:35 +0200 Michel Dänzer wrote: > On Don, 2011-05-05 at 14:02 -0700, Jesse Barnes wrote: > > > >if (swap_complete) { > > > >if (pPriv->swap_count > 0x) > > > >ErrorF("something appropriate"); > > > >swap_complete(client, swap_data,

Re: [Mesa-dev] [PATCH 1/2] mesa: implement AMD_seamless_cubemap_per_texture

2011-05-06 Thread Marek Olšák
The follow-up patch is attached. Please review. Marek On Fri, May 6, 2011 at 3:50 PM, Brian Paul wrote: > On 05/05/2011 05:39 PM, Marek Olšák wrote: >> >> A new patch is attached. > > Looks good, but it seems to be missing the code to set the seamless flag in > samplerobj.c > > If you want to co

Re: [Mesa-dev] [PATCH 1/2] mesa: implement AMD_seamless_cubemap_per_texture

2011-05-06 Thread Brian Paul
On 05/06/2011 10:35 AM, Marek Olšák wrote: The follow-up patch is attached. Please review. Reviewed-by: Brian Paul ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] Replace ONE_DIV_LN2 constant with M_LOG2E

2011-05-06 Thread Matt Turner
1/ln(2) is equivalent to log2(e), so define it as such. log2(e) = ln(e)/ln(2) = 1/ln(2) Worst of all, the definitions for M_LOG2E and ONE_DIV_LN2 (right beside each other!) weren't the same. Reviewed-by: Alex Deucher Signed-off-by: Matt Turner --- src/mesa/main/compiler.h |4

[Mesa-dev] [PATCH] Add precision to M_PI constant

2011-05-06 Thread Matt Turner
Value found in my math.h header. Reviewed-by: Alex Deucher Signed-off-by: Matt Turner --- src/mesa/main/compiler.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index 81e08a0..743841b 100644 --- a/src/mesa/main/comp

[Mesa-dev] [PATCH 1/2] Add Alpha to the little-endian machines.

2011-05-06 Thread Matt Turner
From: Jay Estabrook Reviewed-by: Matt Turner Signed-off-by: Jay Estabrook --- src/gallium/include/pipe/p_config.h |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h index 74a1fa2..9e8ff6a 1006

[Mesa-dev] [PATCH 2/2] Don't allow compilation if endianness isn't known

2011-05-06 Thread Matt Turner
Signed-off-by: Matt Turner --- PIPE_ARCH_UNKNOWN_ENDIAN is used no where else. All #else branches of #ifdef PIPE_ARCH_LITTLE assume big-endian. Not #error'ing out here only serves to allow bad things to happen. src/gallium/include/pipe/p_config.h |2 +- 1 files changed, 1 insertions(+), 1 d

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-06 Thread Jesse Barnes
On Fri, 06 May 2011 09:25:35 +0200 Michel Dänzer wrote: > On Don, 2011-05-05 at 14:02 -0700, Jesse Barnes wrote: > > > >if (swap_complete) { > > > >if (pPriv->swap_count > 0x) > > > >ErrorF("something appropriate"); > > > >swap_complete(client, swap_data,

[Mesa-dev] [Bug 36919] New: Yo Frankie: Crash in dst_register

2011-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36919 Summary: Yo Frankie: Crash in dst_register Product: Mesa Version: git Platform: Other URL: http://www.yofrankie.org/ OS/Version: All Status: NEW Severity: norm

[Mesa-dev] [Bug 36919] Yo Frankie: Crash in dst_register

2011-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36919 --- Comment #1 from Sven Arvidsson 2011-05-06 13:07:17 PDT --- Forgot to mention, this is using git master 27d3e0b25cc3f2bd9f72778f0c9f54cb90c48622 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are recei

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-06 Thread Jesse Barnes
On Fri, 6 May 2011 13:00:19 -0700 Jeremy Huddleston wrote: > Yeah, that looks about right. > > This in combination with the latest version of "xserver/glx/dri2: use new > GLX/DRI2 swap event types" > > Reviewed-by: Jeremy Huddleston > Thanks. It'll probably change a little as I add a glx_d

Re: [Mesa-dev] Status of VDPAU and XvMC state-trackers (was Re: Build error on current xvmc-r600 pip

2011-05-06 Thread Bryan Cain
On 05/06/2011 03:59 AM, Christoph Bumiller wrote: > On 06.05.2011 06:59, Bryan Cain wrote: >> I found out the other day that nv50 doesn't support disabled GL >> rasterization rules, and doesn't plan to. Could iDCT be changed to >> work with GL rasterization rules enabled, or is there a reason that

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-06 Thread Jesse Barnes
On Fri, 6 May 2011 13:00:19 -0700 Jeremy Huddleston wrote: > Yeah, that looks about right. > > This in combination with the latest version of "xserver/glx/dri2: use new > GLX/DRI2 swap event types" > > Reviewed-by: Jeremy Huddleston Ok here's a more complete patch. It touches GLX and involv

Re: [Mesa-dev] [PATCH 1/2] Add Alpha to the little-endian machines.

2011-05-06 Thread Julien Cristau
On Fri, May 6, 2011 at 13:01:14 -0400, Matt Turner wrote: > From: Jay Estabrook > > Reviewed-by: Matt Turner > Signed-off-by: Jay Estabrook > --- > src/gallium/include/pipe/p_config.h |6 +- > 1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/src/gallium/include/pipe

Re: [Mesa-dev] [PATCH 2/2] Don't allow compilation if endianness isn't known

2011-05-06 Thread Julien Cristau
On Fri, May 6, 2011 at 13:01:15 -0400, Matt Turner wrote: > Signed-off-by: Matt Turner > --- > > PIPE_ARCH_UNKNOWN_ENDIAN is used no where else. All #else branches of > #ifdef PIPE_ARCH_LITTLE assume big-endian. Not #error'ing out here > only serves to allow bad things to happen. > I think thi

Re: [Mesa-dev] [PATCH 1/2] Add Alpha to the little-endian machines.

2011-05-06 Thread Matt Turner
On Fri, May 6, 2011 at 5:17 PM, Julien Cristau wrote: > On Fri, May  6, 2011 at 13:01:14 -0400, Matt Turner wrote: > >> From: Jay Estabrook >> >> Reviewed-by: Matt Turner >> Signed-off-by: Jay Estabrook >> --- >>  src/gallium/include/pipe/p_config.h |    6 +- >>  1 files changed, 5 insertio

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-06 Thread Jeremy Huddleston
Yeah, that looks about right. This in combination with the latest version of "xserver/glx/dri2: use new GLX/DRI2 swap event types" Reviewed-by: Jeremy Huddleston On May 6, 2011, at 10:39, Jesse Barnes wrote: > On Fri, 06 May 2011 09:25:35 +0200 > Michel Dänzer wrote: > >> On Don, 2011-05-05

[Mesa-dev] [PATCH] r600g: add support for anisotropic filtering

2011-05-06 Thread Carl-Philip Haensch
From b5ad4e6fb399203afcfe2a5ccb35bb8ccad28b65 Mon Sep 17 00:00:00 2001 From: Carl-Philip Haensch Date: Fri, 6 May 2011 22:48:08 +0200 Subject: [PATCH] r600g: add support for anisotropic filtering --- src/gallium/drivers/r600/r600_state.c | 20 +--- src/gallium/drivers/r600/r60

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-06 Thread Jeremy Huddleston
I believe you want to s/Xmalloc/malloc/ Yes, I can't speak for all the internals of DRI2 since most of that is foreign to me, but from a high level, this looks like the right approach. As for your specific question about Apple stuff, it's been a while since I touched that... perhaps something

Re: [Mesa-dev] mesa-from-git: build with clang(++) and --enable-glx-tls

2011-05-06 Thread Jeremy Huddleston
See: http://cgit.freedesktop.org/xorg/xserver/commit/?id=bb4d145bd25e2aee988b100ecf1105ea3b6a40b8 I suggest you do something similar for mesa. On Apr 9, 2011, at 04:28, Sedat Dilek wrote: > Just as an addendum to configure-option "--enable-glx-tls" (see [1] and [2]). > > - Sedat - > > [1] > h

Re: [Mesa-dev] [PATCH] r600g: add support for anisotropic filtering

2011-05-06 Thread Jerome Glisse
Please resend by attaching the patch not pasting it On Fri, May 6, 2011 at 4:53 PM, Carl-Philip Haensch wrote: > From b5ad4e6fb399203afcfe2a5ccb35bb8ccad28b65 Mon Sep 17 00:00:00 2001 > From: Carl-Philip Haensch > Date: Fri, 6 May 2011 22:48:08 +0200 > Subject: [PATCH] r600g: add support for ani

Re: [Mesa-dev] [PATCH 1/3] mesa: Add ARB_shader_texture_lod to the extension list; off by default.

2011-05-06 Thread Marek Olšák
Kenneth, I have implemented R500 support in master and it works very well with this series. There are also some new piglit tests. There was a typo in the ARB_shader_texture_lod.frag file in src/glsl, which is fixed by the attached patch. Other than that: Tested-by: Marek Olšák I am little conce

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-06 Thread Jesse Barnes
On Fri, 6 May 2011 15:41:17 -0700 Jeremy Huddleston wrote: > I believe you want to s/Xmalloc/malloc/ > > Yes, I can't speak for all the internals of DRI2 since most of that is > foreign to me, but from a high level, this looks like the right approach. As > for your specific question about App