[Mesa-dev] [Bug 28071] undefined reference to `__egl InitDriverFallbacks'

2010-05-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28071 --- Comment #8 from Vinson Lee 2010-05-18 19:44:15 PDT --- demos successfully builds on Cygwin. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee

Re: [Mesa-dev] r300 compiler constant folding fix

2010-05-18 Thread Marek Olšák
You've actually fixed a much more important compiler bug than you might think. The 0.5 swizzle is really being used even without constant folding, specifically in reducing the number of shader immediates (r300_tgsi_to_rc.c : handle_immediate) Thanks. All Nicolai's compiler work in his repo is now

Re: [Mesa-dev] RFC: gallium-msaa branch merge

2010-05-18 Thread Marek Olšák
On Tue, May 18, 2010 at 10:42 PM, Roland Scheidegger wrote: > On 18.05.2010 22:23, Dave Airlie wrote: > > On Wed, May 19, 2010 at 3:04 AM, Roland Scheidegger > wrote: > >> Hi, > >> > >> I plan to merge the gallium-msaa branch to master soon. > >> It's actually a bit of a misnomer since the concep

Re: [Mesa-dev] [PATCH] egl: Introduce alternative native display types

2010-05-18 Thread Kristian Høgsberg
2010/5/18 Chia-I Wu : > 2010/5/18 Kristian Høgsberg : >> On Tue, May 18, 2010 at 12:41 PM, Chia-I Wu wrote: >>> 2010/5/18 Jakob Bornecrantz : 2010/5/17 Kristian Høgsberg : > The EGL native platform API is determined at compile time and resolves > to Win32, X11 or Symbian at this point

Re: [Mesa-dev] RFC: gallium-msaa branch merge

2010-05-18 Thread Roland Scheidegger
On 18.05.2010 22:23, Dave Airlie wrote: > On Wed, May 19, 2010 at 3:04 AM, Roland Scheidegger > wrote: >> Hi, >> >> I plan to merge the gallium-msaa branch to master soon. >> It's actually a bit of a misnomer since the conceptually more important >> changes in there are about blits... >> >> Here'

Re: [Mesa-dev] RFC: gallium-msaa branch merge

2010-05-18 Thread Dave Airlie
On Wed, May 19, 2010 at 3:04 AM, Roland Scheidegger wrote: > Hi, > > I plan to merge the gallium-msaa branch to master soon. > It's actually a bit of a misnomer since the conceptually more important > changes in there are about blits... > > Here's a short summary what this is about: > blits now op

[Mesa-dev] [PATCH 3/3] Enable hardware mipmap generation for radeon.

2010-05-18 Thread Will Dyson
Use _mesa_meta_GenerateMipmap. It is Fast Enough(tm). --- src/mesa/drivers/dri/radeon/radeon_texture.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/mesa/drivers/dri/radeon/radeon_texture.c b/src/mesa/drivers/dri/radeon/radeon_texture.c index 6ceff88.

[Mesa-dev] [PATCH 1/3] Fallback to software render if there is no miptree for an image

2010-05-18 Thread Will Dyson
This can happen when checking if a software fallback for a higher level operation (such as GenerateMipmap) is needed. --- src/mesa/drivers/dri/radeon/radeon_fbo.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/drivers/dri/radeon/radeon_fbo.c b/src/mesa/dr

[Mesa-dev] [PATCH 2/3] Remove image_matches_texture_obj() MaxLevel check

2010-05-18 Thread Will Dyson
When generating or uploading a new (higher) mipmap level for an image, we can need to allocate a miptree for a level greater than texObj->MaxLevel. --- src/mesa/drivers/dri/radeon/radeon_texture.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/dri/r

[Mesa-dev] Enable HW GenerateMipmap for radeon

2010-05-18 Thread Will Dyson
Wire up _mesa_meta_GenerateMipmap() for radeon. This greatly improves the playability of some games, such as FlightGear and the recently GPL'd game Lugaru. FlightGear still generates many fallbacks due to Alpha-only textures, but only at startup time. This has only been tested on r600. r300, r

Re: [Mesa-dev] [PATCH] egl: Introduce alternative native display types

2010-05-18 Thread Chia-I Wu
2010/5/18 Kristian Høgsberg : > On Tue, May 18, 2010 at 12:41 PM, Chia-I Wu wrote: >> 2010/5/18 Jakob Bornecrantz : >>> 2010/5/17 Kristian Høgsberg : The EGL native platform API is determined at compile time and resolves to Win32, X11 or Symbian at this point.   This means that if we wan

[Mesa-dev] [Bug 28071] undefined reference to `__egl InitDriverFallbacks'

2010-05-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28071 --- Comment #7 from Chia-I Wu 2010-05-18 12:22:32 PDT --- I am not sure how to proceed from here. Does progs/demos/ build on cygwin? If it does, I suppose progs/egl/ should too. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi

Re: [Mesa-dev] [PATCH] egl: Introduce alternative native display types

2010-05-18 Thread Kristian Høgsberg
2010/5/17 Kristian Høgsberg : > The EGL native platform API is determined at compile time and resolves > to Win32, X11 or Symbian at this point.   This means that if we want to > support XCB or a native DRM implementation, they have to be their platforms > and result in different libEGL.so's with i

Re: [Mesa-dev] [PATCH] egl: Introduce alternative native display types

2010-05-18 Thread Kristian Høgsberg
On Tue, May 18, 2010 at 12:41 PM, Chia-I Wu wrote: > 2010/5/18 Jakob Bornecrantz : >> 2010/5/17 Kristian Høgsberg : >>> The EGL native platform API is determined at compile time and resolves >>> to Win32, X11 or Symbian at this point.   This means that if we want to >>> support XCB or a native DRM

[Mesa-dev] [Bug 28071] undefined reference to `__egl InitDriverFallbacks'

2010-05-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28071 --- Comment #6 from Vinson Lee 2010-05-18 10:12:09 PDT --- 0001-egl-Link-drivers-back-to-libEGL.patch 0001-progs-egl-Fix-building-on-cygwin.patch $ make ... make[1]: Entering directory `/home/vlee/mesa/progs/xdemos' make[1]: Nothing to be done f

[Mesa-dev] RFC: gallium-msaa branch merge

2010-05-18 Thread Roland Scheidegger
Hi, I plan to merge the gallium-msaa branch to master soon. It's actually a bit of a misnomer since the conceptually more important changes in there are about blits... Here's a short summary what this is about: blits now operate on resources, not surfaces (surface_copy/fill -> resource_copy/fill_

Re: [Mesa-dev] [PATCH] egl: Introduce alternative native display types

2010-05-18 Thread Chia-I Wu
2010/5/18 Jakob Bornecrantz : > 2010/5/17 Kristian Høgsberg : >> The EGL native platform API is determined at compile time and resolves >> to Win32, X11 or Symbian at this point.   This means that if we want to >> support XCB or a native DRM implementation, they have to be their platforms >> and re

[Mesa-dev] [PATCH] fpclassify is available on C99-compliant Solaris releases too

2010-05-18 Thread Alan Coopersmith
Signed-off-by: Alan Coopersmith --- src/mesa/main/querymatrix.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c index a6b04e9..ca292aa 100644 --- a/src/mesa/main/querymatrix.c +++ b/src/mesa/main/querymatrix.c @@

[Mesa-dev] [Bug 28071] undefined reference to `__egl InitDriverFallbacks'

2010-05-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28071 --- Comment #5 from Chia-I Wu 2010-05-18 09:25:15 PDT --- Created an attachment (id=35728) View: https://bugs.freedesktop.org/attachment.cgi?id=35728 Review: https://bugs.freedesktop.org/review?bug=28071&attachment=35728 fix building of demos

[Mesa-dev] [Bug 28071] undefined reference to `__egl InitDriverFallbacks'

2010-05-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28071 --- Comment #4 from Vinson Lee 2010-05-18 07:05:58 PDT --- $ ls lib egl libGL-1.dll.a libGLU.dll.a libOSMesa.dll.a gallium libGL.dll.a libGLw-1.dll.a libglut-3.dll.a libEGL-1.dll.a libGLEW.a libGLw.dll.a

Re: [Mesa-dev] [PATCH] egl: Introduce alternative native display types

2010-05-18 Thread Jakob Bornecrantz
2010/5/17 Kristian Høgsberg : > The EGL native platform API is determined at compile time and resolves > to Win32, X11 or Symbian at this point.   This means that if we want to > support XCB or a native DRM implementation, they have to be their platforms > and result in different libEGL.so's with i

Re: [Mesa-dev] [PATCH] softpipe: Calculate slice_stride field in get_transfer().

2010-05-18 Thread Keith Whitwell
On Tue, 2010-05-18 at 04:37 -0700, Michal Krol wrote: > From eaba49550f92af708499f22dbaa7cf4d99f4109f Mon Sep 17 00:00:00 2001 > From: Michal Krol > Date: Tue, 18 May 2010 12:39:01 +0200 > Subject: [PATCH] softpipe: Calculate slice_stride field in get_transfer(). > > --- > src/gallium/drivers/so

[Mesa-dev] [PATCH] softpipe: Calculate slice_stride field in get_transfer().

2010-05-18 Thread Michal Krol
>From eaba49550f92af708499f22dbaa7cf4d99f4109f Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Tue, 18 May 2010 12:39:01 +0200 Subject: [PATCH] softpipe: Calculate slice_stride field in get_transfer(). --- src/gallium/drivers/softpipe/sp_texture.c |4 1 files changed, 4 insertions(+),

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-18 Thread Mathias Fröhlich
Hi, On Monday 17 May 2010 21:02:00 Brian Paul wrote: > It would be nice to have a piglit test to exercise EXT_timer_query > too. We should really have tests for all extensions. Not yet there. I was using osgviewer to test. I will build something that shows that it runs ... and how long. May be

Re: [Mesa-dev] [PATCH] Add EXT_timer_query to the mesa state tracker and softpipe

2010-05-18 Thread Mathias Fröhlich
Arg, sorry, for may be posting twice. I used the wrong email address for the original one: Hi, On Monday 17 May 2010 20:51:09 Corbin Simpson wrote: > I'm going to be proactive here, and pull in both this patch and a docs > update. Great! Thanks! anyway a small followup on the time units is att

[Mesa-dev] [PATCH] i965: fix PIPE_CONTROL command for gen6. Signed-off-by: Zou Nan hai

2010-05-18 Thread Zou Nan hai
--- src/mesa/drivers/dri/intel/intel_batchbuffer.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_batchbuffer.c b/src/mesa/drivers/dri/intel/intel_batchbuffer.c index 767c903..7654261 100644 --- a/src/mesa/drivers/dri/intel/int

[Mesa-dev] r300 compiler constant folding fix

2010-05-18 Thread Tom Stellard
Attached is a patch to fix constant folding in the r300 compiler implemented in commit c704933 of Nicolai's r300g-glsl branch (git://anongit.freedesktop.org/~nh/mesa). With this patch, the constant folding implementation can be cherry-picked to master without breaking any piglit tests. -Tom >From