Re: [Mesa-dev] [PATCH] tnl: Add support for datatype GL_FIXED in vertex arrays

2011-02-14 Thread Shuang He
On 2011/2/15 13:08, Eric Anholt wrote: On Tue, 8 Feb 2011 14:30:55 -0800, Chad Versace wrote: Before populating the vertex buffer attribute pointer (VB->AttribPtr[]), convert vertex data in GL_FIXED format to GL_FLOAT. Fixes bug: http://bugs.freedesktop.org/show_bug.cgi?id=34047 Don't suppose

Re: [Mesa-dev] [PATCH] tnl: Add support for datatype GL_FIXED in vertex arrays

2011-02-14 Thread Eric Anholt
On Tue, 8 Feb 2011 14:30:55 -0800, Chad Versace wrote: > Before populating the vertex buffer attribute pointer (VB->AttribPtr[]), > convert vertex data in GL_FIXED format to GL_FLOAT. > > Fixes bug: http://bugs.freedesktop.org/show_bug.cgi?id=34047 Don't suppose we have a testcase for these? It

Re: [Mesa-dev] Building Mesa 7.10 on Windows 7 / Visual Studio 2010

2011-02-14 Thread Zack Rusin
On Monday 14 February 2011 21:13:04 Matt Turner wrote: > On Mon, Feb 14, 2011 at 8:31 PM, Yahya H. Mirza wrote: > > Is there anyone looking into using CMAKE as another build system for > > MESA? > > The solution is not another build system. in this case it is. the issue with vs build files is t

Re: [Mesa-dev] Building Mesa 7.10 on Windows 7 / Visual Studio 2010

2011-02-14 Thread Matt Turner
On Mon, Feb 14, 2011 at 8:31 PM, Yahya H. Mirza wrote: > Is there anyone looking into using CMAKE as another build system for MESA? The solution is not another build system. Although, after cmake, if we just added an imake build system, I think we'd have everything covered. Matt ___

Re: [Mesa-dev] Building Mesa 7.10 on Windows 7 / Visual Studio 2010

2011-02-14 Thread Yahya H. Mirza
Thanks for the reply. Is there anyone looking into using CMAKE as another build system for MESA? Thanks in advance. Yahya -Original Message- From: Brian Paul [mailto:brian.e.p...@gmail.com] Sent: Monday, February 14, 2011 8:36 AM To: Yahya H. Mirza Cc: mesa-dev@lists.freedesktop.org Su

Re: [Mesa-dev] [PATCH v3] mesa: Optionally build a dricore support library (v3)

2011-02-14 Thread Sedat Dilek
On Mon, Feb 14, 2011 at 4:15 AM, Christopher James Halse Rogers wrote: > On Sat, 2011-02-12 at 15:19 +0100, Sedat Dilek wrote: >> Hi, >> >> here on radeon RV250 I can only use swrast DRI driver. >> >> [ Xorg.log ] >> ... >> [  3354.432] (EE) AIGLX error: Calling driver entry point failed >> [  335

[Mesa-dev] [PATCH] tnl: Add support for datatype GL_FIXED in vertex arrays

2011-02-14 Thread Chad Versace
Before populating the vertex buffer attribute pointer (VB->AttribPtr[]), convert vertex data in GL_FIXED format to GL_FLOAT. Fixes bug: http://bugs.freedesktop.org/show_bug.cgi?id=34047 --- src/mesa/tnl/t_draw.c | 40 1 files changed, 40 insertions(+), 0

[Mesa-dev] Building Mesa 7.10 on Windows 7 / Visual Studio 2010

2011-02-14 Thread Brede Johansen
Hi, I have made VS2008 project and solution files based on the scons files.  I have also included generation of necessary source files from python as part of the build.  This also works in VS2010. My requirement was to get OpenGL software rendering to work so it's not tested for other configuratio

[Mesa-dev] [Bug 34261] Buildsystem disables openvg when disabling gallium egl

2011-02-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34261 Hicham HAOUARI changed: What|Removed |Added CC||airl...@freedesktop.org -- Configure b

[Mesa-dev] [Bug 34261] Buildsystem disables openvg when disabling gallium egl

2011-02-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34261 --- Comment #2 from Hicham HAOUARI 2011-02-14 15:05:56 PST --- (In reply to comment #1) > The OpenVG support is provided by the vega gallium state tracker, so it's > bound > up with gallium EGL support. > > I think that the poor interaction be

Re: [Mesa-dev] [PATCH] r600g: Fix RGB10_A2 format handling

2011-02-14 Thread Henri Verbeet
On 14 February 2011 18:07, Fabian Bieler wrote: > This patch fixes the fbo/fbo-clear-formats piglit test. > > As PIPE_FORMAT_B10G10R10A2_UNORM is the only format the mesa state tracker > uses, this is the only format I actualy tested. > Evergreen likely needs the same fix. Please keep r600_state_i

[Mesa-dev] [Bug 34261] Buildsystem disables openvg when disabling gallium egl

2011-02-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34261 --- Comment #1 from Christopher James Halse Rogers 2011-02-14 14:19:06 PST --- The OpenVG support is provided by the vega gallium state tracker, so it's bound up with gallium EGL support. I think that the poor interaction between gallium EGL an

Re: [Mesa-dev] [PATCH] st/mesa: Use blend equation and function of first render target for all render targets if ARB_draw_buffers_blend is not supported

2011-02-14 Thread Brian Paul
On 02/14/2011 10:01 AM, Fabian Bieler wrote: This patch fixes the fbo/fbo-drawbuffers2-blend piglit test. Looks good. I'll commit it soon. Thanks! -Brian ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [Mesa-dev] [PATCH 4/6] gallium: remove pipe_vertex_buffer::max_index

2011-02-14 Thread Marek Olšák
On Mon, Feb 14, 2011 at 6:58 PM, José Fonseca wrote: > Marek, > > I'm OK with removing pipe_vertex_buffer::max_index but there is a bit > more work involved, as they are not really equivalent in the guarantees. > > pipe_vertex_buffer::max_index is an attribute of the vertex buffer -- it > describ

Re: [Mesa-dev] [PATCH 2/2] pb_bufmgr_cache: add is_buffer_busy hook and use it instead of non-blocking map

2011-02-14 Thread José Fonseca
On Mon, 2011-02-14 at 10:18 -0800, Marek Olšák wrote: > On Mon, Feb 14, 2011 at 6:47 PM, José Fonseca > mailto:jfons...@vmware.com>> wrote: > On Sun, 2011-02-13 at 23:58 -0800, Dave Airlie wrote: > > >>if(buf->base.base.size < size) > > >> return 0; > > >> > > >> @@ -242,13 +240,10 @@ pb

Re: [Mesa-dev] [PATCH 2/2] pb_bufmgr_cache: add is_buffer_busy hook and use it instead of non-blocking map

2011-02-14 Thread Marek Olšák
On Mon, Feb 14, 2011 at 6:47 PM, José Fonseca wrote: > On Sun, 2011-02-13 at 23:58 -0800, Dave Airlie wrote: > > >>if(buf->base.base.size < size) > > >> return 0; > > >> > > >> @@ -242,13 +240,10 @@ pb_cache_is_buffer_compat(struct pb_cache_buffer > > >> *buf, > > >>if(!pb_check_usa

Re: [Mesa-dev] [PATCH 0/6] Mesa/Gallium vertex array state optimizations

2011-02-14 Thread José Fonseca
Marek, Apart of some subtleties with removing pipe_vertex_buffer::max_index, I think this looks great. I'm OK with addressing the pipe_vertex_buffer::max_index issues after commiting this series, as well behaved applications should not be affected. Jose On Sat, 2011-02-12 at 11:05 -0800, Marek

Re: [Mesa-dev] [PATCH 4/6] gallium: remove pipe_vertex_buffer::max_index

2011-02-14 Thread José Fonseca
Marek, I'm OK with removing pipe_vertex_buffer::max_index but there is a bit more work involved, as they are not really equivalent in the guarantees. pipe_vertex_buffer::max_index is an attribute of the vertex buffer -- it describe the max index that can be fetch from the buffer without running i

Re: [Mesa-dev] [PATCH 2/2] pb_bufmgr_cache: add is_buffer_busy hook and use it instead of non-blocking map

2011-02-14 Thread José Fonseca
On Sun, 2011-02-13 at 23:58 -0800, Dave Airlie wrote: > >>if(buf->base.base.size < size) > >> return 0; > >> > >> @@ -242,13 +240,10 @@ pb_cache_is_buffer_compat(struct pb_cache_buffer > >> *buf, > >>if(!pb_check_usage(desc->usage, buf->base.base.usage)) > >> return 0; > >> > >>

[Mesa-dev] [PATCH] r600g: Fix RGB10_A2 format handling

2011-02-14 Thread Fabian Bieler
This patch fixes the fbo/fbo-clear-formats piglit test. As PIPE_FORMAT_B10G10R10A2_UNORM is the only format the mesa state tracker uses, this is the only format I actualy tested. From 27238ed21d3f2d7a6912531ca9f01d508cf76931 Mon Sep 17 00:00:00 2001 From: Fabian Bieler Date: Thu, 10 Feb 2011 16:

[Mesa-dev] [PATCH] st/mesa: Use blend equation and function of first render target for all render targets if ARB_draw_buffers_blend is not supported

2011-02-14 Thread Fabian Bieler
This patch fixes the fbo/fbo-drawbuffers2-blend piglit test. From 92d78e485ced85378404ea68e9050de6d9f6639b Mon Sep 17 00:00:00 2001 From: Fabian Bieler Date: Thu, 10 Feb 2011 16:45:41 +0100 Subject: [PATCH 1/6] st/mesa: Use blend equation and function of first render target for all render targets

[Mesa-dev] [Bug 34261] New: Buildsystem disables openvg when disabling gallium egl

2011-02-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34261 Summary: Buildsystem disables openvg when disabling gallium egl Product: Mesa Version: 7.10 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: m

[Mesa-dev] [Bug 34259] gallium: transfers should use z/depth and not y/height for 1d array textures as layer parameter

2011-02-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34259 Roland Scheidegger changed: What|Removed |Added Summary|gallium: transfers should |gallium: transfers should

[Mesa-dev] [Bug 34259] New: gallium: transfers should not use z/depth and not y/height for 1d array textures as layer parameter

2011-02-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34259 Summary: gallium: transfers should not use z/depth and not y/height for 1d array textures as layer parameter Product: Mesa Version: git Platform: All OS/Version: All

Re: [Mesa-dev] Building Mesa 7.10 on Windows 7 / Visual Studio 2010

2011-02-14 Thread Brian Paul
On Fri, Feb 11, 2011 at 11:31 AM, Yahya H. Mirza wrote: > Hi All, > > > > I’ve been trying to build Mesa 7.10 on Windows 7 / Visual Studio 2010 and I > have been having some problems. > > > > When I opened > > \windows\VC8\mesa\mesa.sln, it was automatically converted to VS2010. > > > > When I tri

Re: [Mesa-dev] [PATCH 0/6] Mesa/Gallium vertex array state optimizations

2011-02-14 Thread Keith Whitwell
On Sun, 2011-02-13 at 22:04 +0100, Marek Olšák wrote: > Keith, > > Yes, they will. If vertex buffers are not re-set in st_draw_vbo, > redefine_user_buffer is called for each user buffer which is set and that > tells a driver which buffer ranges need to be re-uploaded. This can be found > in the la