Re: [Mesa-dev] [PATCH Resend] mesa: Optionally build a dricore support library.

2010-12-23 Thread Christopher James Halse Rogers
On Tue, 2010-12-21 at 06:30 -0800, Dan Nicholson wrote: > On Mon, Dec 20, 2010 at 8:34 PM, Christopher James Halse Rogers > wrote: > > This an adds --enable-shared-dricore option to configure. When enabled, > > DRI modules will link against a shared copy of the common mesa routines > > rather tha

Re: [Mesa-dev] [PATCH Resend] mesa: Optionally build a dricore support library.

2010-12-23 Thread Christopher James Halse Rogers
On Tue, 2010-12-21 at 08:58 +, Keith Whitwell wrote: > This promotes a private interface to a public one, right? If so that > isn't really doing us any favours as next people will complain when that > newly public interface varies between releases. Not really; the new libraries are private (c

Re: [Mesa-dev] [PATCH Resend] mesa: Optionally build a dricore support library.

2010-12-23 Thread Eric Anholt
On Tue, 21 Dec 2010 08:58:24 +, Keith Whitwell wrote: > This promotes a private interface to a public one, right? If so that > isn't really doing us any favours as next people will complain when that > newly public interface varies between releases. > > If you want to save disk space by shar

Re: [Mesa-dev] Floating-point formats from GL_ARB_texture_rg implemented

2010-12-23 Thread Eric Anholt
On Wed, 22 Dec 2010 22:12:18 +0100, Marek Olšák wrote: > Hi, > > in case anyone is interested, I have implemented the floating-point formats > from GL_ARB_texture_rg, namely R16F, RG16F, R32F, RG32F, for both core Mesa > and st/mesa. The commits are here: > > http://cgit.freedesktop.org/~mareko/

[Mesa-dev] [Bug 32618] New: d3d1x state tracker misses oaidl.idl file (maybe others?)

2010-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32618 Summary: d3d1x state tracker misses oaidl.idl file (maybe others?) Product: Mesa Version: git Platform: All OS/Version: Linux (All) Status: NEW Severity:

[Mesa-dev] i915: policy for enabling texture tiling

2010-12-23 Thread Arthur Huillet
Hello everyone, I recently found a problem with the i915 driver. An OpenGL application using lots of small textures gets OOM-killed after about 1000 textures, depending on the amount of system memory. The ticket is here: https://bugs.freedesktop.org/show_bug.cgi?id=32579 Even though I have not c

Re: [Mesa-dev] TLS autodetection support in the X server

2010-12-23 Thread tom fogal
Dan Nicholson writes: > On Wed, Dec 22, 2010 at 3:18 PM, tom fogal wrote: > > Alan Coopersmith writes: > >> On 12/22/10 02:30 PM, tom fogal wrote: > >> > >> We generally don't copy macros from the autoconf-archive into > >> xorg-macros, [. . .] Is there any reason not to do that here? Why > >>

[Mesa-dev] [Bug 30694] wincopy will crash on Gallium drivers when going to front buffer

2010-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30694 Vinson Lee changed: What|Removed |Added Summary|wincopy will crash on r600g |wincopy will crash on |wh

Re: [Mesa-dev] TLS autodetection support in the X server

2010-12-23 Thread Dan Nicholson
On Wed, Dec 22, 2010 at 3:18 PM, tom fogal wrote: > Alan Coopersmith writes: >> On 12/22/10 02:30 PM, tom fogal wrote: >> >> We generally don't copy macros from the autoconf-archive into >> xorg-macros, we just use them as is - adding *.m4 files to >> packages that need them (especially when it's

Re: [Mesa-dev] [PATCH 1/4] gallium: add fragment shader property for color writes to all buffers.

2010-12-23 Thread Keith Whitwell
Dave, This all looks good to me (modulo the glitch Tilman pointed out). Keith On Thu, 2010-12-23 at 00:43 -0800, Dave Airlie wrote: > For GL fragColor semantics we need to tell the pipe drivers that the fragment > shader color result is to be replicated to all bound color buffers, this > adds th

[Mesa-dev] [Bug 30694] wincopy will crash on r600g when going to front buffer

2010-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30694 --- Comment #6 from Alex Deucher 2010-12-23 07:36:16 PST --- (In reply to comment #5) > Alex, are you sure this is core mesa issue as the code does not crash on my > intel based machine. It looks like a gallium state tracker bug. The Intel driv

[Mesa-dev] [Bug 30694] wincopy will crash on r600g when going to front buffer

2010-12-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30694 --- Comment #5 from Kevin DeKorte 2010-12-23 07:32:59 PST --- Alex, are you sure this is core mesa issue as the code does not crash on my intel based machine. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- Y

Re: [Mesa-dev] [PATCH 1/4] gallium: add fragment shader property for color writes to all buffers.

2010-12-23 Thread Tilman Sauerbeck
Dave Airlie [2010-12-23 18:43]: > --- a/src/gallium/auxiliary/tgsi/tgsi_text.c > +++ b/src/gallium/auxiliary/tgsi/tgsi_text.c > @@ -1265,6 +1265,7 @@ static const char *property_names[] = > "GS_MAX_OUTPUT_VERTICES", > "FS_COORD_ORIGIN", > "FS_COORD_PIXEL_CENTER" > + "FS_COLOR0_WRITE_A

[Mesa-dev] openGL ES with OSMesa

2010-12-23 Thread firos ismail
Hi all, Iam using mesa 7.8-gles version for my project. I need to use opengl es with osmesa driver for off screen rendering. I was able to build both using makefiles in associate folders. But i was not able to debug my application program. I am using gdb to debug. Am i doing anything wrong

[Mesa-dev] [PATCH 4/4] r300g: add support for color0 writes to all bound color buffers.

2010-12-23 Thread Dave Airlie
Thanks to Marek Olšák for making my initial attempt actually work. Signed-off-by: Dave Airlie --- src/gallium/drivers/r300/r300_context.h |3 ++- src/gallium/drivers/r300/r300_emit.c| 22 -- src/gallium/drivers/r300/r300_fs.c |7 +++ src/gallium/drivers

[Mesa-dev] [PATCH 3/4] mesa/st: set the color write cbuf property for fragColor writes

2010-12-23 Thread Dave Airlie
--- src/mesa/state_tracker/st_program.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index cfdc96b..e9e05ac 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_pr

[Mesa-dev] [PATCH 2/4] softpipe: add support for color writes all color bufs property

2010-12-23 Thread Dave Airlie
--- src/gallium/drivers/softpipe/sp_quad_blend.c | 14 +++--- src/gallium/drivers/softpipe/sp_state.h|2 +- src/gallium/drivers/softpipe/sp_state_shader.c |2 ++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_quad_blend.c

[Mesa-dev] [PATCH 1/4] gallium: add fragment shader property for color writes to all buffers.

2010-12-23 Thread Dave Airlie
For GL fragColor semantics we need to tell the pipe drivers that the fragment shader color result is to be replicated to all bound color buffers, this adds the basic TGSI + documentation. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/tgsi/tgsi_text.c |3 +++ src/gallium/auxiliary/