[Mesa-dev] [PATCH v2] egl/dri2: use drm macros to construct device name

2014-03-22 Thread Jonathan Gray
Don't hardcode /dev/dri/card0 but instead use the drm macros which allows the correct /dev/drm0 device to be opened on OpenBSD. v2: use snprintf and fallback to /dev/dri/card0 suggested by Emil Velikov. Signed-off-by: Jonathan Gray --- src/egl/drivers/dri2/platform_drm.c | 6 +- 1 file chan

[Mesa-dev] [PATCH] egl/dri2: don't require libudev to build drm/wayland platforms

2014-03-22 Thread Jonathan Gray
After the loader changes libudev is no longer required to build gbm or the egl drm/wayland platforms. Remove a libudev ifdef which allows the the drm egl driver to be loaded on OpenBSD. Signed-off-by: Jonathan Gray Reviewed-by: Emil Velikov --- src/egl/drivers/dri2/egl_dri2.c | 2 -- 1 file ch

[Mesa-dev] [PATCH v2] configure: don't require libudev for gbm or egl drm/wayland

2014-03-22 Thread Jonathan Gray
After the loader changes libudev is no longer required for gbm or the egl drm/wayland platforms. Lets these build/run on OpenBSD. v2: preserve the libudev requirement for Linux as suggested by Emil Velikov. Signed-off-by: Jonathan Gray --- configure.ac | 21 - 1 file change

Re: [Mesa-dev] intel, dma-buf import and egl image external

2014-03-22 Thread Axel Davy
On Fri, Mar 07, 2014,Topi Pohjolainen wrote: On Mon, Mar 03, 2014 at 01:19:48PM +1000, Dave Airlie wrote: >/ There is a comment and two checks in the i965 dma-buf importer, /> >/ /> >/ * Images originating via EGL_EXT_image_dma_buf_import can be used only /> >/ * with GL_OES_EGL_image_exter

[Mesa-dev] [Bug 76489] Mesa git (011569b5b7) compilation issue: render2.c:49:4: error: implicit declaration of function '__glMap1d_size' [-Werror=implicit-function-declaration]

2014-03-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76489 Dâniel Fraga changed: What|Removed |Added Severity|normal |trivial -- You are receiving this mail b

[Mesa-dev] [Bug 76489] Mesa git (011569b5b7) compilation issue: render2.c:49:4: error: implicit declaration of function '__glMap1d_size' [-Werror=implicit-function-declaration]

2014-03-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76489 Dâniel Fraga changed: What|Removed |Added CC||frag...@gmail.com -- You are receiving t

[Mesa-dev] [Bug 76489] New: Mesa git (011569b5b7) compilation issue: render2.c:49:4: error: implicit declaration of function '__glMap1d_size' [-Werror=implicit-function-declaration]

2014-03-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76489 Priority: medium Bug ID: 76489 Assignee: mesa-dev@lists.freedesktop.org Summary: Mesa git (011569b5b7) compilation issue: render2.c:49:4: error: implicit declaration of

[Mesa-dev] [PATCH] haiku: Fix build through scons corrections and viewport fixes

2014-03-22 Thread Alexander von Gluck IV
* Add HAVE_PTHREAD, we do have pthread support wrappers now for non-native Haiku threaded applications. * Viewport changed behavior recently breaking the build. We fix this by looking at the gl_context ViewportArray (Thanks Brian for the idea) --- scons/gallium.py

[Mesa-dev] [Bug 50482] git mesa fails to build

2014-03-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50482 --- Comment #5 from Dâniel Fraga --- (In reply to comment #4) > The original problem was resolved nearly two years ago, I find it surprising > that you're having the "exact same issue". > > Would be better if you open fresh bug report, and provi

Re: [Mesa-dev] RFC: Fixing XBMC crash with NV_vdpau_interop

2014-03-22 Thread Brian Paul
On Sat, Mar 22, 2014 at 2:49 PM, Christian König wrote: > Hi guys, > > recently some XBMC users complained about crashes with the relatively new > NV_vdpau_interop support. > > That turned out to be a problem with how st_atom_texture.c caches the > sampler view for a texture. Since the texture in

[Mesa-dev] RFC: Fixing XBMC crash with NV_vdpau_interop

2014-03-22 Thread Christian König
Hi guys, recently some XBMC users complained about crashes with the relatively new NV_vdpau_interop support. That turned out to be a problem with how st_atom_texture.c caches the sampler view for a texture. Since the texture in question is shared between two GLX contexts the pipe object the

[Mesa-dev] [Bug 50482] git mesa fails to build

2014-03-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50482 Emil Velikov changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Mesa-dev] [Bug 50482] git mesa fails to build

2014-03-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50482 Dâniel Fraga changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WORKSFORME

Re: [Mesa-dev] [PATCH 2/4] loader: don't limit the non-udev path to only android

2014-03-22 Thread Emil Velikov
On 22/03/14 11:54, Jonathan Gray wrote: > On Sat, Mar 22, 2014 at 11:45:35AM +, Emil Velikov wrote: >> On 22/03/14 04:05, Jonathan Gray wrote: >>> On Sat, Mar 22, 2014 at 12:10:26AM +, Emil Velikov wrote: On 19/03/14 01:06, Jonathan Gray wrote: > On Tue, Mar 18, 2014 at 07:56:21PM

Re: [Mesa-dev] [PATCH 3/3] gallium/u_gen_mipmap: rewrite using pipe->blit

2014-03-22 Thread Roland Scheidegger
> On Sat, Mar 22, 2014 at 4:54 PM, Roland Scheidegger > wrote: > > I think this is missing some parameters by not using a sampler view. In > > particular can we please have a separate format here? It may not matter > > for GL (srgb maybe, texture views?), but for this to work with d3d we > > need

[Mesa-dev] [Bug 70920] [GLSL compiler] SIGSEGV for shaders/glsl-fs-inline-explosion

2014-03-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70920 Marek Olšák changed: What|Removed |Added Summary|[PIGLIT,radeonsi] SIGSEGV |[GLSL compiler] SIGSEGV for

[Mesa-dev] [Bug 70920] [PIGLIT, radeonsi] SIGSEGV for shaders/glsl-fs-inline-explosion

2014-03-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70920 --- Comment #4 from Kai --- Not sure, whether this should be closed or not, but I don't see the test in todays Piglit run. And certainly not among the three crashed tests. -- You are receiving this mail because: You are on the CC list for the b

[Mesa-dev] [PATCH 0/7] Rename pack/unpack functions

2014-03-22 Thread Brian Paul
This is the first batch of function renaming in format_pack.c and format_unpack.c so the function names match the format names. No regressions with piglit runs with llvmpipe and swrast. The project isn't done, but this is most of it. -Brian ___ mesa-

[Mesa-dev] [PATCH 2/7] mesa: rename format_(un)pack.c functions to match format names (pt. 2)

2014-03-22 Thread Brian Paul
sed commands: s/ABGR2101010\b/R10G10B10A2_UNORM/g s/XRGB2101010_UNORM\b/B10G10R10X2_UNORM/g s/XBGR16161616_UNORM\b/RGBX_UNORM16/g s/ABGR2101010\b/R10G10B10A2_UNORM/g s/I8\b/I_UNORM8/g s/I16\b/I_UNORM16/g --- src/mesa/main/format_pack.c | 24 ++--- src/mesa/main/format_unpack.c

[Mesa-dev] [PATCH 7/7] mesa: rename format_(un)pack.c functions to match format names (pt. 7)

2014-03-22 Thread Brian Paul
sed commands: s/z_Z24_S8\b/S8_UINT_Z24_UNORM/g s/z_S8_Z24\b/Z24_UNORM_S8_UINT/g s/z_Z16\b/Z_UNORM16/g s/z_Z32\b/Z_UNORM32/g s/z_Z32_FLOAT/Z_FLOAT32/g --- src/mesa/main/format_pack.c | 44 - src/mesa/main/format_unpack.c | 24 +++--- 2 f

[Mesa-dev] [PATCH 5/7] mesa: rename format_(un)pack.c functions to match format names (pt. 5)

2014-03-22 Thread Brian Paul
sed commands: s/SIGNED_R_UNORM8\b/R_SNORM8/g s/SIGNED_RG88_REV\b/R8G8_SNORM/g s/SIGNED_RGBX\b/X8B8G8R8_SNORM/g s/SIGNED_A8B8G8R8_UNORM\b/A8B8G8R8_SNORM/g s/SIGNED_R8G8B8A8_UNORM\b/R8G8B8A8_SNORM/g s/SIGNED_R_UNORM16\b/R_SNORM16/g s/SIGNED_R16G16_UNORM\b/R16G16_SNORM/g s/SIGNED_RGB_16\b/RGB_SNOR

[Mesa-dev] [PATCH 3/7] mesa: rename format_(un)pack.c functions to match format names (pt. 3)

2014-03-22 Thread Brian Paul
sed commands: s/RGBA_FLOAT32\b/RGBA_FLOAT32/g s/RGBA_FLOAT16\b/RGBA_FLOAT16/g s/RGB_FLOAT32\b/RGB_FLOAT32/g s/RGB_FLOAT16\b/RGB_FLOAT16/g s/LUMINANCE_FLOAT32\b/L_FLOAT32/g s/LUMINANCE_FLOAT16\b/L_FLOAT16/g s/LUMINANCE_ALPHA_FLOAT32\b/LA_FLOAT32/g s/LUMINANCE_ALPHA_FLOAT16\b/LA_FLOAT16/g s/ALPHA_FLO

[Mesa-dev] [PATCH 4/7] mesa: rename format_(un)pack.c functions to match format names (pt. 4)

2014-03-22 Thread Brian Paul
sed commands: s/SRGBA_UNORM8\b/A8B8G8R8_SRGB/g s/SABGR_UNORM8\b/R8G8B8A8_SRGB/g s/SARGB8\b/B8G8R8A8_SRGB/g s/XBGR_SRGB\b/R8G8B8X8_SRGB/g s/XRGB_SRGB\b/B8G8R8X8_SRGB/g s/SL_UNORM8\b/L_SRGB8/g s/SLA_UNORM8\b/L8A8_SRGB/g manually changed SRGB8 -> BGR_SRGB8 --- src/mesa/main/format_pack.c |

[Mesa-dev] [PATCH 6/7] mesa: rename format_(un)pack.c functions to match format names (pt. 6)

2014-03-22 Thread Brian Paul
sed commands: s/ARGB2101010_UINT\b/B10G10R10A2_UINT/g s/ABGR2101010_UINT\b/R10G10B10A2_UINT/g --- src/mesa/main/format_pack.c |8 src/mesa/main/format_unpack.c | 16 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/mesa/main/format_pack.c b/src

[Mesa-dev] [PATCH] radeonsi: allow fast color clear and Hyper-Z with 1D-tiled surfaces on CIK

2014-03-22 Thread Marek Olšák
From: Marek Olšák This depends on my kernel fix. Hyper-Z is still disabled by default. --- src/gallium/drivers/radeon/r600_texture.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture

Re: [Mesa-dev] [PATCH 3/3] gallium/u_gen_mipmap: rewrite using pipe->blit

2014-03-22 Thread Marek Olšák
On Sat, Mar 22, 2014 at 4:54 PM, Roland Scheidegger wrote: > I think this is missing some parameters by not using a sampler view. In > particular can we please have a separate format here? It may not matter > for GL (srgb maybe, texture views?), but for this to work with d3d we > need to be able t

[Mesa-dev] [PATCH 2/2] mesa: fix unpack_Z32_FLOAT_X24S8() / unpack_Z32_FLOAT() mix-up

2014-03-22 Thread Brian Paul
And use the z32f_x24s8 helper struct in unpack_Z32_FLOAT_X24S8(). Cc: "10.0" "10.1" --- src/mesa/main/format_unpack.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/format_unpack.c b/src/mesa/main/format_unpack.c index f85c875..906001d 100644 --- a/sr

[Mesa-dev] [PATCH 1/2] mesa: fix indentation, formatting, etc in fbobject.c

2014-03-22 Thread Brian Paul
--- src/mesa/main/fbobject.c | 94 +++--- 1 file changed, 56 insertions(+), 38 deletions(-) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index dfe2f1e..8c92482 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -63

Re: [Mesa-dev] [PATCH] configure.ac: fix the detection of expat with pkg-config

2014-03-22 Thread Matt Turner
Reviewed-by: Matt Turner I'll commit it soon unless someone does before me. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 09/10] mesa: Add support to unpack depth-stencil texture in to FLOAT_32_UNSIGNED_INT_24_8_REV

2014-03-22 Thread Brian Paul
On 03/21/2014 04:01 PM, Anuj Phogat wrote: Cc: Signed-off-by: Anuj Phogat --- src/mesa/main/format_unpack.c | 79 ++- src/mesa/main/format_unpack.h | 5 +++ 2 files changed, 83 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/format_unpack.c

Re: [Mesa-dev] [PATCH] mesa: Skip clearing color buffers when color writes are disabled.

2014-03-22 Thread Marek Olšák
The format can also be luminance or intensity. Marek On Sat, Mar 22, 2014 at 5:18 PM, Brian Paul wrote: > On 03/21/2014 05:22 PM, Kenneth Graunke wrote: >> >> WebGL Aquarium in Chrome 24 actually hits this. >> >> v2: Move to core Mesa (wisely suggested by Ian); only consider >> components w

Re: [Mesa-dev] [PATCH] mesa: Skip clearing color buffers when color writes are disabled.

2014-03-22 Thread Brian Paul
On 03/21/2014 05:22 PM, Kenneth Graunke wrote: WebGL Aquarium in Chrome 24 actually hits this. v2: Move to core Mesa (wisely suggested by Ian); only consider components which actually exist. Signed-off-by: Kenneth Graunke Cc: Ian Romanick Cc: Paul Berry Cc: Anuj Phogat --- src/mesa/m

Re: [Mesa-dev] [PATCH 3/3] gallium/u_gen_mipmap: rewrite using pipe->blit

2014-03-22 Thread Roland Scheidegger
Am 22.03.2014 16:54, schrieb Roland Scheidegger: > Am 16.03.2014 15:47, schrieb Marek Olšák: >> From: Marek Olšák >> >> This replaces u_gen_mipmap with an extremely simple implementation based >> on pipe->blit. The diff speaks for itself. st/mesa is also cleaned up. >> >> Pros: >> - less code >> -

Re: [Mesa-dev] [PATCH 3/3] gallium/u_gen_mipmap: rewrite using pipe->blit

2014-03-22 Thread Roland Scheidegger
Am 16.03.2014 15:47, schrieb Marek Olšák: > From: Marek Olšák > > This replaces u_gen_mipmap with an extremely simple implementation based > on pipe->blit. The diff speaks for itself. st/mesa is also cleaned up. > > Pros: > - less code > - correct mipmap generation for NPOT 3D textures (u_blitte

Re: [Mesa-dev] [PATCH 1/3] gallium/u_blitter: don't adjust cubemap coordinates by a small number

2014-03-22 Thread Roland Scheidegger
Am 16.03.2014 15:47, schrieb Marek Olšák: > From: Marek Olšák > > It may cause issues with mipmap generation. > I think it was used to make some piglit tests pass on r300g. > --- > src/gallium/auxiliary/util/u_blitter.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sr

[Mesa-dev] [PATCH] configure.ac: fix the detection of expat with pkg-config

2014-03-22 Thread Johannes Nixdorf
The pkg-config module was called "EXPAT" instead of "expat" in PKG_CHECK_EXISTS. This seems to have been wrong because the wrong argument was copied from PKG_CHECK_MODULES. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c5042f

Re: [Mesa-dev] [PATCH 2/4] loader: don't limit the non-udev path to only android

2014-03-22 Thread Jonathan Gray
On Sat, Mar 22, 2014 at 11:45:35AM +, Emil Velikov wrote: > On 22/03/14 04:05, Jonathan Gray wrote: > > On Sat, Mar 22, 2014 at 12:10:26AM +, Emil Velikov wrote: > >> On 19/03/14 01:06, Jonathan Gray wrote: > >>> On Tue, Mar 18, 2014 at 07:56:21PM +, Emil Velikov wrote: > On 18/03/

Re: [Mesa-dev] [PATCH 2/4] loader: don't limit the non-udev path to only android

2014-03-22 Thread Emil Velikov
On 22/03/14 04:05, Jonathan Gray wrote: > On Sat, Mar 22, 2014 at 12:10:26AM +, Emil Velikov wrote: >> On 19/03/14 01:06, Jonathan Gray wrote: >>> On Tue, Mar 18, 2014 at 07:56:21PM +, Emil Velikov wrote: On 18/03/14 14:59, Jonathan Gray wrote: > Signed-off-by: Jonathan Gray >