Re: [Mesa-dev] Mesa 10.5.0 release candidate 1

2015-02-16 Thread Maarten Lankhorst
Hey, Op 12-02-15 om 15:24 schreef Emil Velikov: > Mesa 10.5.0 release candidate 1 is now available for testing. The > current plan is to have an additional release candidate every Friday > until the eventual 10.5.0 release on Mar 6th. > > The tag in the git repository for Mesa 10.5.0-rc1 is 'mesa-

Re: [Mesa-dev] [PATCH] r600g/sb: Don't fold integer value into float CND

2015-02-12 Thread Maarten Lankhorst
ff-by: Glenn Kennard > Cc: "10.5" Reported-andTested-by: Maarten Lankhorst ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] gallivm: force sse instructions for llvm 3.5+

2014-10-02 Thread Maarten Lankhorst
Hey, Op 02-10-14 om 04:22 schreef Roland Scheidegger: > Am 01.10.2014 16:56, schrieb Maarten Lankhorst: >> This fixes a crash when llvmpipe tries to use sse instructions, >> but llvm detects a cpu that doesn't support them. >> >> Fixes for example piglit/bin/amd_s

Re: [Mesa-dev] [PATCH] gallivm: force sse instructions for llvm 3.5+

2014-10-02 Thread Maarten Lankhorst
Op 02-10-14 om 09:10 schreef Maarten Lankhorst: > Hey, > > Op 02-10-14 om 04:22 schreef Roland Scheidegger: >> Am 01.10.2014 16:56, schrieb Maarten Lankhorst: >>> This fixes a crash when llvmpipe tries to use sse instructions, >>> but llvm detects a cpu that doesn&

[Mesa-dev] [PATCH] gallivm: force sse instructions for llvm 3.5+

2014-10-01 Thread Maarten Lankhorst
: Do not know how to split the result of this operator!" Signed-off-by: Maarten Lankhorst --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp index 55aa8b9..f2f8906 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp ++

Re: [Mesa-dev] XA tracker pipe-loader woes.

2014-07-02 Thread Maarten Lankhorst
op 02-07-14 12:34, Thomas Hellstrom schreef: > Hi, Rob > > It turns out that your patch st/xa: use pipe-loader to get screen, > makes the xa tracker close the X server driver's drm file descriptor when > XA initialization fails or when XA is closed. > > This breaks X for example on Ubuntu 14.10 if

Re: [Mesa-dev] [PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context

2014-06-23 Thread Maarten Lankhorst
op 23-06-14 09:24, Ben Skeggs schreef: > On Mon, Jun 23, 2014 at 5:17 PM, Maarten Lankhorst > wrote: >> op 21-06-14 14:12, Ilia Mirkin schreef: >>> On Tue, Jun 17, 2014 at 2:34 AM, Maarten Lankhorst >>> wrote: >>>> nv30 seems to not support dma

Re: [Mesa-dev] [PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context

2014-06-23 Thread Maarten Lankhorst
op 21-06-14 14:12, Ilia Mirkin schreef: > On Tue, Jun 17, 2014 at 2:34 AM, Maarten Lankhorst > wrote: >> nv30 seems to not support dma objects with offset, so simply extend the >> query_heap to cover the >> entire notifier, and use a offset in nv30_context_kick_notify. &g

[Mesa-dev] [PATCH try 2 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen

2014-06-16 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- src/gallium/drivers/nouveau/nouveau_fence.c | 76 - src/gallium/drivers/nouveau/nouveau_fence.h | 22 +-- src/gallium/drivers/nouveau/nouveau_screen.c| 9 +++ src/gallium/drivers/nouveau/nouveau_screen.h| 14

[Mesa-dev] [PATCH 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen

2014-06-16 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- src/gallium/drivers/nouveau/nouveau_fence.c | 76 - src/gallium/drivers/nouveau/nouveau_fence.h | 22 +-- src/gallium/drivers/nouveau/nouveau_screen.c| 9 +++ src/gallium/drivers/nouveau/nouveau_screen.h| 14

Re: [Mesa-dev] [PATCH] gallium/util: fix p_atomic_dec_zero macros

2014-06-16 Thread Maarten Lankhorst
op 13-06-14 07:39, Michel Dänzer schreef: On 12.06.2014 17:00, Maarten Lankhorst wrote: I'm pretty sure that p_atomic_dec_zero should return 1 if the count drops to zero. Cc: "10.2 10.1 10.0" I don't think the stable tag is justified: These bugs have been there for

[Mesa-dev] [PATCH] gallium/util: fix p_atomic_dec_zero macros

2014-06-12 Thread Maarten Lankhorst
I'm pretty sure that p_atomic_dec_zero should return 1 if the count drops to zero. Cc: "10.2 10.1 10.0" Signed-off-by: Maarten Lankhorst --- diff --git a/src/gallium/auxiliary/util/u_atomic.h b/src/gallium/auxiliary/util/u_atomic.h index 2f2b42b..08cadb4 100644 --- a/src/ga

Re: [Mesa-dev] [PATCH] gallium glsl: Fix crash with piglit fs-deref-literal-array-of-structs.shader_test

2014-04-07 Thread Maarten Lankhorst
op 03-04-14 18:19, Marek Olšák schreef: Acked-by: Marek Olšák Nacked by self btw, the alternative fix below doesn't break other testcases. The original fix did.. No idea why it is legal to move a constant struct/array here, but it appears to pass all tests... --- diff --git a/src/mesa/stat

Re: [Mesa-dev] [PATCH 06/16] targets/dri: use a single version script to restict exported symbols

2014-04-05 Thread Maarten Lankhorst
op 05-04-14 03:46, Emil Velikov schreef: Rather than having multiple (almost) identical version scripts use a single one. Cc: Maarten Lankhorst Cc: Christian König Signed-off-by: Emil Velikov --- src/gallium/Automake.inc | 6 ++ src/gallium/state_trackers/dri

[Mesa-dev] [PATCH] gallium glsl: Fix crash with piglit fs-deref-literal-array-of-structs.shader_test

2014-03-18 Thread Maarten Lankhorst
Use the recursive copy from emit_block_mov to allow constant declarations to work. This allows the following code to work without a weird crash: struct Foo { int value[1]; }; int actual_value = Foo[2](Foo(int[1](100)), Foo(int[1](200)))[i].value[0]; Signed-off-by: Maarten Lankhorst

Re: [Mesa-dev] [PATCH] fix vdpau interop when using -Bsymbolic-functions in ldflags

2014-03-08 Thread Maarten Lankhorst
op 07-03-14 17:33, Emil Velikov schreef: On 06/03/14 09:56, Maarten Lankhorst wrote: Explicitly add radeon_drm_winsys_create and nouveau_drm_screen_create to the dynamic list. This will ensure vdpau interop still works even when the user links with -Bsymbolic-functions in hardened builds

[Mesa-dev] [PATCH] fix vdpau interop when using -Bsymbolic-functions in ldflags

2014-03-06 Thread Maarten Lankhorst
Explicitly add radeon_drm_winsys_create and nouveau_drm_screen_create to the dynamic list. This will ensure vdpau interop still works even when the user links with -Bsymbolic-functions in hardened builds. Signed-off-by: Maarten Lankhorst Tested-by: Rachel Greenham Reported-by: Peter Frühberger

Re: [Mesa-dev] Convert vdpau and dri targets to the pipe-loader

2014-02-13 Thread Maarten Lankhorst
On 13-02-14 16:27, Marek Olšák wrote: Yes, -O0 has been part of --enable-debug, because debugging is often difficult with -O2. That's why I change CFLAGS and CXXFLAGS manually, because I only want -g -O2. Could just remove --disable-debug. Afaict it amounts to calling autoconf with CFLAGS='-g -

Re: [Mesa-dev] Convert vdpau and dri targets to the pipe-loader

2014-02-13 Thread Maarten Lankhorst
op 13-02-14 14:14, Christian König schreef: Am 13.02.2014 13:20, schrieb Emil Velikov: On 13/02/14 11:48, Christian König wrote: Am 13.02.2014 12:28, schrieb Maarten Lankhorst: op 11-02-14 11:30, Christian König schreef: Am 11.02.2014 05:26, schrieb Emil Velikov: Hello list, The recent

Re: [Mesa-dev] Convert vdpau and dri targets to the pipe-loader

2014-02-13 Thread Maarten Lankhorst
op 11-02-14 11:30, Christian König schreef: Am 11.02.2014 05:26, schrieb Emil Velikov: Hello list, The recent patches from Rob gave me a nice kick to give another stab at integrating the pipe-loader into the vdpau/dri targets. What: - With these patches one library will be created for hardwa

Re: [Mesa-dev] Convert vdpau and dri targets to the pipe-loader

2014-02-13 Thread Maarten Lankhorst
Hey, On 11-02-14 05:26, Emil Velikov wrote: Hello list, The recent patches from Rob gave me a nice kick to give another stab at integrating the pipe-loader into the vdpau/dri targets. What: - With these patches one library will be created for hardware and one for software driven backends - e

Re: [Mesa-dev] [PATCH] gallium/vl: remove remaining softpipe video functions

2014-02-13 Thread Maarten Lankhorst
Hey, On 11-02-14 11:57, Christian König wrote: From: Christian König Unused and unmaintained for quite a while. Good riddance! Reviewed-by: Maarten Lankhorst ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org

Re: [Mesa-dev] [PATCH v2] gallium makefiles: use a linker script for building dri drivers

2014-02-12 Thread Maarten Lankhorst
op 12-02-14 08:27, Christian König schreef: Am 12.02.2014 03:50, schrieb Michel Dänzer: On Die, 2014-02-11 at 17:28 +0100, Maarten Lankhorst wrote: Only export __driDriverExtensions by default, and radeon_drm_winsys_create on radeons. Remove -Bsymbolic which should no longer be needed. Is

[Mesa-dev] [PATCH v2] gallium makefiles: use a linker script for building dri drivers

2014-02-11 Thread Maarten Lankhorst
Only export __driDriverExtensions by default, and radeon_drm_winsys_create on radeons. Remove -Bsymbolic which should no longer be needed. As a side effect, it ought to fix a manifestation of bug 73200 on radeon. Signed-off-by: Maarten Lankhorst --- diff --git a/src/gallium/Automake.inc b/src

[Mesa-dev] [PATCH] gallium makefiles: use -export-symbols-regex for building dri drivers

2014-02-11 Thread Maarten Lankhorst
Hide most symbols, except radeon_drm_winsys_create. As a side effect, it ought to fix bug 73200 on radeon. Signed-off-by: Maarten Lankhorst --- diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc index 1e4a34f..b70b940 100644 --- a/src/gallium/Automake.inc +++ b/src/gallium

Re: [Mesa-dev] Atomics not really atomic?

2014-01-22 Thread Maarten Lankhorst
op 22-01-14 14:44, Lauri Kasanen schreef: Hi, The two atomic helpers in u_atomic.h, p_atomic_set and p_atomic_read, are just passthrough macros, without the atomic guarantees. Why? I believe I saw some corruption because of this, where a 64-bit write on a 32-bit platform may not be naturally at

Re: [Mesa-dev] [Mesa-stable] Unreviewed patches marked for stable

2013-12-06 Thread Maarten Lankhorst
op 06-12-13 18:45, Ian Romanick schreef: > On 12/06/2013 09:21 AM, Ilia Mirkin wrote: >> On Fri, Dec 6, 2013 at 11:19 AM, Ian Romanick wrote: >>> There are a number of patches marked for stable that don't appear to >>> have any reviews. Most of these patches cover areas that I'm not >>> qualified

Re: [Mesa-dev] rules for merging patches to libdrm

2013-11-18 Thread Maarten Lankhorst
op 09-11-13 22:26, Ian Romanick schreef: > On 11/09/2013 12:11 AM, Dave Airlie wrote: How does this interact with the rule that kernel interfaces require an open source userspace? Is "here are the mesa/libdrm patches that use it" sufficient to get the kernel interface merged? >>> Tha

Re: [Mesa-dev] [PATCH] EGL: fix build without libdrm

2013-11-11 Thread Maarten Lankhorst
op 10-11-13 19:32, Samuel Thibault schreef: > This fixes building EGL without libdrm support. > > Signed-off-by: Samuel Thibault Applied, thanks. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-

Re: [Mesa-dev] Updates to 9.2 branch

2013-09-30 Thread Maarten Lankhorst
op 11-09-13 21:11, Ian Romanick schreef: > Just an FYI... > > The 9.2 branch is falling a bit behind. I'm going to trickle out > patches to the stable branch over the next few days / week. My plan is > to do 9.2.1 during the week of XDC. > > If your favorite patch hasn't made it out but is listed

[Mesa-dev] [PATCH] st/dri: do not create a new context for msaa copy

2013-09-09 Thread Maarten Lankhorst
, can someone test if it still works with NULL passed as context for validate? From examining the code I believe it does, but I didn't thoroughly test it. Signed-off-by: Maarten Lankhorst Cc: 9.2 --- diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tr

Re: [Mesa-dev] Mesa 9.2 release candidate 1

2013-08-20 Thread Maarten Lankhorst
Op 20-08-13 20:14, Matt Turner schreef: > On Tue, Aug 20, 2013 at 8:54 AM, Maarten Lankhorst > wrote: >> 1. There is a new gallium based osmesa, which doesn't work correctly with >> wine. My testcase is running opengl32_test from wine/dlls/opengl32/tests. >> I'

Re: [Mesa-dev] Mesa 9.2 release candidate 1

2013-08-20 Thread Maarten Lankhorst
Op 20-08-13 02:05, Ian Romanick schreef: > Mesa 9.2 release candidate 1 is now available for testing. > > The tag in the GIT repository for Mesa 9.2-rc1 is 'mesa-9.2-rc1'. > > Mesa 9.2 release candidate 1 is available for download at > ftp://freedesktop.org/pub/mesa/9.2/ > > md5sums: > > 866e9a1b3c

Re: [Mesa-dev] [PATCH] configure: link against -lLLVM to determine build type

2013-08-14 Thread Maarten Lankhorst
Op 14-08-13 04:37, Tom Stellard schreef: > On Tue, Aug 13, 2013 at 05:53:52PM +0200, Maarten Lankhorst wrote: >> Fixes a build failure of 9.2 on ubuntu, because libLLVM-3.3.so is not >> present in /usr/lib/llvm-3.2/lib. >> > I'm trying to understand the problem here,

[Mesa-dev] [PATCH] radeon/llvm: fix compile error with -Werror=format-security

2013-08-13 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.c b/src/gallium/drivers/radeon/radeon_llvm_emit.c index 1a4d4fd..2dd7bf7 100644 --- a/src/gallium/drivers/radeon/radeon_llvm_emit.c +++ b/src/gallium/drivers/radeon/radeon_llvm_emit.c @@ -124,7 +124,7

[Mesa-dev] [PATCH] configure: link against -lLLVM to determine build type

2013-08-13 Thread Maarten Lankhorst
Fixes a build failure of 9.2 on ubuntu, because libLLVM-3.3.so is not present in /usr/lib/llvm-3.2/lib. Signed-off-by: Maarten Lankhorst --- diff --git a/configure.ac b/configure.ac index 35f6797..579d8d4 100644 --- a/configure.ac +++ b/configure.ac @@ -1870,7 +1870,18 @@ if test "x$MESA

[Mesa-dev] [PATCH] osmesa: link against static libglapi library too to get the gl exports

2013-07-07 Thread Maarten Lankhorst
for me. This is a candidate for the stable series. Signed-off-by: Maarten Lankhorst --- --- a/src/mesa/drivers/osmesa/Makefile.am +++ b/src/mesa/drivers/osmesa/Makefile.am @@ -40,11 +40,11 @@ lib_LTLIBRARIES = lib@OSMESA_LIB@.la lib@OSMESA_LIB@_la_LDFLAGS = -module -version-number @OSMESA_VERS

Re: [Mesa-dev] [PATCH] vl/mpeg12: implement inverse scan/quantization steps

2013-06-26 Thread Maarten Lankhorst
Op 26-06-13 10:33, Christian König schreef: > Am 26.06.2013 05:29, schrieb Ilia Mirkin: >> On Mon, Jun 24, 2013 at 2:13 PM, Christian König >> wrote: >>> Am 24.06.2013 18:39, schrieb Ilia Mirkin: >>> On Mon, Jun 24, 2013 at 4:48 AM, Christian König wrote: > Am 23.06.2013 18:59, schr

[Mesa-dev] [PATCH 1/2 v2] build libgallium shared by default.

2013-03-19 Thread Maarten Lankhorst
Op 19-03-13 12:37, Andreas Boll schreef: > 2013/3/19 Maarten Lankhorst : >> Op 18-03-13 16:28, Andreas Boll schreef: >>> 2013/3/18 Maarten Lankhorst : >>>> This is one of the 2 patches used in ubuntu for decreasing size of mesa >>>> build. >&g

Re: [Mesa-dev] [PATCH] radeon/llvm: Link against libgallium.la to fix an undefined symbol

2013-03-19 Thread Maarten Lankhorst
Hey, Op 19-03-13 11:55, Andreas Boll schreef: > Ported from downstream: > http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/119-libllvmradeon-link.patch;h=ee47f8a07dbf33c32f8b57faed923680ed6648fb;hb=refs/heads/ubuntu%2B1 > > Fixes a regression introduced with > f70c

Re: [Mesa-dev] [PATCH 1/2] build libgallium shared by default.

2013-03-19 Thread Maarten Lankhorst
Op 18-03-13 16:28, Andreas Boll schreef: > 2013/3/18 Maarten Lankhorst : >> This is one of the 2 patches used in ubuntu for decreasing size of mesa >> build. >> >> The other one is more hacky, and links libmesagallium into libgallium, >> and then links libg

[Mesa-dev] [PATCH 2/2] (hack) build libgallium against libdricore

2013-03-18 Thread Maarten Lankhorst
m and without this hack, the stripped build was 36 mb. With just shared gallium it was 25 mb, and with both applied it was 12 mb. libmesagallium had to be moved to a subdir, to force the correct build order. >8--- Not-signed-off-by: Maarten Lankhorst --- a/src/mesa/libdricore/Makefile.am +++ b/

[Mesa-dev] [PATCH 1/2] build libgallium shared by default.

2013-03-18 Thread Maarten Lankhorst
for discussion purposes, although if there is no objection I'll change the default to disabling shared gallium, and just let every distro enable shared llvm and libgallium for themselves. >8--- Signed-off-by: Maarten Lankhorst --- a/configure.ac +++ b/configure.ac @@ -733,6 +733,1

[Mesa-dev] [PATCH] vl: round next_msc to integer frame, and kill skew_msc

2013-01-19 Thread Maarten Lankhorst
This reduces jitter slightly in a cleaner way, without desynchronizing mplayer2 as badly when falling behind. Signed-off-by: Maarten Lankhorst --- diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri.c b/src/gallium/auxiliary/vl/vl_winsys_dri.c index 95aabac..560c914 100644 --- a/src/gallium

Re: [Mesa-dev] [PATCH] vl/compositor: fix weave shader bugs

2012-12-18 Thread Maarten Lankhorst
Op 18-12-12 13:04, Maarten Lankhorst schreef: > Op 18-12-12 11:42, Christian König schreef: >> On 18.12.2012 09:18, Maarten Lankhorst wrote: >>> Writemask was XY instead of YZ (thanks to calim for spotting it). >>> >>> The pixel calculation resulted in the pix

[Mesa-dev] [PATCH] vl/video_buffer: fix up surface ordering for the interlaced case

2012-12-18 Thread Maarten Lankhorst
It seems the other code expects surface[0..1] to be the luma field in interlaced case. See for example vdpau/surface.c vlVdpVideoSurfaceClear and vlVdpVideoSurfacePutBitsYCbCr. Signed-off-by: Maarten Lankhorst --- diff --git a/src/gallium/auxiliary/vl/vl_video_buffer.c b/src/gallium

Re: [Mesa-dev] [PATCH] vl/compositor: fix weave shader bugs

2012-12-18 Thread Maarten Lankhorst
Op 18-12-12 11:42, Christian König schreef: > On 18.12.2012 09:18, Maarten Lankhorst wrote: >> Writemask was XY instead of YZ (thanks to calim for spotting it). >> >> The pixel calculation resulted in the pixel always being off by one. >> If y was .5: >> >>

[Mesa-dev] [PATCH] vl/compositor: fix weave shader bugs

2012-12-18 Thread Maarten Lankhorst
] = c05090 YCbCr[62] = 0e70b0 -YCbCr[63] = e080c0 +YCbCr[63] = e070b0 Signed-off-by: Maarten Lankhorst --- diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index 7ea13bf..bc69669 100644 --- a/src/gallium/auxiliary/vl/vl_compositor.c +++ b/src/gallium

Re: [Mesa-dev] [PATCH] makefiles: use configured name for -ldrm* where possible

2012-11-16 Thread Maarten Lankhorst
Op 13-11-12 19:31, Matt Turner schreef: > On Tue, Nov 13, 2012 at 4:00 AM, Maarten Lankhorst > wrote: >> For precise lts support I had to do some magic with the library names, which >> works fine >> as long as the libraries from pkg-config are used. >> >> T

[Mesa-dev] [PATCH] makefiles: use configured name for -ldrm* where possible

2012-11-13 Thread Maarten Lankhorst
stable branches. Signed-off-by: Maarten Lankhorst --- diff --git a/configs/current.in b/configs/current.in index 1802271..62edfa5 100644 --- a/configs/current.in +++ b/configs/current.in @@ -144,7 +144,7 @@ GLAPI_LIB_DEPS = @GLAPI_LIB_DEPS@ DRI_LIB_DEPS = @DRI_LIB_DEPS@ GALLIUM_DRI_LIB_DEPS

Re: [Mesa-dev] [PATCH] radeon: Fix parallel builds

2012-10-05 Thread Maarten Lankhorst
Hey Andreas, Op 05-10-12 15:44, Andreas Radke schreef: > Am Thu, 04 Oct 2012 16:05:33 +0200 > schrieb Maarten Lankhorst : > >> Op 04-10-12 15:50, Maarten Lankhorst schreef: >>> The generated td files won't initially show up in the *.td depend, >>> which o

Re: [Mesa-dev] [PATCH] radeon: Fix parallel builds

2012-10-04 Thread Maarten Lankhorst
Op 04-10-12 15:50, Maarten Lankhorst schreef: > The generated td files won't initially show up in the *.td depend, which > opens up a small race in which parallel build can fail. > Seems the upstream fix cebbdd4ac23725 wasn't pushed to 9.0 br

[Mesa-dev] [PATCH] radeon: Fix parallel builds

2012-10-04 Thread Maarten Lankhorst
The generated td files won't initially show up in the *.td depend, which opens up a small race in which parallel build can fail. Signed-off-by: Maarten Lankhorst --- diff --git a/src/gallium/drivers/radeon/Makefile b/src/gallium/drivers/radeon/Makefile index 43f668a..983789c 100644 ---

Re: [Mesa-dev] [Linaro-mm-sig] [RFC] New dma_buf -> EGLImage EGL extension

2012-10-02 Thread Maarten Lankhorst
Hey, Bit late reply, hopefully not too late. Op 30-08-12 16:00, Tom Cooksey schreef: > Hi All, > > Over the last few months I've been working on & off with a few people from > Linaro on a new EGL extension. The extension allows constructing an EGLImage > from a (set of) dma_buf file descriptors,

Re: [Mesa-dev] [RFC patch 2/2] Build libgallium shared

2012-08-23 Thread Maarten Lankhorst
Hey Matt, Op 22-08-12 17:45, Matt Turner schreef: > On Wed, Aug 22, 2012 at 3:21 AM, Maarten Lankhorst > wrote: >> And build gallium shared :) > Seems reasonable to me, given that we do this for dricore. > > I've got a bunch of build patches waiting for review, so I&#

[Mesa-dev] [RFC patch 2/2] Build libgallium shared

2012-08-22 Thread Maarten Lankhorst
And build gallium shared :) TODO: it seems ugly that all xvmc/vdpau/va drivers specify libgallium.a/so directly, maybe it is better to move it out from there? diff --git a/configs/current.in b/configs/current.in index c490842..73d08be 100644 --- a/configs/current.in +++ b/configs/current.in @@ -1

[Mesa-dev] [RFC patch 1/2] gallium: only link static archives between ld start/end group options

2012-08-22 Thread Maarten Lankhorst
Not my patch, but fixes a build error I encountered on quantal. >From 7e2e29c67f8fc8ec72c2dc8544428fdd86b21353 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sat, 4 Aug 2012 00:29:45 +0200 Subject: [PATCH] gallium: only link static archives between ld start/end group options llvmpipe test pr

[Mesa-dev] [RFC patch 0/2] Build libgallium shared

2012-08-22 Thread Maarten Lankhorst
Hey, 2 patches in the series, first is to fix/workaround a build error with grouping and dynamic libraries, I found it on bugzilla. The second one builds libgallium.so as a shared library to save some space. I don't know what the full impact is and if there are some globals that might get confuse

[Mesa-dev] [PATCH] configure.ac: Enable building nouveau by default

2012-05-31 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- diff --git a/configure.ac b/configure.ac index 9fb8149..30f895c 100644 --- a/configure.ac +++ b/configure.ac @@ -660,7 +660,7 @@ AC_ARG_ENABLE([gallium_tests], [enable_gallium_tests=no]) # Option for Gallium drivers -GALLIUM_DRIVERS_DEFAULT="

[Mesa-dev] [PATCH] radeon: Remove unnecessary pipe_thread_destroy in radeon_drm_cs_destroy

2012-05-22 Thread Maarten Lankhorst
Fixes crash bug introduced with 210ddf0819b5 fd.o #49198 pthread_detach after a pthread_join is unneeded. Signed-off-by: Maarten Lankhorst --- diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_cs.c b/src/gallium/winsys/radeon/drm/radeon_drm_cs.c index 2239059..168f455 100644 --- a/src

Re: [Mesa-dev] [PATCH 13/25] st/vdpau: implement BitmapSurfaceGetParameters

2012-02-27 Thread Maarten Lankhorst
Op 27-02-12 17:25, Christian König schreef: > Signed-off-by: Christian König > --- > src/gallium/state_trackers/vdpau/bitmap.c | 15 ++- > 1 files changed, 14 insertions(+), 1 deletions(-) > > diff --git a/src/gallium/state_trackers/vdpau/bitmap.c > b/src/gallium/state_trackers/vdp

Re: [Mesa-dev] [PATCH 2/3] st/vdpau: Use transfer_inline_write to upload ycbcr data

2012-02-13 Thread Maarten Lankhorst
Op 13-02-12 14:36, Christian König schreef: Uses less code and looks at least a bit cleaner than mapping manually. Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/surface.c | 23 +-- 1 files changed, 5 insertions(+), 18 deletions(-) Can't test it ri

Re: [Mesa-dev] [PATCH 3/3] vl: add support for bob deinterlacing

2012-02-13 Thread Maarten Lankhorst
Op 13-02-12 14:36, Christian König schreef: Signed-off-by: Christian König --- src/gallium/auxiliary/vl/vl_compositor.c | 41 +++- src/gallium/auxiliary/vl/vl_compositor.h | 13 ++- src/gallium/state_trackers/vdpau/mixer.c | 19 ++- src

Re: [Mesa-dev] [PATCH 1/3] st/vdpau: remove unnecessary tracing and adjust tracing levels a bit

2012-02-13 Thread Maarten Lankhorst
Op 13-02-12 14:36, Christian König schreef: Tracing function entry/exits is a bit pointless when VDPAU_TRACE=1 does the same thing. Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/decode.c | 10 -- src/gallium/state_trackers/vdpau/device.c |9

Re: [Mesa-dev] [PATCH 2/4] st/vdpau: use median filter for noise reduction

2012-02-13 Thread Maarten Lankhorst
Hey Christian, Op 13-02-12 13:09, Christian König schreef: No, it's not really needed, but I had it this way in the first place and you need a lot of "if (something_is_not_null) cleanup(something)" in the destructor functions, and with this implementation we only need to test if it's allocated

Re: [Mesa-dev] [PATCH 4/4] st/vdpau: use matrix filter to blur/sharpen video

2012-02-13 Thread Maarten Lankhorst
Op 08-02-12 20:37, Christian König schreef: Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/mixer.c | 78 -- src/gallium/state_trackers/vdpau/query.c |1 + src/gallium/state_trackers/vdpau/vdpau_private.h |9 ++- 3 files chang

Re: [Mesa-dev] [PATCH 2/4] st/vdpau: use median filter for noise reduction

2012-02-13 Thread Maarten Lankhorst
Op 08-02-12 20:37, Christian König schreef: And while at it implement the rest of the feature querying also. Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/mixer.c | 286 +- src/gallium/state_trackers/vdpau/query.c | 12 +- src/gall

Re: [Mesa-dev] [PATCH 2/2] st/vdpau: use dst surface size if clip width/height is zero

2012-02-06 Thread Maarten Lankhorst
Op 06-02-12 12:50, Christian König schreef: Just another fix for gstreamer. Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/presentation.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/presentation.c b/src/g

Re: [Mesa-dev] [PATCH 1/2] st/vdpau: implement vlVdpOutputSurfaceQueryCapabilities

2012-02-06 Thread Maarten Lankhorst
if (!max_2d_texture_level) + return VDP_STATUS_RESOURCES; Shouldn't this be VDP_STATUS_ERROR since it's an internal error, not an out of memory problem? If-fixed-reviewed-by: Maarten Lankhorst ~Maarten ___ mesa-dev mailing list m

Re: [Mesa-dev] [PATCH 3/3] vl: replace decode_buffers with auxiliary data field

2012-01-08 Thread Maarten Lankhorst
Hey Christian, Op 04-01-12 11:42, Christian König schreef: On 03.01.2012 17:03, Maarten Lankhorst wrote: Hi Christian, 2012/1/2 Christian König: Hi Maarten, first of all: Happy new Year and sorry for the late reply, have been on vacation for the last week. On 29.12.2011 16:41, Maarten

Re: [Mesa-dev] [PATCH 3/3] vl: replace decode_buffers with auxiliary data field

2012-01-03 Thread Maarten Lankhorst
Hi Christian, 2012/1/2 Christian König : > Hi Maarten, > > first of all: Happy new Year and sorry for the late reply, have been on > vacation for the last week. > > > On 29.12.2011 16:41, Maarten Lankhorst wrote: >> >> Hey Christian, >> >> Op 26-12-11

Re: [Mesa-dev] [PATCH 3/3] vl: replace decode_buffers with auxiliary data field

2011-12-29 Thread Maarten Lankhorst
Hey Christian, Op 26-12-11 14:00, Christian König schreef: > Based on patches from Maarten Lankhorst > > Signed-off-by: Christian König > > diff --git a/src/gallium/include/pipe/p_context.h > b/src/gallium/include/pipe/p_context.h > index de79a9b..f7ee522 100644 > -

Re: [Mesa-dev] [PATCH 2/3] vl: seperate shader buffers from components

2011-12-29 Thread Maarten Lankhorst
Hey, Op 26-12-11 14:00, Christian König schreef: > Buffers for shader based decoding can now be > released without its component still being around. > > Signed-off-by: Christian König > Looks good to me. Acked-by: Maarten Lankh

Re: [Mesa-dev] [PATCH 1/3] vl: call decode_bitstream only once

2011-12-26 Thread Maarten Lankhorst
2011/12/26 Christian König : > Submit all bitstreams at once to decode_bitstream. > > Signed-off-by: Christian König Signed-off-by: Maarten Lankhorst ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman

[Mesa-dev] [PATCH 2/2] vl: Merge remaining members

2011-12-24 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- Flush explicitly ends the current frame so having a separate begin/endframe is unneeded, and decode_bitstream always has to operate on a full picture. src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c |4 src/gallium/auxiliary/vl/vl_mpeg12_decoder.c

[Mesa-dev] [PATCH 1/2] vl: Remove decode buffers

2011-12-24 Thread Maarten Lankhorst
It's still a curiosity used by vl_mpeg12_bitstream only. Signed-off-by: Maarten Lankhorst --- Version n+1: split up, and fixed to apply with new vl_vlc, although for testing you might want to grab the 'vl: Fix inverted logic in vlc checks' first. src/gallium/auxiliary/

[Mesa-dev] [PATCH] vl: Fix inverted logic in vlc checks

2011-12-24 Thread Maarten Lankhorst
Reported-by: Andy Furniss Signed-off-by: Maarten Lankhorst --- diff --git a/src/gallium/auxiliary/vl/vl_vlc.h b/src/gallium/auxiliary/vl/vl_vlc.h index ff0c4b5..baaa48a 100644 --- a/src/gallium/auxiliary/vl/vl_vlc.h +++ b/src/gallium/auxiliary/vl/vl_vlc.h @@ -215,7 +215,7 @@ vl_vlc_bits_left

Re: [Mesa-dev] [PATCH 1/3] vl: Only initialize vlc once

2011-12-23 Thread Maarten Lankhorst
On 12/22/2011 02:25 PM, Christian König wrote: > Hi Maarten, > > On 21.12.2011 21:52, Maarten Lankhorst wrote: >> It would be nice if you inlined patches for easier reviewing. :) > Well I can try, but I can't promise that Thunderbird isn't badly fucking up > all whi

Re: [Mesa-dev] [PATCH] Add initial Haiku build support

2011-12-22 Thread Maarten Lankhorst
Hey Alexander, On 12/21/2011 07:16 PM, Alexander von Gluck wrote: > > * Doesn't reintroduce legacy drivers > * Adds Haiku mklib code > * Removes some broken PIPE_OS_HAIKU defines > * Removes an NDEBUG ifdef in link_uniforms.cpp, > there is an item that uses the union without > checking NDEBUG

Re: [Mesa-dev] [PATCH 1/3] vl: Only initialize vlc once

2011-12-21 Thread Maarten Lankhorst
On 12/21/2011 08:25 PM, Maarten Lankhorst wrote: > Hey Christian, > > On 12/21/2011 07:25 PM, Christian König wrote: >> Hi guys, >> >> On 21.12.2011 17:27, Maarten Lankhorst wrote: >>> Also a remark about your patch, wish you had inlined it.. >> Sorry,

Re: [Mesa-dev] [PATCH 1/3] vl: Only initialize vlc once

2011-12-21 Thread Maarten Lankhorst
Hey Christian, On 12/21/2011 07:25 PM, Christian König wrote: > Hi guys, > > On 21.12.2011 17:27, Maarten Lankhorst wrote: >> Also a remark about your patch, wish you had inlined it.. > Sorry, not at home right now and I can't get this Thunderbird here to inline

Re: [Mesa-dev] [PATCH 1/3] vl: Only initialize vlc once

2011-12-21 Thread Maarten Lankhorst
Also a remark about your patch, wish you had inlined it.. On 12/21/2011 04:41 PM, Christian König wrote: > On 20.12.2011 19:20, Maarten Lankhorst wrote: >> Hey Christian, >> >> On 12/20/2011 02:16 PM, Christian König wrote: >>> >>> Why do you want to cha

Re: [Mesa-dev] [PATCH 1/3] vl: Only initialize vlc once

2011-12-21 Thread Maarten Lankhorst
Hey Christian, On 12/21/2011 04:41 PM, Christian König wrote: > On 20.12.2011 19:20, Maarten Lankhorst wrote: >> Hey Christian, >> >> On 12/20/2011 02:16 PM, Christian König wrote: >>> >>> Why do you want to change that anyway? >>> >>> T

Re: [Mesa-dev] [PATCH 1/3] vl: Only initialize vlc once

2011-12-21 Thread Maarten Lankhorst
Hey Christian, On 12/20/2011 09:08 PM, Lucas Stach wrote: > Hi all! > Just jumping in with regard to the assert. > > Am Dienstag, den 20.12.2011, 19:20 +0100 schrieb Maarten Lankhorst: > [snip] >>>> return vlc->buffer>> (64 - num_bits); >>>&

[Mesa-dev] [PATCH] egl_dri2/x11: Fix build failure for XCB_DRI2_MINOR_VERSION < 3

2011-12-21 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- src/egl/drivers/dri2/platform_x11.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c index a00e3fe..6ca7838 100644 --- a/src/egl/drivers/dri2/platform_x11.c

Re: [Mesa-dev] [PATCH 1/3] vl: Only initialize vlc once

2011-12-20 Thread Maarten Lankhorst
Hey Christian, On 12/20/2011 02:16 PM, Christian König wrote: > On 20.12.2011 12:43, Maarten Lankhorst wrote: >> And add more sanity checks to stream. This shouldn't break things beyond >> those that aren't broken already. >> >> Signed-off-by: Maarten Lankho

[Mesa-dev] [PATCH 3/3] vl: And remove remaining unnecessary members

2011-12-20 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- begin_frame and end_frame are implied for bitstream acceleration, and a frame can be explicitly ended with the flush call, so there's no need for the extra calls. Only reason patch is big is because I unified set_picture_parameters and various calls

[Mesa-dev] [PATCH 2/3] vl: Remove decode buffers

2011-12-20 Thread Maarten Lankhorst
It's something for vl_mpeg12_bitstream internally, so treat it as such. Signed-off-by: Maarten Lankhorst --- v1: Split up from previous patch and with performance restored.. src/gallium/auxiliary/vl/vl_decoder.c | 13 src/gallium/auxiliary/vl/vl_deco

[Mesa-dev] [PATCH 1/3] vl: Only initialize vlc once

2011-12-20 Thread Maarten Lankhorst
And add more sanity checks to stream. This shouldn't break things beyond those that aren't broken already. Signed-off-by: Maarten Lankhorst --- And yes Andy, I mean that I haven't found a good video yet to fix the playback parts that are still broken.. src/galli

[Mesa-dev] [PATCH] vl: Remove unused declaration

2011-12-20 Thread Maarten Lankhorst
csc is not used for rgba and gives a warning. Signed-off-by: Maarten Lankhorst --- src/gallium/auxiliary/vl/vl_compositor.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index

[Mesa-dev] [PATCH] xvmc: Remove unused variable

2011-12-20 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- src/gallium/state_trackers/xorg/xvmc/attributes.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_trackers/xorg/xvmc/attributes.c b/src/gallium/state_trackers/xorg/xvmc/attributes.c index b115d52..d40a7b1

Re: [Mesa-dev] [PATCH 5/6] vl: Remove most members of pipe_video_decoder

2011-12-19 Thread Maarten Lankhorst
On 12/19/2011 11:46 PM, Andy Furniss wrote: > Maarten Lankhorst wrote: >> Hey Andy, >> >> On 12/19/2011 10:17 PM, Andy Furniss wrote: >>> Andy Furniss wrote: >>> >>>> I compiled with -O0 but the backtraces are different - maybe there is >>&

Re: [Mesa-dev] [PATCH 5/6] vl: Remove most members of pipe_video_decoder

2011-12-19 Thread Maarten Lankhorst
Hey Andy, On 12/19/2011 10:17 PM, Andy Furniss wrote: > Andy Furniss wrote: > >> I compiled with -O0 but the backtraces are different - maybe there is >> some randomness. > > Remembered to attach them this time :-) Thanks, but nothing seems to be obviously wrong there. I don't suppose you could f

[Mesa-dev] [PATCH] vl: Use pipe clear_render_target instead of util_clear_render_target

2011-12-19 Thread Maarten Lankhorst
Mapping to software and uploading again clearing is killing performance. Signed-off-by: Maarten Lankhorst --- src/gallium/auxiliary/vl/vl_compositor.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl

[Mesa-dev] [PATCH 3/3] vdpau: Add background surface support

2011-12-19 Thread Maarten Lankhorst
Sets rgba layer as zeroth layer if a custom background_surface is specified. Signed-off-by: Maarten Lankhorst --- Can be applied without dependency on previous 2 patches in this series src/gallium/state_trackers/vdpau/mixer.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions

[Mesa-dev] [PATCH 2/3] vdpau: Add support for mixer attributes

2011-12-19 Thread Maarten Lankhorst
It's harmless to add support for attributes we don't support, since they require a feature enabled for them to affect something. As long as they aren't enabled, nothing happens. This enables support for custom colorspaces and background colors. Signed-off-by: Maarten Lankhorst -

[Mesa-dev] [PATCH 1/3] vdpau: Add support for parameters

2011-12-19 Thread Maarten Lankhorst
Currently only validating, since nothing else can be done with it yet Signed-off-by: Maarten Lankhorst --- src/gallium/state_trackers/vdpau/mixer.c | 95 +- src/gallium/state_trackers/vdpau/query.c | 41 +- src/gallium/state_trackers/vdpau

[Mesa-dev] [PATCH] nouveau: Fix bugs in nouveau_video_buffer

2011-12-19 Thread Maarten Lankhorst
Double free and array overflow, even if only 2 members are used the last one needs to be set to NULL explicitly. Signed-off-by: Maarten Lankhorst base); - FREE(buffer); return NULL; } diff --git a/src/gallium/drivers/nouveau/nouveau_video.h b/src/gallium/drivers/nouveau/nouveau_video.h

Re: [Mesa-dev] [PATCH 5/6] vl: Remove most members of pipe_video_decoder

2011-12-18 Thread Maarten Lankhorst
Hey Andy, 2011/12/19 Andy Furniss : > Maarten Lankhorst wrote: >> >> Hey Andy, >> >> On 12/07/2011 05:48 PM, Andy Furniss wrote: >>> >>> Maarten Lankhorst wrote: >>> >>>> Hm, could you test with some added sanity checks? &g

Re: [Mesa-dev] [PATCH 2/6 v3] g3dvl: Get rid of video_buffer.sampler_view_components

2011-12-08 Thread Maarten Lankhorst
Hey Andy, On 12/08/2011 01:24 PM, Andy Furniss wrote: > Maarten Lankhorst wrote: >> No point in having it when just having sampler_view_planes is good enough. >> >> Signed-off-by: Maarten Lankhorst >> >> --- >> Changes since v2: >> - fixed borked

  1   2   >