[Mesa3d-dev] [PATCH] Change some int64_t's to uint64_t's, to match CARD64's signedness

2010-03-11 Thread Jeff Smith
0004-Change-some-int64_t-s-to-uint64_t-s-to-match-CARD64.patch Description: Binary data -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, an

[Mesa3d-dev] [PATCH] Add programs to .gitignore in redbook

2010-03-11 Thread Jeff Smith
0006-Add-programs-to-.gitignore-in-redbook.patch Description: Binary data -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune ap

[Mesa3d-dev] [PATCH] Grammar and spelling fixes

2010-03-11 Thread Jeff Smith
0001-Grammar-and-spelling-fixes.patch Description: Binary data -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications

[Mesa3d-dev] [PATCH] Add programs to .gitignore in xdemos

2010-03-11 Thread Jeff Smith
0005-Add-programs-to-.gitignore-in-xdemos.patch Description: Binary data -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune app

[Mesa3d-dev] xdemos build breakage...

2010-03-11 Thread David Miller
This change: commit d888bbc45a84946cafb4f4d2c89681a580cd89bc Author: Brian Paul Date: Tue Nov 17 13:39:13 2009 -0700 progs/xdemos: added -lX11 -lpthread for GNU gold linker breaks the build if you are building under a specific path prefix (say, /opt/XORG) and you have an existing X11 ins

[Mesa3d-dev] [PATCH] Add -L$(libdir) for xdemos and egl so that the right libX11 is found

2010-03-11 Thread Jeff Smith
0003-Add-L-libdir-for-xdemos-and-egl-so-that-the-right.patch Description: Binary data -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and

[Mesa3d-dev] [PATCH] dri/r700: Include shader/programopt.h instead of programopt.c.

2010-03-11 Thread Luc Verhaegen
Luc Verhaegen. >From 6b67397898003c86d7d1b5bc7f4e9f898ec90e14 Mon Sep 17 00:00:00 2001 From: Luc Verhaegen Date: Fri, 12 Mar 2010 08:35:22 +0100 Subject: [PATCH] dri/r700: include shader/programopt.h instead of programopt.c. --- src/mesa/drivers/dri/r600/r700_vertprog.c |2 +- 1 files change

Re: [Mesa3d-dev] [PATCH-RFC] st_api, EGLImage, and flush_frontbuffer

2010-03-11 Thread Chia-I Wu
On Fri, Mar 12, 2010 at 12:20 PM, Jakob Bornecrantz wrote: > On Fri, Mar 12, 2010 at 3:00 AM, Chia-I Wu wrote: >> On Thu, Mar 11, 2010 at 12:15 PM, Chia-I Wu wrote: >>> This patch series adds st_api interface to st/mesa and st/vega, and >>> switch st/egl and st/glx from st_public interface to th

Re: [Mesa3d-dev] [PATCH-RFC] st_api, EGLImage, and flush_frontbuffer

2010-03-11 Thread Chia-I Wu
On Fri, Mar 12, 2010 at 12:07 PM, Jakob Bornecrantz wrote: > On Fri, Mar 12, 2010 at 2:12 AM, Chia-I Wu wrote: >> On Fri, Mar 12, 2010 at 3:11 AM, Jakob Bornecrantz wrote: >>> Thanks for doing this Chia-I, also a very excellent summary. Last time we >>> talked about st_api IIRC we both agreed th

Re: [Mesa3d-dev] [PATCH-RFC] st_api, EGLImage, and flush_frontbuffer

2010-03-11 Thread Jakob Bornecrantz
On Fri, Mar 12, 2010 at 3:00 AM, Chia-I Wu wrote: > On Thu, Mar 11, 2010 at 12:15 PM, Chia-I Wu wrote: >> This patch series adds st_api interface to st/mesa and st/vega, and >> switch st/egl and st/glx from st_public interface to the new interface. > I've pushed most of the this patch series to g

Re: [Mesa3d-dev] [PATCH-RFC] st_api, EGLImage, and flush_frontbuffer

2010-03-11 Thread Chia-I Wu
On Fri, Mar 12, 2010 at 10:16 AM, Chia-I Wu wrote: > On Thu, Mar 11, 2010 at 11:45 PM, Keith Whitwell wrote: >> On Thu, 2010-03-11 at 07:43 -0800, Chia-I Wu wrote: >>> Thanks for testing the patches.  I will have a look at the segfault >>> tomorrow. >>> I haven't tried llvmpipe.  Does softpipe a

Re: [Mesa3d-dev] [PATCH-RFC] st_api, EGLImage, and flush_frontbuffer

2010-03-11 Thread Chia-I Wu
On Thu, Mar 11, 2010 at 12:15 PM, Chia-I Wu wrote: > This patch series adds st_api interface to st/mesa and st/vega, and > switch st/egl and st/glx from st_public interface to the new interface. I've pushed most of the this patch series to gallium-st-api. I'd like to have this topic branch focus

Re: [Mesa3d-dev] [PATCH-RFC] st_api, EGLImage, and flush_frontbuffer

2010-03-11 Thread Chia-I Wu
On Thu, Mar 11, 2010 at 11:45 PM, Keith Whitwell wrote: > On Thu, 2010-03-11 at 07:43 -0800, Chia-I Wu wrote: >> Thanks for testing the patches.  I will have a look at the segfault tomorrow. >> I haven't tried llvmpipe.  Does softpipe also get the rendering error? > No, purely llvmpipe. I've fixed

Re: [Mesa3d-dev] [PATCH-RFC] st_api, EGLImage, and flush_frontbuffer

2010-03-11 Thread Chia-I Wu
On Fri, Mar 12, 2010 at 3:11 AM, Jakob Bornecrantz wrote: > Thanks for doing this Chia-I, also a very excellent summary. Last time we > talked about st_api IIRC we both agreed that the way we implemented EGLImage > was wrong. However I think that we have waited long enough to move the state > trac

[Mesa3d-dev] util_format cleanup leftover: Gallium BGRA vertex swizzles

2010-03-11 Thread Marek Olšák
Please see this commit: http://cgit.freedesktop.org/~mareko/mesa/commit/?id=177a4432aa88fc68d83895ae71b7ad2c86a1e7e3 Subject: [PATCH] gallium: fix BGRA vertex color swizzles The mapping for vertex_array_bgra: (gl -> st -> translate) GL_RGBA -> PIPE_FORMAT_R8G8B8A8 (RGBA) -> no swizzle (XYZW) GL_B

[Mesa3d-dev] [Bug 27012] mesa git shows a compilation error

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27012 Jos van Wolput changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

Re: [Mesa3d-dev] mesa vbo validation issue [was Re: Wine/Gallium indexed strided VBO fail]

2010-03-11 Thread Corbin Simpson
On Wed, Mar 10, 2010 at 7:11 AM, Brian Paul wrote: >>> get_arrays_bounds: Handling 2 attrs >>> attr 0: stride 16 size 12 start (nil) end 0xfffc >>> attr 1: stride 16 size 4 start 0xc end (nil) >>> buffer range: (nil) 0xfffc range -4 max index 4294967295 > > Can you post the patch you used

Re: [Mesa3d-dev] Revert ST_SURFACE_DEPTH = BUFFER_DEPTH in master too?

2010-03-11 Thread Marek Olšák
On Thu, Mar 11, 2010 at 4:41 PM, Luca Barbieri wrote: > I've looked into the issue, and found a workaround by looking at what > st_renderbuffer_alloc_storage (which is called to create the depth > buffer with ST_SURFACE_DEPTH != BUFFER_DEPTH) does. > > Adding: > if(ctx) ctx->NewState |= _NEW_BUFFE

Re: [Mesa3d-dev] sw-api-2 branch

2010-03-11 Thread STEVE555
Hi keith, Thank you very much for putting my mind at rest.I have to admit I was sweating a bit,lol! I'm might try out the gallium-sampler-view branch a bit later. Regards, STEVE555 Keith Whitwell-4 wrote: > > I actually merged the sw-api-2 branch to master & then deleted

Re: [Mesa3d-dev] sw-api-2 branch

2010-03-11 Thread Keith Whitwell
I actually merged the sw-api-2 branch to master & then deleted the branch. Sorry if I surprised you - just trying to avoid having hundreds of old, dead branches cluttering up the repository. Usually after a few weeks go by it's hard to remember which branches are still active and which can be de

Re: [Mesa3d-dev] sw-api-2 branch

2010-03-11 Thread STEVE555
Hi guys, I applied the patch using git apply on the Mesa master branch (I was getting the same on there also),for some reason,Kompare wasn't doing it's job properly. The reason I did it on there was because I looked at the branches on cgit,and Keith's gallium-sw-api-2 branch has disapp

Re: [Mesa3d-dev] Revert ST_SURFACE_DEPTH = BUFFER_DEPTH in master too?

2010-03-11 Thread Brian Paul
Luca Barbieri wrote: > Shouldn't > > _mesa_add_renderbuffer(&stfb->Base, BUFFER_FRONT_LEFT, rb); > > be > > _mesa_add_renderbuffer(&stfb->Base, surfIndex, rb); > > instead, since you seem to make the on-demand creation mechanism > generic and no longer limited to the front buffer? Yes. Fixed n

Re: [Mesa3d-dev] Compile error in xorg_crtc.c

2010-03-11 Thread José Fonseca
On Thu, 2010-03-11 at 13:39 -0800, Johannes Obermayr wrote: > STEVE555 wrote: > >If I leave out the xorg state tracker,it goes past fine until it comes up > >with this error I posted earlier: > > > >gmake[5]: Entering directory `/opt/mesa/src/gallium/winsys/drm/vmware/egl' > >gcc -c -g -O2 -Wall -

Re: [Mesa3d-dev] Compile error in xorg_crtc.c

2010-03-11 Thread Johannes Obermayr
STEVE555 wrote: >If I leave out the xorg state tracker,it goes past fine until it comes up >with this error I posted earlier: > >gmake[5]: Entering directory `/opt/mesa/src/gallium/winsys/drm/vmware/egl' >gcc -c -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math >-fvisibility=hidden -fno-stric

Re: [Mesa3d-dev] Revert ST_SURFACE_DEPTH = BUFFER_DEPTH in master too?

2010-03-11 Thread Luca Barbieri
Shouldn't _mesa_add_renderbuffer(&stfb->Base, BUFFER_FRONT_LEFT, rb); be _mesa_add_renderbuffer(&stfb->Base, surfIndex, rb); instead, since you seem to make the on-demand creation mechanism generic and no longer limited to the front buffer? -

Re: [Mesa3d-dev] Revert ST_SURFACE_DEPTH = BUFFER_DEPTH in master too?

2010-03-11 Thread Brian Paul
Michel Dänzer wrote: > On Thu, 2010-03-11 at 11:28 -0700, Brian Paul wrote: >> Luca Barbieri wrote: >>> Solves the Warsow issue and seems to work. >> OK, I think you can commit the patch to 7.8 then. > > Can this also be backported to mesa_7_7_branch? Sure, if you can test it. We might want to

Re: [Mesa3d-dev] Broken variable scopes in Mesa?

2010-03-11 Thread Brian Paul
Mathias Gottschlag wrote: > While trying Horde3D on nouveau I found out that Mesa rejects the > following shader which correctly compiles on the proprietary drivers > and, as far as I can see, seems to be correct according to the GLSL specs: > > > uniform sampler2D tex; > > void main() > { >

Re: [Mesa3d-dev] sw-api-2 branch

2010-03-11 Thread Dan Nicholson
On Thu, Mar 11, 2010 at 12:23 PM, Dan Nicholson wrote: > On Thu, Mar 11, 2010 at 12:19 PM, STEVE555 wrote: >> >> Hi Keith, >>            Here's what I did.I opened Konsole on my mesa folder.I did a git >> pull origin to get the latest commits from master,then I did a git checkout >> -b gallium-sw

Re: [Mesa3d-dev] sw-api-2 branch

2010-03-11 Thread Dan Nicholson
On Thu, Mar 11, 2010 at 12:19 PM, STEVE555 wrote: > > Hi Keith, >            Here's what I did.I opened Konsole on my mesa folder.I did a git > pull origin to get the latest commits from master,then I did a git checkout > -b gallium-sw-api-2 origin/gallium-sw-api-2 to get your branch again(I > del

Re: [Mesa3d-dev] sw-api-2 branch

2010-03-11 Thread STEVE555
Hi Keith, Here's what I did.I opened Konsole on my mesa folder.I did a git pull origin to get the latest commits from master,then I did a git checkout -b gallium-sw-api-2 origin/gallium-sw-api-2 to get your branch again(I deleted it earlier) .I then switched to the gallium-sw-api-2 usi

[Mesa3d-dev] Fwd: Re: Gallium questions ...

2010-03-11 Thread Christoph Bumiller
Sorry, forgot to reply-all ... Original Message Subject:Re: [Mesa3d-dev] Gallium questions ... Date: Thu, 11 Mar 2010 18:29:10 +0100 From: Christoph Bumiller To: Jerome Glisse On 11.03.2010 18:13, Jerome Glisse wrote: > Hi all, > > I have been a little bit ou

[Mesa3d-dev] [Bug 26730] Gallium driver for r500 GL_NV_vertex_program doesn't work

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26730 Marek Olšák changed: What|Removed |Added Status|RESOLVED|CLOSED -- Configure bugmail: http://bu

[Mesa3d-dev] [Bug 26730] Gallium driver for r500 GL_NV_vertex_program doesn't work

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26730 Marek Olšák changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa3d-dev] Broken variable scopes in Mesa?

2010-03-11 Thread Mathias Gottschlag
While trying Horde3D on nouveau I found out that Mesa rejects the following shader which correctly compiles on the proprietary drivers and, as far as I can see, seems to be correct according to the GLSL specs: uniform sampler2D tex; void main() { vec3 tex = texture2D(tex, gl_TexCoord[0].

[Mesa3d-dev] [Bug 27007] Lines disappear with GL_LINE_SMOOTH

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27007 --- Comment #3 from Søren Hauberg 2010-03-11 11:12:03 PST --- Created an attachment (id=33962) --> (http://bugs.freedesktop.org/attachment.cgi?id=33962) Output of 'glxinfo' -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?

Re: [Mesa3d-dev] [PATCH-RFC] st_api, EGLImage, and flush_frontbuffer

2010-03-11 Thread Jakob Bornecrantz
On 11 mar 2010, at 04.15, Chia-I Wu wrote: > Hi all, > > This patch series adds st_api interface to st/mesa and st/vega, and > switch st/egl and st/glx from st_public interface to the new > interface. > > Feature-wise, st_api provides a more robust multiple client APIs > (OpenGL/OpenGL ES/OpenVG)

Re: [Mesa3d-dev] Revert ST_SURFACE_DEPTH = BUFFER_DEPTH in master too?

2010-03-11 Thread Michel Dänzer
On Thu, 2010-03-11 at 11:28 -0700, Brian Paul wrote: > Luca Barbieri wrote: > > Solves the Warsow issue and seems to work. > > OK, I think you can commit the patch to 7.8 then. Can this also be backported to mesa_7_7_branch? -- Earthling Michel Dänzer |http://www.vmw

Re: [Mesa3d-dev] Gallium questions ...

2010-03-11 Thread Corbin Simpson
On Thu, Mar 11, 2010 at 9:13 AM, Jerome Glisse wrote: > Also i think GLSL state that the sampler information should be defined > at shader build time but the TGSI doesn't seems to provide those, for > r600 i need to have a shader rewritting because of this (it's not big > and i don't mind much and

Re: [Mesa3d-dev] Gallium questions ...

2010-03-11 Thread michal
Jerome Glisse wrote on 2010-03-11 18:13: > Hi all, > > I have been a little bit out of the loop on the mesa side, thus now i am > having a bunch of questions relating to gallium, apologies if i am asking > for obvious thing. > > First in tgsi compiler there is a Dimension field (struct tgsi_dimensi

Re: [Mesa3d-dev] Commit messages broken??

2010-03-11 Thread Dan Nicholson
On Thu, Mar 11, 2010 at 7:10 AM, Daniel Stone wrote: > On Thu, Mar 11, 2010 at 10:02:46AM -0500, Zack Rusin wrote: >> On Thursday 11 March 2010 02:58:49 Tollef Fog Heen wrote: >> > ]] Zack Rusin >> > | BTW, replacing a mail client on the server with something that's not >> > | compatible is not ve

Re: [Mesa3d-dev] Revert ST_SURFACE_DEPTH = BUFFER_DEPTH in master too?

2010-03-11 Thread Brian Paul
Luca Barbieri wrote: > Solves the Warsow issue and seems to work. OK, I think you can commit the patch to 7.8 then. -Brian -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling

Re: [Mesa3d-dev] extensions supported or not in gallium

2010-03-11 Thread Roland Scheidegger
On 11.03.2010 17:54, Brian Paul wrote: > Roland Scheidegger wrote: >> Hi, >> >> there are currently a couple of extensions enabled in the mesa state >> tracker which probably shouldn't be. These were moved there by commit >> a0ae2ca033ec2024da1e01d1c11c0437837c031b (that is with dri they were >> al

Re: [Mesa3d-dev] Revert ST_SURFACE_DEPTH = BUFFER_DEPTH in master too?

2010-03-11 Thread Luca Barbieri
Solves the Warsow issue and seems to work. Thanks! -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performanc

[Mesa3d-dev] Gallium questions ...

2010-03-11 Thread Jerome Glisse
Hi all, I have been a little bit out of the loop on the mesa side, thus now i am having a bunch of questions relating to gallium, apologies if i am asking for obvious thing. First in tgsi compiler there is a Dimension field (struct tgsi_dimension) that i don't understand, it seems all driver are

Re: [Mesa3d-dev] [Intel-gfx] i965 OpenGL is heavily broken again

2010-03-11 Thread Maxim Levitsky
On Wed, 2010-03-10 at 13:04 +0100, Florian Mickler wrote: > On Sun, 07 Mar 2010 12:39:15 +0200 > Maxim Levitsky wrote: > > > On Sat, 2010-03-06 at 23:55 +0100, Florian Mickler wrote: > > > On Sun, 07 Mar 2010 00:24:24 +0200 > > > Maxim Levitsky wrote: > > > > > > > On Sun, 2010-03-07 at 00:05 +

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-11 Thread Keith Whitwell
On Thu, 2010-03-11 at 08:59 -0800, Jerome Glisse wrote: > On Thu, Mar 11, 2010 at 03:16:32PM +, Keith Whitwell wrote: > > On Thu, 2010-03-11 at 06:05 -0800, michal wrote: > > > Keith Whitwell wrote on 2010-03-11 14:21: > > > > On Thu, 2010-03-11 at 03:16 -0800, michal wrote: > > > > > > > >>

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-11 Thread michal
Keith Whitwell wrote on 2010-03-11 16:16: > On Thu, 2010-03-11 at 06:05 -0800, michal wrote: > >> Keith Whitwell wrote on 2010-03-11 14:21: >> >>> On Thu, 2010-03-11 at 03:16 -0800, michal wrote: >>> >>> Hi, I would like to merge the branch in subject this week. Thi

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-11 Thread Jerome Glisse
On Thu, Mar 11, 2010 at 03:16:32PM +, Keith Whitwell wrote: > On Thu, 2010-03-11 at 06:05 -0800, michal wrote: > > Keith Whitwell wrote on 2010-03-11 14:21: > > > On Thu, 2010-03-11 at 03:16 -0800, michal wrote: > > > > > >> Hi, > > >> > > >> I would like to merge the branch in subject this

Re: [Mesa3d-dev] Revert ST_SURFACE_DEPTH = BUFFER_DEPTH in master too?

2010-03-11 Thread Brian Paul
Brian Paul wrote: Luca Barbieri wrote: I've looked into the issue, and found a workaround by looking at what st_renderbuffer_alloc_storage (which is called to create the depth buffer with ST_SURFACE_DEPTH != BUFFER_DEPTH) does. Adding: if(ctx) ctx->NewState |= _NEW_BUFFERS; at the end of st_se

Re: [Mesa3d-dev] extensions supported or not in gallium

2010-03-11 Thread Brian Paul
Roland Scheidegger wrote: > Hi, > > there are currently a couple of extensions enabled in the mesa state > tracker which probably shouldn't be. These were moved there by commit > a0ae2ca033ec2024da1e01d1c11c0437837c031b (that is with dri they were > already always enabled before). > > Someone kno

[Mesa3d-dev] glapi execmem [was Re: code generation for dynamic extensions broken ?]

2010-03-11 Thread George Sapountzis
On Wed, Mar 10, 2010 at 2:18 AM, George Sapountzis wrote: > > It turned out that there were two bugs in glapi. One with using > non-exec memory and the other with using an un-relocated function > template for entry-point generation. I put fixes at: > > Since we are already generating static dispat

Re: [Mesa3d-dev] Revert ST_SURFACE_DEPTH = BUFFER_DEPTH in master too?

2010-03-11 Thread Brian Paul
Luca Barbieri wrote: > I've looked into the issue, and found a workaround by looking at what > st_renderbuffer_alloc_storage (which is called to create the depth > buffer with ST_SURFACE_DEPTH != BUFFER_DEPTH) does. > > Adding: > if(ctx) ctx->NewState |= _NEW_BUFFERS; > > at the end of st_set_fra

[Mesa3d-dev] context transfers again

2010-03-11 Thread Keith Whitwell
I've pushed a cleaned-up version of this branch to gallium-context-transfers-2. Despite its long history, this branch is a fairly straightforward change, moving transfers to pipe_context. We've had to do quite a bit of work elsewhere to make this change feasible, but having done that it's not t

[Mesa3d-dev] extensions supported or not in gallium

2010-03-11 Thread Roland Scheidegger
Hi, there are currently a couple of extensions enabled in the mesa state tracker which probably shouldn't be. These were moved there by commit a0ae2ca033ec2024da1e01d1c11c0437837c031b (that is with dri they were already always enabled before). Someone knows off-hand which one we can enable or not

Re: [Mesa3d-dev] Cast needed in program_lexer.l ???

2010-03-11 Thread Brian Paul
Karl Schultz wrote: > Am getting these warnings in the Windows build: > > 2>Compiling... > 2>lex.yy.c > 2>program_lexer.l(327) : warning C4244: '=' : conversion from 'double' > to 'float', possible loss of data > 2>program_lexer.l(331) : warning C4244: '=' : conversion from 'double' > to 'float'

[Mesa3d-dev] Cast needed in program_lexer.l ???

2010-03-11 Thread Karl Schultz
Am getting these warnings in the Windows build: 2>Compiling... 2>lex.yy.c 2>program_lexer.l(327) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 2>program_lexer.l(331) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data 2>program_lexe

[Mesa3d-dev] [Bug 27017] New: swrast not working correctly - point-wide trivial

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27017 Summary: swrast not working correctly - point-wide trivial Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Prior

Re: [Mesa3d-dev] [PATCH-RFC] st_api, EGLImage, and flush_frontbuffer

2010-03-11 Thread Keith Whitwell
On Thu, 2010-03-11 at 07:43 -0800, Chia-I Wu wrote: > On Thu, Mar 11, 2010 at 7:54 PM, Keith Whitwell wrote: > > On Thu, 2010-03-11 at 03:25 -0800, Keith Whitwell wrote: > >> This is all looking good to me. The code doesn't seem to introduce any > >> new layering issues or introduce dependencies

Re: [Mesa3d-dev] [PATCH-RFC] st_api, EGLImage, and flush_frontbuffer

2010-03-11 Thread Chia-I Wu
On Thu, Mar 11, 2010 at 7:54 PM, Keith Whitwell wrote: > On Thu, 2010-03-11 at 03:25 -0800, Keith Whitwell wrote: >> This is all looking good to me.  The code doesn't seem to introduce any >> new layering issues or introduce dependencies on existing ones, which >> helps with ongoing cleanups. >> I

Re: [Mesa3d-dev] Revert ST_SURFACE_DEPTH = BUFFER_DEPTH in master too?

2010-03-11 Thread Luca Barbieri
I've looked into the issue, and found a workaround by looking at what st_renderbuffer_alloc_storage (which is called to create the depth buffer with ST_SURFACE_DEPTH != BUFFER_DEPTH) does. Adding: if(ctx) ctx->NewState |= _NEW_BUFFERS; at the end of st_set_framebuffer_surface seems to solve the w

Re: [Mesa3d-dev] Commit messages broken??

2010-03-11 Thread Daniel Stone
On Thu, Mar 11, 2010 at 10:02:46AM -0500, Zack Rusin wrote: > On Thursday 11 March 2010 02:58:49 Tollef Fog Heen wrote: > > ]] Zack Rusin > > | BTW, replacing a mail client on the server with something that's not > > | compatible is not very social. > > > > Rather than assuming malice, you may as

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-11 Thread Keith Whitwell
On Thu, 2010-03-11 at 06:05 -0800, michal wrote: > Keith Whitwell wrote on 2010-03-11 14:21: > > On Thu, 2010-03-11 at 03:16 -0800, michal wrote: > > > >> Hi, > >> > >> I would like to merge the branch in subject this week. This feature > >> branch allows state trackers to bind sampler views in

[Mesa3d-dev] [Bug 27018] swrast not working correctly - samples/stencil

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27018 --- Comment #6 from Brian Paul 2010-03-11 07:22:39 PST --- Looks like the issue is related to single buffer rendering. Some of the tests take a -db flag to turn on double buffering. point-wide looks OK with that flag. Hopefully someone el

[Mesa3d-dev] [Bug 27018] swrast not working correctly - samples/stencil

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27018 --- Comment #5 from Brian Paul 2010-03-11 07:13:51 PST --- This demo (and the others you've filed bugs against) work fine here with swrast built with 'make linux'. With this configuration, glxinfo reports: OpenGL vendor string: Brian Paul

[Mesa3d-dev] [Bug 27017] swrast not working correctly - point-wide trivial

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27017 --- Comment #1 from Andrew Randrianasulu 2010-03-11 06:32:25 PST --- Created an attachment (id=33955) --> (http://bugs.freedesktop.org/attachment.cgi?id=33955) glxinfo -l -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?ta

Re: [Mesa3d-dev] Commit messages broken??

2010-03-11 Thread Zack Rusin
On Thursday 11 March 2010 02:58:49 Tollef Fog Heen wrote: > ]] Zack Rusin > | BTW, replacing a mail client on the server with something that's not > | compatible is not very social. > > Rather than assuming malice, you may assume that I was trying to fix > something when I made that change. I

[Mesa3d-dev] [Bug 27017] swrast not working correctly - point-wide trivial

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27017 Andrew Randrianasulu changed: What|Removed |Added Attachment #33956|application/octet-stream|text/plain mime type|

[Mesa3d-dev] [Bug 27018] swrast not working correctly - samples/stencil

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27018 --- Comment #4 from Andrew Randrianasulu 2010-03-11 06:51:20 PST --- Note - rendering directly to fb/vram is currently way too slow on rv280/KMS I can see for minute as demo draws itself. Composite manager speed it up -- Configure

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-11 Thread José Fonseca
On Thu, 2010-03-11 at 06:21 -0800, michal wrote: > José Fonseca wrote on 2010-03-11 14:40: > > On Thu, 2010-03-11 at 03:16 -0800, michal wrote: > > > >> Hi, > >> > >> I would like to merge the branch in subject this week. This feature > >> branch allows state trackers to bind sampler views inst

[Mesa3d-dev] [Bug 27018] swrast not working correctly - samples/stencil

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27018 --- Comment #3 from Andrew Randrianasulu 2010-03-11 06:47:45 PST --- Created an attachment (id=33959) --> (http://bugs.freedesktop.org/attachment.cgi?id=33959) same glxinfo -l as in bug #27017 -- Configure bugmail: http://bugs.freedeskto

[Mesa3d-dev] [Bug 27018] swrast not working correctly - samples/stencil

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27018 --- Comment #2 from Andrew Randrianasulu 2010-03-11 06:46:30 PST --- Created an attachment (id=33958) --> (http://bugs.freedesktop.org/attachment.cgi?id=33958) wrong rendering from swrast -- Configure bugmail: http://bugs.freedesktop.org

[Mesa3d-dev] [Bug 27018] swrast not working correctly - samples/stencil

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27018 --- Comment #1 from Andrew Randrianasulu 2010-03-11 06:45:33 PST --- Created an attachment (id=33957) --> (http://bugs.freedesktop.org/attachment.cgi?id=33957) correct rendering from rv280 -- Configure bugmail: http://bugs.freedesktop.or

[Mesa3d-dev] [Bug 27018] New: swrast not working correctly - samples/stencil

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27018 Summary: swrast not working correctly - samples/stencil Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority

Re: [Mesa3d-dev] sw-api-2 branch

2010-03-11 Thread Keith Whitwell
Steve, Does the attached patch help for you? Keith On Wed, 2010-03-10 at 05:34 -0800, STEVE555 wrote: > Hi Keith, > I use these configure options: > ./configure --prefix=/usr --enable-32-bit --enable-xcb > --enable-gallium-nouveau --with-state-trackers=dri,egl,xorg,glx,vega,es > --en

[Mesa3d-dev] [Bug 27017] swrast not working correctly - point-wide trivial

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27017 --- Comment #3 from Andrew Randrianasulu 2010-03-11 06:37:35 PST --- as i can seen in point-wide code, there sould be FOUR different colors: static void Draw(void) { glClear(GL_COLOR_BUFFER_BIT);. glDisable(GL_DEPTH_TEST); glPoint

[Mesa3d-dev] [Bug 27017] swrast not working correctly - point-wide trivial

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27017 Andrew Randrianasulu changed: What|Removed |Added Attachment #33955|0 |1 is obsolete|

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-11 Thread michal
José Fonseca wrote on 2010-03-11 14:40: > On Thu, 2010-03-11 at 03:16 -0800, michal wrote: > >> Hi, >> >> I would like to merge the branch in subject this week. This feature >> branch allows state trackers to bind sampler views instead of textures >> to shader stages. >> >> A sampler view obje

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-11 Thread michal
Keith Whitwell wrote on 2010-03-11 14:21: > On Thu, 2010-03-11 at 03:16 -0800, michal wrote: > >> Hi, >> >> I would like to merge the branch in subject this week. This feature >> branch allows state trackers to bind sampler views instead of textures >> to shader stages. >> >> A sampler view ob

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-11 Thread José Fonseca
On Thu, 2010-03-11 at 05:21 -0800, Keith Whitwell wrote: > On Thu, 2010-03-11 at 03:16 -0800, michal wrote: > > Hi, > > > > I would like to merge the branch in subject this week. This feature > > branch allows state trackers to bind sampler views instead of textures > > to shader stages. > > >

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-11 Thread José Fonseca
On Thu, 2010-03-11 at 03:16 -0800, michal wrote: > Hi, > > I would like to merge the branch in subject this week. This feature > branch allows state trackers to bind sampler views instead of textures > to shader stages. > > A sampler view object holds a reference to a texture and also overrides

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-11 Thread Keith Whitwell
On Thu, 2010-03-11 at 05:21 -0800, Keith Whitwell wrote: > On Thu, 2010-03-11 at 03:16 -0800, michal wrote: > > Hi, > > > > I would like to merge the branch in subject this week. This feature > > branch allows state trackers to bind sampler views instead of textures > > to shader stages. > > >

Re: [Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-11 Thread Keith Whitwell
On Thu, 2010-03-11 at 03:16 -0800, michal wrote: > Hi, > > I would like to merge the branch in subject this week. This feature > branch allows state trackers to bind sampler views instead of textures > to shader stages. > > A sampler view object holds a reference to a texture and also overrides

Re: [Mesa3d-dev] vmware gallium without X, on EGL

2010-03-11 Thread Michel Dänzer
On Wed, 2010-03-10 at 13:37 +0100, Peter Hanzel wrote: > > I had to change this: > src/gallium/state_trackers/egl/kms/native_kms.c > in kms_surface_swap_buffers: > >if (ksurf->is_shown && kcrtc->crtc) { > //err = drmModeSetCrtc(kdpy->fd, kcrtc->crtc->crtc_id, > // ksurf->bac

Re: [Mesa3d-dev] [PATCH-RFC] st_api, EGLImage, and flush_frontbuffer

2010-03-11 Thread Keith Whitwell
On Thu, 2010-03-11 at 03:25 -0800, Keith Whitwell wrote: > On Wed, 2010-03-10 at 20:15 -0800, Chia-I Wu wrote: > > Hi all, > > > > This patch series adds st_api interface to st/mesa and st/vega, and > > switch st/egl and st/glx from st_public interface to the new interface. > > > > Feature-wise,

Re: [Mesa3d-dev] [PATCH-RFC] st_api, EGLImage, and flush_frontbuffer

2010-03-11 Thread Keith Whitwell
On Wed, 2010-03-10 at 20:15 -0800, Chia-I Wu wrote: > Hi all, > > This patch series adds st_api interface to st/mesa and st/vega, and > switch st/egl and st/glx from st_public interface to the new interface. > > Feature-wise, st_api provides a more robust multiple client APIs > (OpenGL/OpenGL ES/

[Mesa3d-dev] [Bug 27007] Lines disappear with GL_LINE_SMOOTH

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27007 --- Comment #2 from Michel Dänzer 2010-03-11 03:24:09 PST --- Please attach the glxinfo output. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the ass

[Mesa3d-dev] [RFC] gallium-sampler-view branch merge

2010-03-11 Thread michal
Hi, I would like to merge the branch in subject this week. This feature branch allows state trackers to bind sampler views instead of textures to shader stages. A sampler view object holds a reference to a texture and also overrides internal texture format (resource casting) and specifies RGBA

[Mesa3d-dev] [Bug 27012] mesa git shows a compilation error

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27012 Michel Dänzer changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa3d-dev] Compile error in xorg_crtc.c

2010-03-11 Thread Michel Dänzer
On Wed, 2010-03-10 at 22:48 +0100, Johannes Obermayr wrote: > XServer 1.7.5: > > I think it is this commit: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=a56da1005d30da60701e33b75d5f4f37096df060 > > Thanks. > Johannes > > > gcc -c -I. -I../../../../src/gallium/include > -I../../../../src

Re: [Mesa3d-dev] Commit messages broken??

2010-03-11 Thread Tollef Fog Heen
]] Zack Rusin | On Wednesday 10 March 2010 14:59:42 Zack Rusin wrote: | > Maybe /usr/bin/mail is broken, I'll double check it. | | Yea, that's it. Someone installed a new mail daemon on the | server. We're using "-a" to specify the Content-Type header in mails, | but the heirloom mailx that has

[Mesa3d-dev] [Bug 27012] New: mesa git shows a compilation error

2010-03-11 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=27012 Summary: mesa git shows a compilation error Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium