Re: [Mesa-dev] [PATCH 9/9] vl/video_buffer: add YUYV and UYVY support

2012-03-05 Thread Christian König
On 04.03.2012 14:59, Andy Furniss wrote: Christian König wrote: This gets xine working with VDPAU. Didn't for me but my xine may be borked :-( But then YUY2 with mplayer is also failing - vl/vl_video_buffer.c:451:vl_video_buffer_create_ex: Assertion `tmpl-chroma_format ==

[Mesa-dev] [PATCH] r600g: don't enable tiling for STAGING and STREAM usage cases

2012-03-05 Thread Marek Olšák
This is a follow-up to my series. Cc: Christian König deathsim...@vodafone.de --- src/gallium/drivers/r600/r600_texture.c | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index

Re: [Mesa-dev] [PATCH] r600g: don't enable tiling for STAGING and STREAM usage cases

2012-03-05 Thread Christian König
On 05.03.2012 14:35, Marek Olšák wrote: This is a follow-up to my series. Cc: Christian Königdeathsim...@vodafone.de --- src/gallium/drivers/r600/r600_texture.c | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/r600/r600_texture.c

Re: [Mesa-dev] [PATCH 9/9] vl/video_buffer: add YUYV and UYVY support

2012-03-05 Thread Andy Furniss
Christian König wrote: That assertion is indeed incorrect now, but the problem lies even deeper. Neither our MPEG2 decoder nor xines software decoder can handle 4:2:2 streams, so I couldn't find a way to test that probably. Xine is just checking for YUY2 support before using VDPAU in any way,

Re: [Mesa-dev] [PATCH] Use -no-undefined libtool flag in egl/main/Makefile.am

2012-03-05 Thread Kenneth Graunke
On 03/04/2012 08:17 AM, Jon TURNEY wrote: Use -no-undefined to assure libtool that the library has no unresolved symbols at link time, so that libtool will build a shared library on platforms require that all symbols are resolved when the library is linked. If I had a dollar for every time I

[Mesa-dev] [PATCH] st/xa: Link with -Wl,-r instead of -r.

2012-03-05 Thread Johannes Obermayr
This is required to link with clang: /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 00400160. --- src/gallium/state_trackers/xa/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/state_trackers/xa/Makefile

[Mesa-dev] [PATCH] tgsi: Fix conflict with fortify printf redirect in glibc.

2012-03-05 Thread Johannes Obermayr
Fixes clang error: tgsi/tgsi_dump.c:72:12: error: no member named '__printf_chk' in 'struct dump_ctx' ctx-printf( ctx, %u, e ); ~~~ ^ /usr/include/bits/stdio2.h:109:3: note: expanded from macro 'printf' __printf_chk (__USE_FORTIFY_LEVEL - 1, __VA_ARGS__) ^

Re: [Mesa-dev] [PATCH 3/4] configure: Fix egl compilation without x11 headers

2012-03-05 Thread Benjamin Franzke
2012/3/1 Chad Versace chad.vers...@linux.intel.com: On 03/01/2012 11:39 AM, Benjamin Franzke wrote: 2012/3/1 Chad Versace chad.vers...@linux.intel.com: On 02/29/2012 07:36 AM, Benjamin Franzke wrote: We dont want eglplatform.h to typedef egl native types to x11 types, when x11 headers are not

Re: [Mesa-dev] [PATCH] mesa: Fix valid texture target test in _mesa_GetTexLevelParameteriv()

2012-03-05 Thread Brian Paul
On 03/02/2012 04:03 PM, Anuj Phogat wrote: _mesa_max_texture_levels() is also used to test valid texture target in _mesa_GetTexLevelParameteriv(). GL_TEXTURE_CUBE_MAP is not allowed as texture target in glGetTexLevelParameter(). So, this should throw GL_INVALID_ENUM error. Few other functions

Re: [Mesa-dev] [PATCH] tgsi: Fix conflict with fortify printf redirect in glibc.

2012-03-05 Thread Brian Paul
On 03/05/2012 11:37 AM, Johannes Obermayr wrote: Fixes clang error: tgsi/tgsi_dump.c:72:12: error: no member named '__printf_chk' in 'struct dump_ctx' ctx-printf( ctx, %u, e ); ~~~ ^ /usr/include/bits/stdio2.h:109:3: note: expanded from macro 'printf'

Re: [Mesa-dev] [PATCH] st/xa: Link with -Wl,-r instead of -r.

2012-03-05 Thread Jakob Bornecrantz
- Ursprungligt meddelande - This is required to link with clang: /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 00400160. --- src/gallium/state_trackers/xa/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [Mesa-dev] windows build experience

2012-03-05 Thread Brian Paul
On 03/04/2012 10:54 PM, john grant wrote: Hello, I wanted to use Mesa on Windows so that I could spend a little less time at the office. I do not have the hardware at home for the GL extensions I want to work with. After several package installations and adjustments to my system PATH to

Re: [Mesa-dev] [PATCH 1/3] draw/llvm: fix clipvertex setting up clipmask.

2012-03-05 Thread Brian Paul
On 03/03/2012 10:55 AM, Dave Airlie wrote: From: Dave Airlieairl...@redhat.com We incorrectly setup clipmask for gl_ClipVertex, this fixes the clipmask setup. Signed-off-by: Dave Airlieairl...@redhat.com --- src/gallium/auxiliary/draw/draw_llvm.c | 36 +++ 1

Re: [Mesa-dev] [PATCH 2/3] draw/llvm: fix storing of clipvertex and positions into pre_clip_pos

2012-03-05 Thread Brian Paul
On 03/03/2012 10:55 AM, Dave Airlie wrote: From: Dave Airlieairl...@redhat.com This fixes the rest of the piglit clipvertex tests. Signed-off-by: Dave Airlieairl...@redhat.com --- src/gallium/auxiliary/draw/draw_llvm.c | 16 +--- 1 files changed, 9 insertions(+), 7

Re: [Mesa-dev] [PATCH 3/3] draw/llvm: add clip distance support

2012-03-05 Thread Brian Paul
On 03/03/2012 10:55 AM, Dave Airlie wrote: From: Dave Airlieairl...@redhat.com This add clipdistance support like the non-llvm draw paths, if we have a clip distance we compare with it instead of doing the dot4. We also have to put the have_clipvertex bit into the emitted vertex header. Fixes

Re: [Mesa-dev] [PATCH] gallium: add llvm-related TODOs.

2012-03-05 Thread Brian Paul
On 03/04/2012 06:57 AM, Dave Airlie wrote: From: Dave Airlieairl...@redhat.com This is just a simple text file containing a list of goals for gallivm/llvmpipe and some info on what is required to get there along with some info on who is looking at things. Signed-off-by: Dave

Re: [Mesa-dev] [PATCH 1/9] st/vdpau: implement support for extra mixer layers

2012-03-05 Thread Emil Velikov
On Sun, 04 Mar 2012 11:52:36 -, Christian König deathsim...@vodafone.de wrote: Signed-off-by: Christian König deathsim...@vodafone.de --- src/gallium/state_trackers/vdpau/mixer.c | 27 +-- 1 files changed, 21 insertions(+), 6 deletions(-) Hello Christian

Re: [Mesa-dev] [PATCH] svga: Check vs and fs pointer when updating states.

2012-03-05 Thread Brian Paul
On 03/03/2012 04:17 AM, Vic Lee wrote: This patch fix segfault if an application clears a render target before setting any vertex or fragment shaders, which is a legal situation. I can't seem to trigger this problem with a test program. Can you post a test case? The first part of your

Re: [Mesa-dev] [PATCH] mesa: Fix an issue with texture border in strip_texture_border()

2012-03-05 Thread Brian Paul
On 03/01/2012 03:37 PM, Anuj Phogat wrote: Border only applies to the width for a 1D texture array and for 2D texture array it applies to the width and height but not to the depth. This was not handled correctly in strip_texture_border(). v2: height is also affected by border if target is

Re: [Mesa-dev] [PATCH 3/4] configure: Fix egl compilation without x11 headers

2012-03-05 Thread Chad Versace
On 03/05/2012 12:00 PM, Benjamin Franzke wrote: 2012/3/1 Chad Versace chad.vers...@linux.intel.com: On 03/01/2012 11:39 AM, Benjamin Franzke wrote: 2012/3/1 Chad Versace chad.vers...@linux.intel.com: On 02/29/2012 07:36 AM, Benjamin Franzke wrote: We dont want eglplatform.h to typedef egl

[Mesa-dev] [PATCH 3/3] glx: Hook up the unit tests again using the internal gtest.

2012-03-05 Thread Eric Anholt
--- configure.ac | 14 +- src/glx/.gitignore|1 + src/glx/Makefile.am |9 ++--- tests/glx/Makefile.am |8 +--- 4 files changed, 13 insertions(+), 19 deletions(-) diff --git a/configure.ac b/configure.ac index ce48c81..0cdd17d 100644 ---

[Mesa-dev] [PATCH 2/3] gtest: Build as a convenience library.

2012-03-05 Thread Eric Anholt
--- configure.ac |1 + src/gtest/.gitignore |5 + src/gtest/Makefile.am | 38 ++ 3 files changed, 44 insertions(+), 0 deletions(-) create mode 100644 src/gtest/.gitignore create mode 100644 src/gtest/Makefile.am diff --git

Re: [Mesa-dev] [PATCH 1/6] glx: Convert to automake.

2012-03-05 Thread Eric Anholt
On Thu, 1 Mar 2012 19:18:50 +0100, Marek Olšák mar...@gmail.com wrote: On Thu, Mar 1, 2012 at 5:28 PM, Eric Anholt e...@anholt.net wrote: On Thu, 1 Mar 2012 16:50:40 +0100, Marek Olšák mar...@gmail.com wrote: Hi Eric, this commit breaks StarCraft II running on Wine traced by apitrace on

Re: [Mesa-dev] Mesa as part of OpenGL-on-OpenGL ES 2.0 (/WebGL)?

2012-03-05 Thread Eric Anholt
On Sat, 3 Mar 2012 13:21:08 -0800, Alon Zakai alonza...@gmail.com wrote: Hi everyone, In the project I work on (Emscripten, an open source C/C++ to JavaScript compiler that utilizes LLVM), we want to be able to compile OpenGL games from desktop so that they work on WebGL on the web. The

Re: [Mesa-dev] Mesa as part of OpenGL-on-OpenGL ES 2.0 (/WebGL)?

2012-03-05 Thread Benoit Jacob
- Original Message - On Sat, 3 Mar 2012 13:21:08 -0800, Alon Zakai alonza...@gmail.com wrote: Hi everyone, In the project I work on (Emscripten, an open source C/C++ to JavaScript compiler that utilizes LLVM), we want to be able to compile OpenGL games from desktop so that

Re: [Mesa-dev] [PATCH] mesa: handle array textures in strip_texture_border()

2012-03-05 Thread Anuj Phogat
On Wed 29 Feb 2012 07:36:21 PM PST, Brian Paul wrote: If the texture is a 1D array, don't remove the border pixel from the height. Similarly for 2D array textures and the depth direction. Simplify the function by assuming the border is always one pixel. --- src/mesa/main/teximage.c | 37

[Mesa-dev] [PATCH] gallivm: Pass in a MCRegisterInfo to MCInstPrinter on llvm-3.1.

2012-03-05 Thread Vinson Lee
llvm-3.1svn r152043 changes createMCInstPrinter to take an additional MCRegisterInfo argument. Signed-off-by: Vinson Lee v...@freedesktop.org --- src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git

[Mesa-dev] [PATCH] i915: move the FALLBACK_DRAW_OFFSET check outside the drawing rect check

2012-03-05 Thread Yuanhan Liu
We have to do fallback when the 'Clipped Drawing Rectangle X/Y Max' exceed the hardware's limit no matter the drawing rectangle offset changed or not. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46665 NOTE: This is a candidate for stable release branches. Signed-off-by: Yuanhan Liu