Re: [Mesa-dev] [RFC] mapi: a generic dispatcher to be used by OpenVG (and OpenGL)

2010-05-04 Thread Chia-I Wu
2010/5/2 Chia-I Wu : > I've been working on and off for a while on a dispatcher builder called mapi > (multiple-api, in contrary to gl-api).  The code is available at > >  http://cgit.freedesktop.org/~olv/mesa/log/?h=mapi > > The motivation is to build a dispatcher for OpenVG.  I will give an overv

Re: [Mesa-dev] egl demo apps failing to link

2010-05-04 Thread Chia-I Wu
On Wed, May 5, 2010 at 5:01 AM, Gregory Prisament wrote: > Hi, > I just did a "git pull" and I'm no longer able to build the egl demo apps > (mesa/progs/egl/opengles1/* and mesa/progs/egl/opengles2/*).  These were > working for me previously. > > ES1: > gcc -g -O2 -Wall -Wmissing-prototypes -std=c

Re: [Mesa-dev] [RFC] Convert mesa to automake/libtool

2010-05-04 Thread Dan Nicholson
On Tue, May 4, 2010 at 5:34 AM, Ben Gamari wrote: > On Sun, May 2, 2010 at 12:46 PM, Dan Nicholson wrote: >> Brian, >> >> I'm putting forward this request completely understanding your >> position why you don't want automake and libtool in your project. >> However, I think that mesa has outgrown

[Mesa-dev] [Bug 27924] [TTM] Illegal buffer object size. Black screen with Compiz

2010-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27924 --- Comment #10 from Xavier 2010-05-04 15:25:38 PDT --- (In reply to comment #9) > FWIW I get textures of size 0x0 in resource_create when texture_from_pixmap is > used. I guess it might be the reason the buffer allocation is failing. It's > repr

Re: [Mesa-dev] [RFC] Convert mesa to automake/libtool

2010-05-04 Thread Dave Airlie
On Wed, May 5, 2010 at 8:08 AM, Marek Olšák wrote: > On Tue, May 4, 2010 at 11:58 PM, Jesse Barnes > wrote: >> >> One thing that hasn't been mentioned (the wrapping made me think of >> it): shave. >> >> It's absolutely great to have your compile flags hidden by default so >> you can see warnings

Re: [Mesa-dev] [RFC] Convert mesa to automake/libtool

2010-05-04 Thread Marek Olšák
On Tue, May 4, 2010 at 11:58 PM, Jesse Barnes wrote: > One thing that hasn't been mentioned (the wrapping made me think of > it): shave. > > It's absolutely great to have your compile flags hidden by default so > you can see warnings and errors more easily. "make >/dev/null" shows you exactly wh

Re: [Mesa-dev] [RFC] Convert mesa to automake/libtool

2010-05-04 Thread Jesse Barnes
On Mon, 03 May 2010 14:49:09 -0700 Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Brian Paul wrote: > > > The libtool script wrapped every cc command and it slowed the build > > process considerably. Have you done any "before/after" build time > > comparisons? I bui

Re: [Mesa-dev] [PATCH 2/2] tgsi: make dumping work on non-debug builds

2010-05-04 Thread José Fonseca
On Tue, 2010-05-04 at 14:25 -0700, Marek Olšák wrote: > --- > src/gallium/auxiliary/tgsi/tgsi_dump.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.c > b/src/gallium/auxiliary/tgsi/tgsi_dump.c > index 1ad183b..97b11fb 100644 >

Re: [Mesa-dev] [PATCH] Mark MESA_swap_control and SGI_video_sync as not "direct only"

2010-05-04 Thread Jesse Barnes
On Fri, 30 Apr 2010 20:57:51 -0400 Owen Taylor wrote: > From: Owen W. Taylor > > With DRI2, MESA_swap_control and SGI_video_sync are done on the > X server side, so shouldn't be marked direct_only - they only > can be supported if the server supports them. > > This fix is not completely right

[Mesa-dev] [PATCH 2/2] tgsi: make dumping work on non-debug builds

2010-05-04 Thread Marek Olšák
--- src/gallium/auxiliary/tgsi/tgsi_dump.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.c b/src/gallium/auxiliary/tgsi/tgsi_dump.c index 1ad183b..97b11fb 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_dump.c +++ b/src/gallium/auxilia

[Mesa-dev] [PATCH 1/2] st/mesa: fix per-vertex point size

2010-05-04 Thread Marek Olšák
This fixes FDO bug #27343. --- src/mesa/state_tracker/st_mesa_to_tgsi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c index e8eb9ec..0991e99 100644 --- a/src/mesa/state_tracker/st_mesa_

[Mesa-dev] egl demo apps failing to link

2010-05-04 Thread Gregory Prisament
Hi, I just did a "git pull" and I'm no longer able to build the egl demo apps (mesa/progs/egl/opengles1/* and mesa/progs/egl/opengles2/*). These were working for me previously. ES1: gcc -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -DUSE_X

Re: [Mesa-dev] [RFC] Convert mesa to automake/libtool

2010-05-04 Thread Ben Gamari
On Tue, 04 May 2010 10:19:41 -0700, Keith Packard wrote: > On Tue, 4 May 2010 08:34:00 -0400, Ben Gamari wrote: > > > a standard non-recursive makefile structure, as is used > > in, say, Keith Packard's notmuch[1] project. > > That's Carl Worth's notmuch project, and it was his idea to build us

[Mesa-dev] [Bug 27924] [TTM] Illegal buffer object size. Black screen with Compiz

2010-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27924 --- Comment #9 from Marek Olšák 2010-05-04 10:27:52 PDT --- FWIW I get textures of size 0x0 in resource_create when texture_from_pixmap is used. I guess it might be the reason the buffer allocation is failing. It's reproducible via piglit/tfp. -

Re: [Mesa-dev] [RFC] Convert mesa to automake/libtool

2010-05-04 Thread Keith Packard
On Tue, 4 May 2010 08:34:00 -0400, Ben Gamari wrote: > a standard non-recursive makefile structure, as is used > in, say, Keith Packard's notmuch[1] project. That's Carl Worth's notmuch project, and it was his idea to build using make alone. I'd have to say that while it makes the build system e

[Mesa-dev] [Bug 27924] [TTM] Illegal buffer object size. Black screen with Compiz

2010-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27924 Michel Dänzer changed: What|Removed |Added Attachment #35359|application/octet-stream|text/plain mime type|

[Mesa-dev] [Bug 27924] [TTM] Illegal buffer object size. Black screen with Compiz

2010-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27924 --- Comment #8 from Michał Lipski 2010-05-04 09:56:45 PDT --- (In reply to comment #7) > I've committed another change (2b53f4a9c674e9b02df8a06759e7a2340f257081) that > should silence the spurious GL_OUT_OF_MEMORY error. Not sure if that'll help

[Mesa-dev] [Bug 27924] [TTM] Illegal buffer object size. Black screen with Compiz

2010-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27924 --- Comment #7 from Brian Paul 2010-05-04 09:39:26 PDT --- I've committed another change (2b53f4a9c674e9b02df8a06759e7a2340f257081) that should silence the spurious GL_OUT_OF_MEMORY error. Not sure if that'll help with the overall problem thoug

Re: [Mesa-dev] [RFC] Convert mesa to automake/libtool

2010-05-04 Thread Eric Anholt
On Tue, 4 May 2010 08:34:00 -0400, Ben Gamari wrote: > On Sun, May 2, 2010 at 12:46 PM, Dan Nicholson wrote: > > Brian, > > > > I'm putting forward this request completely understanding your > > position why you don't want automake and libtool in your project. > > However, I think that mesa has o

[Mesa-dev] [Bug 27962] BufferSwapComplete delivered when not selected for (direct rendering)

2010-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27962 Nick Bowler changed: What|Removed |Added CC||nbow...@draconx.ca -- Configure bugmail:

[Mesa-dev] [Bug 27924] [TTM] Illegal buffer object size. Black screen with Compiz

2010-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27924 --- Comment #6 from Michał Lipski 2010-05-04 09:00:08 PDT --- Same results with latest patch. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee f

[Mesa-dev] [Bug 27962] BufferSwapComplete delivered when not selected for (direct rendering)

2010-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27962 Neil Roberts changed: What|Removed |Added CC||n...@linux.intel.com -- Configure bugmai

[Mesa-dev] [Bug 27962] BufferSwapComplete delivered when not selected for (direct rendering)

2010-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27962 --- Comment #1 from Jesse Barnes 2010-05-04 08:44:09 PDT --- Created an attachment (id=35414) View: https://bugs.freedesktop.org/attachment.cgi?id=35414 Review: https://bugs.freedesktop.org/review?bug=27962&attachment=35414 track event mask i

[Mesa-dev] [Bug 27962] New: BufferSwapComplete delivered when not selected for (direct rendering)

2010-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27962 Summary: BufferSwapComplete delivered when not selected for (direct rendering) Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Seve

[Mesa-dev] [Bug 27924] [TTM] Illegal buffer object size. Black screen with Compiz

2010-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27924 --- Comment #5 from maximlevit...@gmail.com 2010-05-04 07:33:27 PDT --- patch doesn't help. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for

Re: [Mesa-dev] [Mesa3d-dev] mesa commit e648d4a1d1c0c5f70916e38366b863f0bec79a62 st/mesa: ignore gl_texture_object::BaseLevel when allocating gallium textures

2010-05-04 Thread Brian Paul
Maxim Levitsky wrote: On Mon, 2010-05-03 at 16:48 -0600, Brian Paul wrote: Maxim Levitsky wrote: On Mon, 2010-05-03 at 15:18 -0600, Brian Paul wrote: Maxim Levitsky wrote: On Mon, 2010-05-03 at 13:11 -0600, Brian Paul wrote: Xavier Chantry wrote: On Sun, May 2, 2010 at 3:16 PM, Marek Olšák

[Mesa-dev] [Bug 27924] [TTM] Illegal buffer object size. Black screen with Compiz

2010-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27924 --- Comment #4 from Brian Paul 2010-05-04 06:59:43 PDT --- Created an attachment (id=35409) View: https://bugs.freedesktop.org/attachment.cgi?id=35409 Review: https://bugs.freedesktop.org/review?bug=27924&attachment=35409 a patch to try. Can

[Mesa-dev] [Bug 27924] [TTM] Illegal buffer object size. Black screen with Compiz

2010-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27924 --- Comment #3 from Brian Paul 2010-05-04 06:59:02 PDT --- Maxim provided a stack trace: Breakpoint 1, st_texture_create (st=0x991ec0, target=PIPE_TEXTURE_2D, format=PIPE_FORMAT_I8_UNORM, last_level=0, width0=512, height0=32, depth0=1, bind=4)

Re: [Mesa-dev] [RFC] Convert mesa to automake/libtool

2010-05-04 Thread Ben Gamari
On Sun, May 2, 2010 at 12:46 PM, Dan Nicholson wrote: > Brian, > > I'm putting forward this request completely understanding your > position why you don't want automake and libtool in your project. > However, I think that mesa has outgrown the static Makefiles approach > for a number of reasons. F

Re: [Mesa-dev] [RFC] Convert mesa to automake/libtool

2010-05-04 Thread José Fonseca
On Sun, 2010-05-02 at 09:46 -0700, Dan Nicholson wrote: > Brian, > > I'm putting forward this request completely understanding your > position why you don't want automake and libtool in your project. > However, I think that mesa has outgrown the static Makefiles approach > for a number of reasons

Re: [Mesa-dev] New "state tracker": Pylladium

2010-05-04 Thread Keith Whitwell
On Sun, 2010-05-02 at 11:04 -0700, José Fonseca wrote: > On Sun, 2010-05-02 at 09:34 -0700, Corbin Simpson wrote: > > So I got bored a few days ago and broke ground on a little bit of code > > I've had in mind for a while. This is a new state tracker, Pylladium, > > that acts to expose the core Gal

Re: [Mesa-dev] [Mesa3d-dev] mesa commit e648d4a1d1c0c5f70916e38366b863f0bec79a62 st/mesa: ignore gl_texture_object::BaseLevel when allocating gallium textures

2010-05-04 Thread Maxim Levitsky
On Mon, 2010-05-03 at 19:59 -0600, Brian Paul wrote: > On Mon, May 3, 2010 at 6:47 PM, Maxim Levitsky > wrote: > > > Note that not git tip of mesa makes compiz abort on: > > > > compiz: main/buffers.c:371: _mesa_drawbuffers: Assertion `mask[output] != > > ~0u' > > You may have to do a 'make c

Re: [Mesa-dev] cant compile with llvmpipe enabled

2010-05-04 Thread Chia-I Wu
On Mon, May 3, 2010 at 11:10 PM, wrote: > Ok. I removed  "-Wl,--as-needed" and now compilation went smooth.However > when I enable gles1 and gles2 and add es state tracker I got something like > this: > > mklib: Making Linux shared library:  libGL.so.1.2 > mklib: Installing libGL.so.1.2 libGL.so.

[Mesa-dev] [Bug 25500] Add linker option to mklib call

2010-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25500 --- Comment #3 from Robert Schwebel 2010-05-04 01:02:05 PDT --- Ping, can I provide any further information, in order to get this applied upstream? rsc -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are