[Mesa-dev] [PATCH] scons: Add X11 include path if X11 is available.

2014-12-13 Thread Vinson Lee
Mac OS X XQuartz places X11 headers at /opt/X11/include. This patch fixes this Mac OS X SCons build error. Compiling src/gallium/state_trackers/glx/xlib/glx_api.c ... In file included from src/gallium/state_trackers/glx/xlib/glx_api.c:34: include/GL/glx.h:30:10: fatal error: 'X11/Xlib.h' file n

Re: [Mesa-dev] [PATCH 4/5] i965/query: Use brw_bo_map to handle stall warnings.

2014-12-13 Thread Ben Widawsky
On Fri, Dec 12, 2014 at 11:15:41PM -0800, Kenneth Graunke wrote: > This is less code and also measures the duration of the stall for us. > > Our old code predates the existance of brw_bo_map(). > > Signed-off-by: Kenneth Graunke > Cc: Chris Wilson > Cc: Eero Tamminen > --- > src/mesa/drivers/

Re: [Mesa-dev] [PATCH 1/5] i965/query: Set Ready flag in gen6_queryobj_get_results().

2014-12-13 Thread Ben Widawsky
On Fri, Dec 12, 2014 at 11:15:38PM -0800, Kenneth Graunke wrote: > q->Ready means that the results are in, and core Mesa is free to return > them to the application. gen6_queryobj_get_results() is a natural place > to set that flag; doing so means callers don't have to. > > The older non-hardware

Re: [Mesa-dev] [PATCH] docs: note change in minimum GCC version to 4.1.0

2014-12-13 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 10/11] mesa: move _mesa_compute_compressed_pixelstore() to pixelstore.c

2014-12-13 Thread Brian Paul
So it's near the other pixel-store functions. --- src/mesa/main/pixelstore.c | 66 ++ src/mesa/main/pixelstore.h | 22 src/mesa/main/texstore.c | 65 + src/mesa/main/texstore.h | 19 ---

[Mesa-dev] [PATCH 03/11] mesa: replace Driver.GetTexImage with GetTexSubImage()

2014-12-13 Thread Brian Paul
The new driver hook has x/y/zoffset and width/height/depth parameters for the new glGetTextureSubImage() function. The meta code and gallium state tracker are updated to handle the new parameters. Callers to Driver.GetTexSubImage() pass in offsets=0 and sizes equal to the whole texture size. ---

[Mesa-dev] [PATCH 06/11] mesa: replace Driver.GetCompressedTexImage() w/ GetCompressedTexSubImage()

2014-12-13 Thread Brian Paul
So that we can implement glGetCompressedTextureSubImage(). --- src/mesa/drivers/common/driverfuncs.c | 2 +- src/mesa/main/dd.h | 9 ++--- src/mesa/main/texgetimage.c| 16 +++- src/mesa/main/texgetimage.h| 9 ++--- src/mesa/state_

[Mesa-dev] [PATCH 11/11] docs: set status of GL_ARB_get_texture_sub_image to DONE

2014-12-13 Thread Brian Paul
--- docs/GL3.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index 648f5ac..dd1bfa6 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -192,7 +192,7 @@ GL 4.5, GLSL 4.50: GL_ARB_cull_distance not started GL_ARB_

[Mesa-dev] [PATCH 09/11] mesa: enable GL_ARB_get_texture_sub_image

2014-12-13 Thread Brian Paul
--- src/mesa/main/extensions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 0df04c2..b425d2c 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -119,6 +119,7 @@ static const struct extension extension_tab

[Mesa-dev] [PATCH 04/11] mesa: plumb offset/size parameters through GetTexImage code

2014-12-13 Thread Brian Paul
Needed for GL_ARB_get_texture_sub_image. But at this point, the offsets are always zero and the sizes match the whole texture image. --- src/mesa/main/texgetimage.c | 105 1 file changed, 58 insertions(+), 47 deletions(-) diff --git a/src/mesa/main/te

[Mesa-dev] [PATCH 07/11] mesa: implement glGetCompressedTextureSubImage()

2014-12-13 Thread Brian Paul
--- src/mesa/main/texgetimage.c | 440 +--- src/mesa/main/texgetimage.h | 7 + 2 files changed, 297 insertions(+), 150 deletions(-) diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c index ced6a34..ac0be35 100644 --- a/src/mesa/main/te

[Mesa-dev] [PATCH 01/11] meta: handle subimages in _mesa_meta_setup_texture_coords()

2014-12-13 Thread Brian Paul
In preparation for getting texture sub images. --- src/mesa/drivers/common/meta.c | 88 +- src/mesa/drivers/common/meta.h | 4 ++ src/mesa/drivers/common/meta_generate_mipmap.c | 4 +- 3 files changed, 64 insertions(+), 32 deletions(-) dif

[Mesa-dev] [PATCH 02/11] meta: add offset, width, height parameters to decompress_texture_image()

2014-12-13 Thread Brian Paul
In preparation for decompressing texture sub images. --- src/mesa/drivers/common/meta.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index a84e512..c2057e5 100644 --- a/src/mesa/drivers/common/meta.c

[Mesa-dev] [PATCH 08/11] mesa: add API dispatch for GL_ARB_get_texture_sub_image

2014-12-13 Thread Brian Paul
This adds the new glGetTextureSubImage() and glGetCompressedTextureSubImage() functions. --- src/mapi/glapi/gen/ARB_get_texture_sub_image.xml | 42 src/mapi/glapi/gen/Makefile.am | 1 + src/mapi/glapi/gen/gl_API.xml| 3 ++ 3 files ch

[Mesa-dev] [PATCH 05/11] mesa: implement _mesa_GetTextureSubImage()

2014-12-13 Thread Brian Paul
One of the two new functions in GL_ARB_get_texture_sub_image. --- src/mesa/main/texgetimage.c | 305 ++-- src/mesa/main/texgetimage.h | 8 ++ 2 files changed, 277 insertions(+), 36 deletions(-) diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texg

Re: [Mesa-dev] [PATCH v2] r600g: Implement ARB_draw_indirect for EG/CM

2014-12-13 Thread Marek Olšák
1) You're using magic numbers instead of the actual packet definitions. 2) index_bias and start is also set in vgt_indx_offset of vgt_state. This won't work if index_bias or start are non-zero. It should be set to zero for indirect drawing. Marek On Sat, Dec 13, 2014 at 3:40 AM, Glenn Kennard w

[Mesa-dev] [PATCH] docs: note change in minimum GCC version to 4.1.0

2014-12-13 Thread Timothy Arceri
Signed-off-by: Timothy Arceri --- docs/relnotes/10.5.0.html | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/relnotes/10.5.0.html b/docs/relnotes/10.5.0.html index 2987d53..ed62248 100644 --- a/docs/relnotes/10.5.0.html +++ b/docs/relnotes/10.5.0.html @@ -59,6 +59,7 @@ TBD. Changes +

Re: [Mesa-dev] [RFC 6/8] mesa: remove support for GCC older than 4.1.0

2014-12-13 Thread Timothy Arceri
On Fri, 2014-12-12 at 07:01 -0600, kallisti5 wrote: > On 2014-12-12 05:46, Timothy Arceri wrote: > > Signed-off-by: Timothy Arceri > > --- > > src/mesa/main/compiler.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler

[Mesa-dev] [Bug 87276] u_atomic_test.c:108:1: error: implicit declaration of function 'test_atomic_cmpxchg_int16_t'

2014-12-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=87276 Bug ID: 87276 Summary: u_atomic_test.c:108:1: error: implicit declaration of function 'test_atomic_cmpxchg_int16_t' Product: Mesa Version: git Hardware: x86-64 (AMD64)

[Mesa-dev] [Bug 79706] [TRACKER] Mesa regression tracker

2014-12-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Vinson Lee changed: What|Removed |Added Depends on||87276 -- You are receiving this mail becau

[Mesa-dev] [Bug 86944] glsl_parser_extras.cpp", line 1455: Error: Badly formed expression.

2014-12-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86944 Vinson Lee changed: What|Removed |Added Severity|normal |blocker -- You are receiving this mail bec

[Mesa-dev] [Bug 86980] [swrast] piglit fp-rfl regression

2014-12-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86980 --- Comment #6 from Vinson Lee --- These other tests piglit have regressed as well on swrast. asmparsertest ARBfp1.0 size_specifier-07 asmparsertest ARBfp1.0 size_specifier-08 fp-set-02 fp-unpack-01 -- You are receiving this mail because: You a