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
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.
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 +++
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(-)
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
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
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
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
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
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
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 +
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
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
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
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
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
---
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_
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/
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
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
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
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
(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
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
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
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
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
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
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/
-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
-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
-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
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
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
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
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
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
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
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
---
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
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
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
https://bugs.freedesktop.org/show_bug.cgi?id=40145
Benjamin Franzke changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
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
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
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
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
>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/
>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 +++
>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 +++
>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
>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
>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
>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
>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
>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
>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
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
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 +
>>
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
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
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
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
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
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
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
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
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
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
69 matches
Mail list logo