Re: [Mesa3d-dev] [PATCH 3/4] [egl_g3d] Revalidate based on sequence number

2010-01-12 Thread Chia-I Wu
On Tue, Jan 12, 2010 at 5:03 PM, Chia-I Wu olva...@gmail.com wrote: Semantically, the validate call asks for nothing but the specified textures of the native surface _at the moment_.  There are some properties * It can be called repeatedly without any ill effect * It may return entirely

Re: [Mesa3d-dev] Plans for EGL

2010-01-12 Thread Keith Whitwell
On Mon, 2010-01-11 at 20:23 -0800, Chia-I Wu wrote: Hi all, I just pushed a new EGL driver (egl_g3d) to master. The new driver is located at src/gallium/state_trackers/egl_g3d/. When built, it provides .a archives that are later linked to by src/gallium/winsys/drm/hw/egl_g3d/ to provide

[Mesa3d-dev] [PATH] Add double opcodes to TGSI Revision 2

2010-01-12 Thread Igor Oliveira
These patches add support to double opcodes as discussed in mail list. The opcodes create are: movd, ddiv, dadd, dseq, dmax, dmin, dmul, dmuladd, drcp and dslt. They are used like suggested by Zack: MOVD A.xy, C.xy, c.xy where x is the lsb and y is the msb. There are still missing some opcodes

Re: [Mesa3d-dev] [PATH] Add double opcodes to TGSI Revision 2

2010-01-12 Thread michal
Igor Oliveira wrote on 2010-01-12 12:52: Michal: i am seeing the double opcode branch i can move the opcode codes to use the exec_double_binary/unary Igor, Yes, that was my intention. It would be great if you looked at what has been done in that branch and for each new opcode provide

[Mesa3d-dev] [Bug 26003] New: incorrect rendering in celestia; unsupported opcode 13

2010-01-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26003 Summary: incorrect rendering in celestia; unsupported opcode 13 Product: Mesa Version: 7.6 Platform: All OS/Version: Linux (All) Status: NEW Severity: normal

[Mesa3d-dev] [Bug 26003] incorrect rendering in celestia; unsupported opcode 13

2010-01-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26003 --- Comment #1 from Sam Morris s...@robots.org.uk 2010-01-12 04:24:26 PST --- Created an attachment (id=32584) -- (http://bugs.freedesktop.org/attachment.cgi?id=32584) screenshot from celestia -- Configure bugmail:

[Mesa3d-dev] [Bug 26003] incorrect rendering in celestia; unsupported opcode 13

2010-01-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26003 --- Comment #2 from Sam Morris s...@robots.org.uk 2010-01-12 04:24:53 PST --- Created an attachment (id=32585) -- (http://bugs.freedesktop.org/attachment.cgi?id=32585) xorg log -- Configure bugmail:

[Mesa3d-dev] [Bug 26003] incorrect rendering in celestia; unsupported opcode 13

2010-01-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26003 --- Comment #3 from Sam Morris s...@robots.org.uk 2010-01-12 06:02:26 PST --- Created an attachment (id=32590) -- (http://bugs.freedesktop.org/attachment.cgi?id=32590) comparison screenshot with SW rendering looks better, though it's still

[Mesa3d-dev] [Bug 26003] incorrect rendering in celestia; unsupported opcode 13

2010-01-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26003 --- Comment #4 from Sam Morris s...@robots.org.uk 2010-01-12 06:18:18 PST --- This is resolved with 7.7. The clouds are still missing, however. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[Mesa3d-dev] [Bug 26003] incorrect rendering in celestia; unsupported opcode 13

2010-01-12 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26003 Sam Morris s...@robots.org.uk changed: What|Removed |Added Status|NEW |RESOLVED

Re: [Mesa3d-dev] Gallium feature levels

2010-01-12 Thread Roland Scheidegger
On 11.01.2010 22:03, Zack Rusin wrote: On Monday 11 January 2010 15:17:00 Roland Scheidegger wrote: - extra mirror wrap modes - i don't think mirror repeat was ever supported and mirror clamp was removed in d3d10 but it seems that some hardware kept support for those Mirror repeat is a core

Re: [Mesa3d-dev] Plans for EGL

2010-01-12 Thread Jakob Bornecrantz
On 12 jan 2010, at 04.23, Chia-I Wu wrote: Hi all, I just pushed a new EGL driver (egl_g3d) to master. The new driver is located at src/gallium/state_trackers/egl_g3d/. When built, it provides .a archives that are later linked to by src/gallium/winsys/ drm/hw/egl_g3d/ to provide the

Re: [Mesa3d-dev] [PATCH] Add EGL/GLX extension for direct Gallium access

2010-01-12 Thread Chia-I Wu
I will reply to the parts that I am more familiar with. On Tue, Jan 12, 2010 at 12:23 PM, Luca Barbieri l...@luca-barbieri.com wrote: Regardless of my personal preference as expressed, there are some minor issues in the EGL part of the patch.  One is that, it lifts certain restrictions

Re: [Mesa3d-dev] Gallium feature levels

2010-01-12 Thread Younes Manton
On Tue, Jan 12, 2010 at 9:44 AM, Keith Whitwell kei...@vmware.com wrote: On Tue, 2010-01-12 at 06:33 -0800, Roland Scheidegger wrote: Profile 7 (2009)6 (2008) 5 (2006)4 (2004)3 (2003)2 (2002) 1 (2000) Fragment Shader

Re: [Mesa3d-dev] Plans for EGL

2010-01-12 Thread Chia-I Wu
On Tue, Jan 12, 2010 at 10:52 PM, Jakob Bornecrantz ja...@vmware.com wrote: On 12 jan 2010, at 04.23, Chia-I Wu wrote: * Write up documentation * Remove unused/non-working EGL drivers * Remove drivers that are deprecated by egl_g3d * Automatic driver selection (like DRI) * Re-organize EGL

[Mesa3d-dev] [RFC] instanced-arrays branch

2010-01-12 Thread michal
Keith, I would like to merge this branch to master soon. It adds new entrypoints to pipe_context -- draw_arrays_instanced() and draw_elements_instanced(). A new system value is introduced to TGSI that allows vertex shaders to access current instance ID. The new entrypoints are implemented in

Re: [Mesa3d-dev] [git] Support for new DRI2 protocol

2010-01-12 Thread Jesse Barnes
On Fri, 8 Jan 2010 12:00:47 -0800 Jesse Barnes jbar...@virtuousgeek.org wrote: DRI2 now has support for swapbuffers, OML_sync_control and events. There's a git tree at git://people.freedesktop.org/~jbarnes/mesa with support for the new requests that I'd like to push into Mesa master. Can

Re: [Mesa3d-dev] [PATCH] New GLX API implementation for Gallium over egl_g3d

2010-01-12 Thread Luca Barbieri
As far as end user benefits, currently there is the ability to switch between the DRM Gallium driver and softpipe with an environment variable (the DRI stack has a similar feature, but with swrast), and a reduction of X server usage/roundtrips as it doesn't make any GLX calls except for

Re: [Mesa3d-dev] [PATCH] Add EGL/GLX extension for direct Gallium access

2010-01-12 Thread Luca Barbieri
Using this means however replacing (in actual use, not in the repository, of course) all the GLX/DRI stack with a new Gallium-only GLX implementation. My suggestion for this is still http://www.mail-archive.com/mesa3d-dev@lists.sourceforge.net/msg10541.html I don't think egl_g3d can replace

Re: [Mesa3d-dev] Plans for EGL

2010-01-12 Thread Jakob Bornecrantz
On 12 jan 2010, at 16.16, Chia-I Wu wrote: On Tue, Jan 12, 2010 at 10:52 PM, Jakob Bornecrantz ja...@vmware.com wrote: On 12 jan 2010, at 04.23, Chia-I Wu wrote: * Write up documentation * Remove unused/non-working EGL drivers * Remove drivers that are deprecated by egl_g3d * Automatic

Re: [Mesa3d-dev] Mesa (glsl-pp-rework-2): scons: Get GLSL code building correctly when cross compiling.

2010-01-12 Thread José Fonseca
On Mon, 2010-01-11 at 15:28 -0800, Stephan Raue wrote: Hi all, Am 10.12.2009 17:36, schrieb José Fonseca: On Thu, 2009-12-10 at 08:31 -0800, Jose Fonseca wrote: Module: Mesa Branch: glsl-pp-rework-2 Commit: 491f384c3958067e6c4c994041f5d8d413b806bc URL:

Re: [Mesa3d-dev] [PATCH 3/4] [egl_g3d] Revalidate based on sequence number

2010-01-12 Thread Luca Barbieri
Doesn't this make two DRI2GetBuffers protocol calls, in case of a resize? A way to avoid this would be to have the first call update the sequence number and store the buffer names (also destroying textures whose names have changed), and the second call actually creating textures for these names.

Re: [Mesa3d-dev] Mesa (glsl-pp-rework-2): scons: Get GLSL code building correctly when cross compiling.

2010-01-12 Thread michal
José Fonseca wrote on 2010-01-12 19:51: On Mon, 2010-01-11 at 15:28 -0800, Stephan Raue wrote: Hi all, Am 10.12.2009 17:36, schrieb José Fonseca: On Thu, 2009-12-10 at 08:31 -0800, Jose Fonseca wrote: Module: Mesa Branch: glsl-pp-rework-2 Commit:

Re: [Mesa3d-dev] Build failure of Mesa 7.7 with SCons on Windows

2010-01-12 Thread José Fonseca
Hi, I never tried to build with MinGW on windows. Only with cross compilation. MSVC linker works around limitations in the command line length by using tempfiles. gnu ld also allows to do the same. So it should be a matter of enabling doing the same trick in SCons/Tool/mingw.py that is done in

Re: [Mesa3d-dev] Plans for EGL

2010-01-12 Thread Chia-I Wu
On Wed, Jan 13, 2010 at 2:46 AM, Jakob Bornecrantz ja...@vmware.com wrote: On 12 jan 2010, at 16.16, Chia-I Wu wrote: On Tue, Jan 12, 2010 at 10:52 PM, Jakob Bornecrantz ja...@vmware.com wrote: On 12 jan 2010, at 04.23, Chia-I Wu wrote: * Write up documentation * Remove unused/non-working

Re: [Mesa3d-dev] [git] Support for new DRI2 protocol

2010-01-12 Thread Jesse Barnes
On Tue, 12 Jan 2010 17:37:35 -0800 Dan Nicholson dbn.li...@gmail.com wrote: On Tue, Jan 12, 2010 at 10:21 AM, Jesse Barnes jbar...@virtuousgeek.org wrote: On Fri, 8 Jan 2010 12:00:47 -0800 Jesse Barnes jbar...@virtuousgeek.org wrote: DRI2 now has support for swapbuffers,

Re: [Mesa3d-dev] [git] Support for new DRI2 protocol

2010-01-12 Thread Dan Nicholson
On Tue, Jan 12, 2010 at 10:21 AM, Jesse Barnes jbar...@virtuousgeek.org wrote: On Fri, 8 Jan 2010 12:00:47 -0800 Jesse Barnes jbar...@virtuousgeek.org wrote: DRI2 now has support for swapbuffers, OML_sync_control and events. There's a git tree at git://people.freedesktop.org/~jbarnes/mesa

Re: [Mesa3d-dev] Plans for EGL

2010-01-12 Thread Chia-I Wu
Sorry, I pressed the wrong button and sent it prematurely. On Wed, Jan 13, 2010 at 8:41 AM, Chia-I Wu olva...@gmail.com wrote: On Wed, Jan 13, 2010 at 2:46 AM, Jakob Bornecrantz ja...@vmware.com wrote: On 12 jan 2010, at 16.16, Chia-I Wu wrote: On Tue, Jan 12, 2010 at 10:52 PM, Jakob

Re: [Mesa3d-dev] [PATCH 3/4] [egl_g3d] Revalidate based on sequence number

2010-01-12 Thread Chia-I Wu
On Wed, Jan 13, 2010 at 2:52 AM, Luca Barbieri l...@luca-barbieri.com wrote: Doesn't this make two DRI2GetBuffers protocol calls, in case of a resize? I expect resizing happens rarely. Plus, I want to hook winsys-update_buffer. It is called when the user calls glViewport. It will set

Re: [Mesa3d-dev] [PATCH 1/4] [egl_g3d] DRI2 support for depth/stencil and right buffers

2010-01-12 Thread Chia-I Wu
On Tue, Jan 12, 2010 at 7:31 PM, Keith Whitwell kei...@vmware.com wrote: On Mon, 2010-01-11 at 22:30 -0800, Luca Barbieri wrote: I left out depth/stencil attachment because I could not think of a good reason for it.  Do you have an example that it is better to ask the display server for

Re: [Mesa3d-dev] Gallium feature levels

2010-01-12 Thread Ben Skeggs
On Tue, 2010-01-12 at 11:01 -0500, Younes Manton wrote: On Tue, Jan 12, 2010 at 9:44 AM, Keith Whitwell kei...@vmware.com wrote: On Tue, 2010-01-12 at 06:33 -0800, Roland Scheidegger wrote: Profile 7 (2009)6 (2008) 5 (2006)4 (2004)3