[Mesa-dev] [PATCH 18/18] android: make libGLES_mesa real

2011-08-16 Thread Chia-I Wu
libGLES_mesa with swrast should link in these libraries libmesa_egl libmesa_st_egl libmesa_st_mesa libmesa_glsl libmesa_glsl_utils libmesa_pipe_softpipe libmesa_winsys_sw_android libmesa_gallium --- Android.mk| 11 ++ src/gallium/targets/egl-s

[Mesa-dev] [PATCH 17/18] android: build shared glapi

2011-08-16 Thread Chia-I Wu
This builds the shared library libglapi from shared glapi. --- Android.mk |1 + src/mapi/Android.mk | 61 +++ 2 files changed, 62 insertions(+), 0 deletions(-) create mode 100644 src/mapi/Android.mk diff --git a/Android.mk b/Android.

[Mesa-dev] [PATCH 16/18] android: build glsl

2011-08-16 Thread Chia-I Wu
This builds the static library libmesa_glsl and executable glsl_compiler from glsl. glsl_compiler is only installed for engineering build. --- Android.mk |1 + src/glsl/Android.gen.mk | 73 + src/glsl/Android.mk | 161 +++

[Mesa-dev] [PATCH 15/18] android: build core mesa

2011-08-16 Thread Chia-I Wu
This builds the static library libmesa_st_mesa from core mesa. --- Android.mk |1 + src/mesa/Android.gen.mk | 106 +++ src/mesa/Android.mk | 76 + 3 files changed, 183 insertions(+), 0 deletions(-)

[Mesa-dev] [PATCH 14/18] android: build core EGL

2011-08-16 Thread Chia-I Wu
This builds the static library libmesa_egl from core EGL. --- Android.mk |1 + src/egl/Android.mk | 66 2 files changed, 67 insertions(+), 0 deletions(-) create mode 100644 src/egl/Android.mk diff --git a/Android.mk b/Android.mk

[Mesa-dev] [PATCH 13/18] android: build softpipe

2011-08-16 Thread Chia-I Wu
This builds the static library libmesa_pipe_softpipe from softpipe. --- src/gallium/Android.mk |2 +- src/gallium/drivers/softpipe/Android.mk | 68 +++ 2 files changed, 69 insertions(+), 1 deletions(-) create mode 100644 src/gallium/drivers/softp

[Mesa-dev] [PATCH 12/18] android: build android sw winsys

2011-08-16 Thread Chia-I Wu
This builds the static library libmesa_winsys_sw_android from winsys/sw. --- src/gallium/Android.mk |2 + src/gallium/winsys/sw/android/Android.mk | 35 ++ 2 files changed, 37 insertions(+), 0 deletions(-) create mode 100644 src/gallium/winsys/s

[Mesa-dev] [PATCH 11/18] android: build st/egl with android backend

2011-08-16 Thread Chia-I Wu
This builds the static library libmesa_st_egl from st/egl. --- src/gallium/Android.mk|2 +- src/gallium/state_trackers/egl/Android.mk | 57 + 2 files changed, 58 insertions(+), 1 deletions(-) create mode 100644 src/gallium/state_trackers/egl/A

[Mesa-dev] [PATCH 10/18] android: build gallium auxiliaries

2011-08-16 Thread Chia-I Wu
This builds the static library libmesa_gallium from gallium auxiliaries. --- src/gallium/Android.mk |4 + src/gallium/auxiliary/Android.mk | 253 ++ 2 files changed, 257 insertions(+), 0 deletions(-) create mode 100644 src/gallium/auxiliary/Andro

[Mesa-dev] [PATCH 09/18] android: build libGLES_mesa

2011-08-16 Thread Chia-I Wu
This is the first step to integrate Mesa into Android(-x86) build system. You can git clone mesa under the external/ directory of Android source tree and build Android with $ make BOARD_GPU_DRIVERS=swrast It will build libGLES_mesa that will be loaded by Android runtime. libGLES_mesa is still

[Mesa-dev] [PATCH 08/18] st/egl: add android backend

2011-08-16 Thread Chia-I Wu
From: Chia-I Wu This backend supports _EGL_PLATFORM_ANDROID with both HW and SW rendering. --- .../state_trackers/egl/android/native_android.cpp | 722 src/gallium/state_trackers/egl/common/egl_g3d.c| 11 + .../state_trackers/egl/common/egl_g3d_image.c | 25 +

[Mesa-dev] [PATCH 07/18] egl: add Android-specific extensions

2011-08-16 Thread Chia-I Wu
Add EGL_ANDROID_image_native_buffer and EGL_ANDROID_swap_rectangle. There is no spec for them though. --- include/EGL/eglext.h | 14 ++ src/egl/main/eglapi.c | 25 + src/egl/main/eglapi.h |8 src/egl/main/egldisplay.h |3 +++ sr

[Mesa-dev] [PATCH 06/18] egl: add _EGL_PLATFORM_ANDROID

2011-08-16 Thread Chia-I Wu
From: Chia-I Wu This is Android Gingerbread platform. --- include/EGL/eglplatform.h |9 + src/egl/main/egldisplay.c |3 ++- src/egl/main/egldisplay.h |1 + 3 files changed, 12 insertions(+), 1 deletions(-) diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h in

[Mesa-dev] [PATCH 05/18] mesa: android has no log2f nor ffs

2011-08-16 Thread Chia-I Wu
Define log2f(v) to be log(v) / M_LN2 and ffs to __builtin_ffs. --- src/mesa/main/imports.h |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 3fa1db0..e404975 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/ma

[Mesa-dev] [PATCH 04/18] ralloc: SIZE_MAX is missing on Android

2011-08-16 Thread Chia-I Wu
Define SIZE_MAX to UINT32_MAX for it. --- src/glsl/ralloc.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/glsl/ralloc.c b/src/glsl/ralloc.c index 6a5eac6..757ab5c 100644 --- a/src/glsl/ralloc.c +++ b/src/glsl/ralloc.c @@ -46,6 +46,10 @@ #endif #endif +#ifdef A

[Mesa-dev] [PATCH 03/18] gallium: add PIPE_OS_ANDROID support

2011-08-16 Thread Chia-I Wu
Android uses Linux kernel and its own C runtime. It resembles PIPE_OS_LINUX a lot with some minor exceptions. --- src/gallium/auxiliary/os/os_thread.h |2 +- src/gallium/auxiliary/util/u_math.h | 12 +++- src/gallium/include/pipe/p_compiler.h |2 ++ src/gallium/include/pipe/p

[Mesa-dev] [PATCH 02/18] glsl: remove an unnecessary header include

2011-08-16 Thread Chia-I Wu
--- src/glsl/main.cpp |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/glsl/main.cpp b/src/glsl/main.cpp index 9b8a507..0192137 100644 --- a/src/glsl/main.cpp +++ b/src/glsl/main.cpp @@ -24,7 +24,6 @@ #include "ast.h" #include "glsl_parser_extras.h" -#include "glsl_

[Mesa-dev] [PATCH 01/18] mesa: fix !FEATURE_GL build

2011-08-16 Thread Chia-I Wu
Move vbo_exec_FlushVertices_internal out of FEATURE_beginend. --- src/mesa/vbo/vbo_exec_api.c | 36 ++-- 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/mesa/vbo/vbo_exec_api.c b/src/mesa/vbo/vbo_exec_api.c index 2b8d38e..af66dbd 100644 --- a/

[Mesa-dev] [RFC-PATCH 00/18] add Android support

2011-08-16 Thread Chia-I Wu
Hi list, This patch series adds Android Gingerbread support to Mesa. To begin with, it only supports software rendering with softpipe. I've tested it with VirtualBox. There are pending series that enable all other gallium pipe drivers and the classic i915/i965. I would like to see how this ser

Re: [Mesa-dev] [PATCH 1/3] mesa: Add toplevel Android.mk

2011-08-16 Thread Chia-I Wu
On Wed, Aug 17, 2011 at 9:33 AM, Chad Versace wrote: > (I accidentally hit the send button mid-sentence on the last email. > Please ignore it). > > On Tue, Aug 16, 2011 at 16:38, Chia-I Wu wrote: >> On Wed, Aug 17, 2011 at 5:59 AM, Chad Versace wrote: >>> -BEGIN PGP SIGNED MESSAGE- >>> H

Re: [Mesa-dev] [PATCH 3/3] glapi: Build libmesa_glapi on Android

2011-08-16 Thread Chia-I Wu
On Tue, Aug 16, 2011 at 2:14 PM, Chad Versace wrote: > The libmesa_glapi.so on Android is analogous to the libglapi.so on Linux. > libmesa_glapi uses the shared glapi. > The libname is libmesa_glapi, rather than libglapi, due to conventions of > the Android build system. Names of intermediate libr

[Mesa-dev] [Bug 40145] gbm.h header not found when building egldisplay.c

2011-08-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40145 --- Comment #3 from Dave Witbrodt 2011-08-16 18:42:45 PDT --- > --- Comment #2 from Benjamin Franzke >2011-08-16 10:33:16 PDT --- > Thanks, fixed with commit 61d2dfbe488cf5de5881c20fe1ead97f2ab5dabb. Works good. Thanks! DW -- Configu

Re: [Mesa-dev] [PATCH 1/3] mesa: Add toplevel Android.mk

2011-08-16 Thread Chad Versace
(I accidentally hit the send button mid-sentence on the last email. Please ignore it). On Tue, Aug 16, 2011 at 16:38, Chia-I Wu wrote: > On Wed, Aug 17, 2011 at 5:59 AM, Chad Versace wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 08/16/2011 12:30 AM, Chia-I Wu wrote: >>> Hi

Re: [Mesa-dev] MapTextureImage patch series for review

2011-08-16 Thread Brian Paul
On Tue, Aug 16, 2011 at 6:53 PM, Brian Paul wrote: > On 08/15/2011 12:53 PM, Eric Anholt wrote: >> >> Here's my "mti-tested" branch of the map-texture-image-v4 work.  It's >> not regressing on intel or softpipe, and in fact fixes a couple of >> tests now on those.  It is not as complete a rework a

Re: [Mesa-dev] MapTextureImage patch series for review

2011-08-16 Thread Brian Paul
On 08/15/2011 12:53 PM, Eric Anholt wrote: Here's my "mti-tested" branch of the map-texture-image-v4 work. It's not regressing on intel or softpipe, and in fact fixes a couple of tests now on those. It is not as complete a rework as map-texture-image-v4, but it's quite a bit of the change and i

Re: [Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work

2011-08-16 Thread Brian Paul
On Tue, Aug 16, 2011 at 8:24 AM, Lauri Kasanen wrote: > Hi list > > This patchset adds post-processing to all Gallium drivers. It's also posted > to the gsoc branch at http://cgit.freedesktop.org/~cand/mesa/log/?h=gsoc if > you prefer cgit. > > The included filters are three color ones (easy tes

Re: [Mesa-dev] [PATCH] glapi: update .gitignore for generated ES dispatch headers

2011-08-16 Thread Chia-I Wu
On Wed, Aug 17, 2011 at 1:33 AM, Paul Berry wrote: > Commit 6eff33dc (glapi: generate ES dispatch headers from core mesa) > replaced the autogenerated files > src/mapi/es1api/main/{dispatch,remap_helper}.h with new autogenerated > files src/mesa/main/api_exec_es{1,2}_{dispatch,remap_helper}.h.  Th

Re: [Mesa-dev] [PATCH 1/3] mesa: Add toplevel Android.mk

2011-08-16 Thread Chia-I Wu
On Wed, Aug 17, 2011 at 5:59 AM, Chad Versace wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 08/16/2011 12:30 AM, Chia-I Wu wrote: >> Hi Chad, >> >> On Tue, Aug 16, 2011 at 2:14 PM, Chad Versace >> wrote: >>> This is the first step in porting libGLES* and libEGL to Android. >> I

[Mesa-dev] [PATCH] st/mesa: fix incorrect loop over instruction src regs

2011-08-16 Thread Brian Paul
The array of src regs is of size 3, not 4. --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index aef23e7..7b90c81 100644 --- a/src/mesa/

Re: [Mesa-dev] [PATCH 1/3] mesa: Add toplevel Android.mk

2011-08-16 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/16/2011 12:30 AM, Chia-I Wu wrote: > Hi Chad, > > On Tue, Aug 16, 2011 at 2:14 PM, Chad Versace > wrote: >> This is the first step in porting libGLES* and libEGL to Android. > I also has a branch[1] that is ready for merge IMHO and is known to

Re: [Mesa-dev] [PATCH] i965/fs: Fix 32-bit integer multiplication.

2011-08-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/16/2011 11:55 AM, Kenneth Graunke wrote: > On 08/15/2011 10:57 PM, Eric Anholt wrote: >> The MUL opcode does a 16bit * 32bit multiply, and we need to do the >> MACH to get the top 16bit * 32bit added in. >> >> Fixes fs-op-mult-int-*, fs-op-mult-i

Re: [Mesa-dev] [PATCH] Implementing varying packing

2011-08-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/16/2011 08:28 AM, Dan McCabe wrote: > On 08/16/2011 07:06 AM, vlj wrote: >> From: Vincent Lejeune >> >> This optimisation pass will look for and pack together float, >> vec2, vec3 varyings in fragment shaders and transform the vertex >> shader ac

[Mesa-dev] [PATCH] docs: Document coding style conventions

2011-08-16 Thread Paul Berry
This patch documents some Mesa coding style conventions that came up during the discussion of commit 67b5a32 (Perform implicit type conversions on function call out parameters). --- docs/devinfo.html | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/do

Re: [Mesa-dev] [PATCH] mesa: Add partial constant propagation pass for Mesa IR

2011-08-16 Thread Eric Anholt
On Mon, 15 Aug 2011 16:27:49 -0700, "Ian Romanick" wrote: > From: Ian Romanick > > This cleans up some code generated by the IR-to-Mesa pass for i915. > In particular, some shaders involving arrays of constant matrices > result in really bad code. > > v2: Silence several warnings from merging t

Re: [Mesa-dev] [PATCH] i965/fs: Fix 32-bit integer multiplication.

2011-08-16 Thread Eric Anholt
On Tue, 16 Aug 2011 11:55:50 -0700, Kenneth Graunke wrote: > On 08/15/2011 10:57 PM, Eric Anholt wrote: > > The MUL opcode does a 16bit * 32bit multiply, and we need to do the > > MACH to get the top 16bit * 32bit added in. > > > > Fixes fs-op-mult-int-*, fs-op-mult-ivec* > > Sigh. You're righ

Re: [Mesa-dev] hardware xvmc video decoding with nouveau

2011-08-16 Thread Maarten Lankhorst
On 08/16/2011 02:10 PM, Christian König wrote: > Am Dienstag, den 16.08.2011, 01:15 -0400 schrieb Younes Manton: >> Anyway, here are some specific comments: >> >> + for (; num_macroblocks > 0; --num_macroblocks) { >> + mb->base.codec = PIPE_VIDEO_CODEC_MPEG12; >> + mb->macroblock_addres

Re: [Mesa-dev] [PATCH] i965/fs: Fix 32-bit integer multiplication.

2011-08-16 Thread Kenneth Graunke
On 08/15/2011 10:57 PM, Eric Anholt wrote: > The MUL opcode does a 16bit * 32bit multiply, and we need to do the > MACH to get the top 16bit * 32bit added in. > > Fixes fs-op-mult-int-*, fs-op-mult-ivec* Sigh. You're right, of course...this is straight out of the documentation (aside from droppi

Re: [Mesa-dev] [PATCH] softpipe: fix an obvious copy-paste error in get_query_result

2011-08-16 Thread Brian Paul
On 08/16/2011 11:42 AM, Marek Olšák wrote: --- src/gallium/drivers/softpipe/sp_query.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_query.c b/src/gallium/drivers/softpipe/sp_query.c index 4ae69c1..88f4257 100644 --- a/src/gallium/dr

Re: [Mesa-dev] r600g winsys backend rework

2011-08-16 Thread Marek Olšák
Hi guys, thanks for testing. I have rebased and merged the branch with master today. Marek ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] softpipe: fix an obvious copy-paste error in get_query_result

2011-08-16 Thread Marek Olšák
--- src/gallium/drivers/softpipe/sp_query.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_query.c b/src/gallium/drivers/softpipe/sp_query.c index 4ae69c1..88f4257 100644 --- a/src/gallium/drivers/softpipe/sp_query.c +++ b/src/gallium/dri

Re: [Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work

2011-08-16 Thread Lauri Kasanen
On Tue, 16 Aug 2011 12:48:17 -0400 Tom Stellard wrote: > On r300g, ROUND(A) can be lowered to: > > Fraction = FRC(A) > Low = A - Fraction > High = Low + 1 > Cond = Fraction - 0.5 > Rounded_Value = CMP(High, Low, Cond) > > -Tom Thanks for the info, that's better than my earlier floor(a+0.5). I

[Mesa-dev] [PATCH] glapi: update .gitignore for generated ES dispatch headers

2011-08-16 Thread Paul Berry
Commit 6eff33dc (glapi: generate ES dispatch headers from core mesa) replaced the autogenerated files src/mapi/es1api/main/{dispatch,remap_helper}.h with new autogenerated files src/mesa/main/api_exec_es{1,2}_{dispatch,remap_helper}.h. This patch updates the .gitignore files to properly ignore the

[Mesa-dev] [Bug 40145] gbm.h header not found when building egldisplay.c

2011-08-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40145 Benjamin Franzke changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work

2011-08-16 Thread Tom Stellard
On Tue, Aug 16, 2011 at 10:24 AM, Lauri Kasanen wrote: > Hi list > > This patchset adds post-processing to all Gallium drivers. It's also posted > to the gsoc branch at http://cgit.freedesktop.org/~cand/mesa/log/?h=gsoc if > you prefer cgit. > > The included filters are three color ones (easy te

[Mesa-dev] [Bug 40145] gbm.h header not found when building egldisplay.c

2011-08-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40145 --- Comment #1 from Dave Witbrodt 2011-08-16 08:54:45 PDT --- Created an attachment (id=50276) --> (https://bugs.freedesktop.org/attachment.cgi?id=50276) build log (gzipped) Build log failed to attach on first try (maybe too big), so trying ag

[Mesa-dev] [Bug 40145] New: gbm.h header not found when building egldisplay.c

2011-08-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40145 Summary: gbm.h header not found when building egldisplay.c Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium

Re: [Mesa-dev] [PATCH] Implementing varying packing

2011-08-16 Thread Dan McCabe
On 08/16/2011 07:06 AM, vlj wrote: From: Vincent Lejeune This optimisation pass will look for and pack together float, vec2, vec3 varyings in fragment shaders and transform the vertex shader accordingly. It might improve performance depending on the hardware. Do you have any quatitative data

[Mesa-dev] [PATCH 11/11] pp/main queue: Add the PP headers

2011-08-16 Thread Lauri Kasanen
>From 827d3cc4b6160f78316ba8243a5d2fc3beddc8d6 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Tue, 16 Aug 2011 17:10:53 +0300 Subject: [PATCH 11/11] pp/main queue: Add the PP headers Signed-off-by: Lauri Kasanen --- src/gallium/auxiliary/postprocess/filters.h | 56 + src/

[Mesa-dev] [PATCH 10/11] pp/main queue: Add pp_program.[ch]

2011-08-16 Thread Lauri Kasanen
>From 16020625c00233c31e86aac13f227f9acdf1e9f2 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Tue, 16 Aug 2011 17:10:31 +0300 Subject: [PATCH 10/11] pp/main queue: Add pp_program.[ch] Signed-off-by: Lauri Kasanen --- src/gallium/auxiliary/postprocess/pp_program.c | 128 +++

[Mesa-dev] [PATCH 09/11] pp/main queue: Add pp_init.c

2011-08-16 Thread Lauri Kasanen
>From 22ae45fb7aca16db90f1659cbfec6d0f24824b35 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Tue, 16 Aug 2011 17:10:13 +0300 Subject: [PATCH 09/11] pp/main queue: Add pp_init.c Signed-off-by: Lauri Kasanen --- src/gallium/auxiliary/postprocess/pp_init.c | 263 +++

[Mesa-dev] [PATCH 08/11] pp/main queue: Add pp_run.c

2011-08-16 Thread Lauri Kasanen
>From 84ab90087cdf898bd1512a527335914669b6adeb Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Tue, 16 Aug 2011 17:09:39 +0300 Subject: [PATCH 08/11] pp/main queue: Add pp_run.c Signed-off-by: Lauri Kasanen --- src/gallium/auxiliary/postprocess/pp_run.c | 153

[Mesa-dev] [PATCH 06/11] pp: Cel-shade filter

2011-08-16 Thread Lauri Kasanen
>From 06b64e3e441ddf4d1b00b7607b7e36a31f74a3c7 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Tue, 16 Aug 2011 16:11:03 +0300 Subject: [PATCH 06/11] pp: Cel-shade filter Signed-off-by: Lauri Kasanen --- src/gallium/auxiliary/postprocess/pp_celshade.c | 37 +++ src/gallium/auxilia

[Mesa-dev] [PATCH 05/11] pp: Color filters

2011-08-16 Thread Lauri Kasanen
>From d57a2574c58b6ec881be124569c733f8654f3887 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Tue, 16 Aug 2011 16:10:47 +0300 Subject: [PATCH 05/11] pp: Color filters Signed-off-by: Lauri Kasanen --- src/gallium/auxiliary/postprocess/pp_colors.c | 72 + src/galliu

[Mesa-dev] [PATCH 04/11] pp: Docs

2011-08-16 Thread Lauri Kasanen
>From 20b66c4068cb85a33194c4a93558127633e7f55c Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Tue, 16 Aug 2011 16:09:57 +0300 Subject: [PATCH 04/11] pp: Docs Signed-off-by: Lauri Kasanen --- src/gallium/auxiliary/postprocess/ADDING | 87 ++ 1 files changed, 87

[Mesa-dev] [PATCH 03/11] aux/Makefile: Build PP

2011-08-16 Thread Lauri Kasanen
>From 416af786d675594853436dc2dc4560e239cab7ec Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Tue, 16 Aug 2011 16:09:16 +0300 Subject: [PATCH 03/11] aux/Makefile: Build PP Signed-off-by: Lauri Kasanen --- src/gallium/auxiliary/Makefile |6 ++ 1 files changed, 6 insertions(+), 0 del

[Mesa-dev] [PATCH 02/11] st/dri: Bind the post-processing queue to dri

2011-08-16 Thread Lauri Kasanen
>From 62c519c1179f9c30d8675e6bdad66ca45c74f878 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Tue, 16 Aug 2011 16:07:59 +0300 Subject: [PATCH 02/11] st/dri: Bind the post-processing queue to dri Signed-off-by: Lauri Kasanen --- .../state_trackers/dri/common/dri_context.c| 24

[Mesa-dev] [PATCH 01/11] driconf: Add the PP descriptions

2011-08-16 Thread Lauri Kasanen
>From c2cdc65492e423317c49b43512599a350a64bccb Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Tue, 16 Aug 2011 16:06:13 +0300 Subject: [PATCH 01/11] driconf: Add the PP descriptions Signed-off-by: Lauri Kasanen --- src/mesa/drivers/dri/common/xmlpool/options.h | 60

[Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work

2011-08-16 Thread Lauri Kasanen
Hi list This patchset adds post-processing to all Gallium drivers. It's also posted to the gsoc branch at http://cgit.freedesktop.org/~cand/mesa/log/?h=gsoc if you prefer cgit. The included filters are three color ones (easy testing of chaining, should work on all drivers), two versions of MLA

Re: [Mesa-dev] hardware xvmc video decoding with nouveau

2011-08-16 Thread Younes Manton
2011/8/16 Christian König : > Am Dienstag, den 16.08.2011, 01:15 -0400 schrieb Younes Manton: >> Anyway, here are some specific comments: >> >> +   for (; num_macroblocks > 0; --num_macroblocks) { >> +      mb->base.codec = PIPE_VIDEO_CODEC_MPEG12; >> +      mb->macroblock_address = xvmc_mb->x + >>

[Mesa-dev] [PATCH] Implementing varying packing

2011-08-16 Thread vlj
From: Vincent Lejeune This optimisation pass will look for and pack together float, vec2, vec3 varyings in fragment shaders and transform the vertex shader accordingly. It might improve performance depending on the hardware. # Changes from first patch : # - Scons build file modified # - More cas

Re: [Mesa-dev] hardware xvmc video decoding with nouveau

2011-08-16 Thread Christian König
Am Dienstag, den 16.08.2011, 01:15 -0400 schrieb Younes Manton: > Anyway, here are some specific comments: > > + for (; num_macroblocks > 0; --num_macroblocks) { > + mb->base.codec = PIPE_VIDEO_CODEC_MPEG12; > + mb->macroblock_address = xvmc_mb->x + > context->width_in_macroblocks * xv

Re: [Mesa-dev] [PATCH] dri2: add code to flush function of DRI2_Flush extension

2011-08-16 Thread Alan Hourihane
On 08/16/11 10:26, Alan Hourihane wrote: > On 08/16/11 10:05, Michel Dänzer wrote: >> On Die, 2011-08-16 at 16:55 +0800, Cooper Yuan wrote: >>> We still call flush method of DRI2_Flush extension in other functions >>> of egl_dri2 driver. for example, dri2_copy_buffers(), because we >>> expect all t

Re: [Mesa-dev] [PATCH] dri2: add code to flush function of DRI2_Flush extension

2011-08-16 Thread Alan Hourihane
On 08/16/11 10:05, Michel Dänzer wrote: > On Die, 2011-08-16 at 16:55 +0800, Cooper Yuan wrote: >> We still call flush method of DRI2_Flush extension in other functions >> of egl_dri2 driver. for example, dri2_copy_buffers(), because we >> expect all the rendering to this drawable have been flushed

Re: [Mesa-dev] [PATCH] dri2: add code to flush function of DRI2_Flush extension

2011-08-16 Thread Michel Dänzer
On Die, 2011-08-16 at 16:55 +0800, Cooper Yuan wrote: > We still call flush method of DRI2_Flush extension in other functions > of egl_dri2 driver. for example, dri2_copy_buffers(), because we > expect all the rendering to this drawable have been flushed before > copying the buffers. > > > The co

Re: [Mesa-dev] [PATCH] dri2: add code to flush function of DRI2_Flush extension

2011-08-16 Thread Cooper Yuan
We still call flush method of DRI2_Flush extension in other functions of egl_dri2 driver. for example, dri2_copy_buffers(), because we expect all the rendering to this drawable have been flushed before copying the buffers. The code I added eventually invokes st->pipe->flush(), so I think it handle

[Mesa-dev] [PATCH] r600g: implement NV_primitive_restart functionality

2011-08-16 Thread Marek Olšák
Needed for GL3. I don't set PA_SU_SC_MODE_CNTL.MULTI_PRIM_IB_ENA. piglit/primitive-restart does pass though. Tested on RV730. --- src/gallium/drivers/r600/r600_pipe.c |2 +- src/gallium/drivers/r600/r600_state_common.c |4 2 files changed, 5 insertions(+), 1 deletions(-) dif

Re: [Mesa-dev] [PATCH] dri2: add code to flush function of DRI2_Flush extension

2011-08-16 Thread Chia-I Wu
2011/8/16 Cooper Yuan : > this DRI2_Flush extension is used by egl driver, but DRI2_Flush extension > doesn't implement dri2_flush_drawable() function. I do not recall what DRI2_Flush is for. It makes sense to simply call glFinish when eglWaitClient is called, if DRI2_Flush has different semantic

Re: [Mesa-dev] [PATCH] dri2: add code to flush function of DRI2_Flush extension

2011-08-16 Thread Cooper Yuan
this DRI2_Flush extension is used by egl driver, but DRI2_Flush extension doesn't implement dri2_flush_drawable() function. 2011/8/16 Michel Dänzer > On Mon, 2011-08-15 at 19:32 +0800, Cooper Yuan wrote: > > Hi All, please review this changelist that's going to enable > > eglWaitClient() which h

Re: [Mesa-dev] [PATCH 1/3] mesa: Add toplevel Android.mk

2011-08-16 Thread Chia-I Wu
Hi Chad, On Tue, Aug 16, 2011 at 2:14 PM, Chad Versace wrote: > This is the first step in porting libGLES* and libEGL to Android. I also has a branch[1] that is ready for merge IMHO and is known to work. I do not want to run into a hypothetical situation that we review and NAK each other. Shoul