Re: [Mesa-dev] Missing copyright header in dri/common/dri_util.c

2012-03-16 Thread Tomasz Kowal
Thank you Brian for your resposne. I've just checked the latest master and copyrights are still missing. Is there a chance it will be checked in anytime soon? -Tomasz From: Brian Paul To: Tomasz Kowal Cc: "mesa-dev@lists.freedesktop.org" ; Ian Romanick

[Mesa-dev] [PATCH] st/mesa: add null pointer check in st_texture_image_map()

2012-03-16 Thread Brian Paul
If we failed to allocate a memory resource for the texture we'd crash when we tried to map it. Now we propogate the NULL back up to the texstore code and generate GL_OUT_OF_MEMORY. Fixes a crash with the upcoming piglit max-texture-size test. NOTE: This is a candidate for the 8.0 branch. --- sr

Re: [Mesa-dev] Missing copyright header in dri/common/dri_util.c

2012-03-16 Thread Brian Paul
I have the patch all set to go. If there's no other feedback I'll push it later today. -Brian On 03/16/2012 05:19 AM, Tomasz Kowal wrote: Thank you Brian for your resposne. I've just checked the latest master and copyrights are still missing. Is there a chance it will be checked in anytime s

Re: [Mesa-dev] [PATCH] st/mesa: add null pointer check in st_texture_image_map()

2012-03-16 Thread Jose Fonseca
Looks good. Jose - Original Message - > If we failed to allocate a memory resource for the texture we'd crash > when we tried to map it. Now we propogate the NULL back up to the > texstore code and generate GL_OUT_OF_MEMORY. > > Fixes a crash with the upcoming piglit max-texture-size te

[Mesa-dev] [Bug 39588] [bisected] mesa demo xeglgears draw nothing if surface type is a pixmap

2012-03-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39588 Benjamin Franzke changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

Re: [Mesa-dev] [PATCH 1/2] i915: set SPRITE_POINT_ENABLE bit correctly

2012-03-16 Thread Eric Anholt
On Mon, 12 Mar 2012 16:04:00 +0800, Yuanhan Liu wrote: > When SPRITE_POINT_ENABLE bit is set, the texture coord would be > replaced, and this is only needed when we called something like > glTexEnvi(GL_POINT_SPRITE, GL_COORD_REPLACE, GL_TRUE). > > And more, we currently handle varying inputs as

Re: [Mesa-dev] Mesa (master): mesa: add back glGetnUniform*v() overflow error reporting

2012-03-16 Thread Ian Romanick
On 03/15/2012 05:09 PM, nobled wrote: On Thu, Mar 15, 2012 at 5:27 PM, Ian Romanick wrote: On 03/15/2012 01:18 PM, Kenneth Graunke wrote: On 03/15/2012 11:26 AM, Ian Romanick wrote: On 03/13/2012 11:35 AM, Dylan Noblesmith wrote: Module: Mesa Branch: master Commit: b536ac6b2bc54ad9bb6e58f

Re: [Mesa-dev] [PATCH] intel:i915:i965: enable mipmap layout right mode

2012-03-16 Thread Eric Anholt
On Thu, 15 Mar 2012 14:42:53 +0800, Yuanhan Liu wrote: > There are two mipmap layout modes: below and right. And we currently just > use _below_ mode. And in some cases, like height is greater than width, > it would be better to use the _right_ mode for saving memory. > > And it also fix some is

[Mesa-dev] [PATCH] shared-glapi: Convert to automake

2012-03-16 Thread Kristian Høgsberg
This fixes a build problem where EGL links to libgbm.la, which encodes a relative path to it's libglapi.so dependency. The relative path breaks when the linker tries to resolve it from src/egl/main instead of src/gbm. Typically we silently fall back to the system libglapi.so, which is wrong and b

[Mesa-dev] [PATCH] glsl: Don't include the deprecated structure types in GLSL 1.40.

2012-03-16 Thread Eric Anholt
--- src/glsl/glsl_types.cpp | 26 ++ src/glsl/glsl_types.h |6 +++--- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/src/glsl/glsl_types.cpp b/src/glsl/glsl_types.cpp index 4baec41..069ebd1 100644 --- a/src/glsl/glsl_types.cpp +++ b/src/glsl/glsl_t

Re: [Mesa-dev] [PATCH] shared-glapi: Convert to automake

2012-03-16 Thread Eric Anholt
On Fri, 16 Mar 2012 16:29:32 -0400, Kristian Høgsberg wrote: > This fixes a build problem where EGL links to libgbm.la, which encodes > a relative path to it's libglapi.so dependency. The relative path > breaks when the linker tries to resolve it from src/egl/main instead > of src/gbm. Typicall

[Mesa-dev] New libdrm features: AUB dump and unsynced maps.

2012-03-16 Thread Eric Anholt
Here's the series of code I'd been delaying for the new libdrm release I just pushed out. The unsynchronized maps have been seen here before but didn't get much review, so I'm giving them another chance. ___ mesa-dev mailing list mesa-dev@lists.freedesk

[Mesa-dev] [PATCH 1/6] intel: Bump libdrm requirement to 2.4.32.

2012-03-16 Thread Eric Anholt
We'll need this for AUB dumping and unsynchronized maps. --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index c0d81c9..728acdf 100644 --- a/configure.ac +++ b/configure.ac @@ -37,7 +37,7 @@ USER_CXXFLAGS="$CXXFLAGS" dnl Versi

[Mesa-dev] [PATCH 4/6] i965: Avoid flushing the batch for busy BOs for ARB_mbr with INVALIDATE_BUFFER.

2012-03-16 Thread Eric Anholt
Unigine Tropics uses INVALIDATE_BUFFER and not UNSYNCHRONIZED to reset the buffer object when its streaming wraps. Don't penalize it by flushing the batch at the wrap point, just allocate a new BO and get to using it. --- src/mesa/drivers/dri/intel/intel_buffer_objects.c | 35 --

[Mesa-dev] [PATCH 3/6] intel: Handle devid overrides using libdrm.

2012-03-16 Thread Eric Anholt
--- src/mesa/drivers/dri/intel/intel_screen.c | 23 --- 1 files changed, 4 insertions(+), 19 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c index 7939c4d..3f1ef87 100644 --- a/src/mesa/drivers/dri/intel/intel_

[Mesa-dev] [PATCH 2/6] intel: Ask libdrm to dump an AUB file if INTEL_DEBUG=aub.

2012-03-16 Thread Eric Anholt
It also asks for BMPs in the aub file at SwapBuffers time. --- src/mesa/drivers/dri/intel/intel_context.c |4 +++ src/mesa/drivers/dri/intel/intel_context.h |1 + src/mesa/drivers/dri/intel/intel_screen.c | 32 3 files changed, 37 insertions(+), 0 deletions(

[Mesa-dev] [PATCH 6/6] intel: Make use of the new GPU-unsynchronized map functionality in libdrm.

2012-03-16 Thread Eric Anholt
Improves Unigine Tropics performance at 1024x768 by 2.06236% +/- 0.50272% (n=11). Reviewed-by: Chris Wilson --- src/mesa/drivers/dri/intel/intel_buffer_objects.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_buffer_objects.c b/src/m

[Mesa-dev] [PATCH 5/6] intel: Drop the tracking of bo_map vs bo_map_gtt for unmapping.

2012-03-16 Thread Eric Anholt
drm_intel_bo_unmap() supports both in the current libdrm version. --- src/mesa/drivers/dri/intel/intel_buffer_objects.c | 16 ++-- src/mesa/drivers/dri/intel/intel_buffer_objects.h |1 - 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/src/mesa/drivers/dri/intel/in

Re: [Mesa-dev] [PATCH] glsl: Don't include the deprecated structure types in GLSL 1.40.

2012-03-16 Thread Kenneth Graunke
On 03/16/2012 01:56 PM, Eric Anholt wrote: --- src/glsl/glsl_types.cpp | 26 ++ src/glsl/glsl_types.h |6 +++--- 2 files changed, 17 insertions(+), 15 deletions(-) Reviewed-by: Kenneth Graunke ___ mesa-dev mailing

Re: [Mesa-dev] Doing 8.0.1 release?

2012-03-16 Thread Jeremy Huddleston
Please make sure to include python-generated C files in the 8.0.2 tarball. They were not there in 8.0.1's: python -t -O -O main/es_generator.py -S main/APIspec.xml -V GLES1.1 > main/api_exec_es1.c Traceback (most recent call last): File "main/es_generator.py", line 26, in import APIspecu

Re: [Mesa-dev] [PATCH 1/2] i915: set SPRITE_POINT_ENABLE bit correctly

2012-03-16 Thread Liu Aleaxander
On Sat, Mar 17, 2012 at 1:57 AM, Eric Anholt wrote: > On Mon, 12 Mar 2012 16:04:00 +0800, Yuanhan Liu > wrote: >> When SPRITE_POINT_ENABLE bit is set, the texture coord would be >> replaced, and this is only needed when we called something like >> glTexEnvi(GL_POINT_SPRITE, GL_COORD_REPLACE, GL_