[Mesa-dev] [PATCH 8/8] android: egl: add support for software rasterizer

2017-01-06 Thread Wu Zhen
From: WuZhen this commit enable software rendering on android with llvmpipe. the system boots fine antutu 3D benchmark is passing this commit incorporates some further work done by: Paulo Sergio Travaglia Mauro Rossi Change-Id: Ibe0114333a278fd5e64632ac8c17cffde7c9b359 Reviewed-by: Mauro Ross

[Mesa-dev] [PATCH 6/8] drisw: support fence externsion and image extension

2017-01-06 Thread Wu Zhen
From: WuZhen adds a new type of winsys handle type that allows passing a pointer sized handle to winsys Change-Id: I3bf1732619206d2bc50f6aca6b27258bb026a212 Reviewed-by: Mauro Rossi Reviewed-by: Chih-Wei Huang --- include/GL/internal/dri_interface.h| 14 ++- src/gallium/includ

[Mesa-dev] [PATCH 7/8] android: support creating texture from gralloc buffer

2017-01-06 Thread Wu Zhen
From: WuZhen Change-Id: Ifabf40fe94007f73171a89b23545002707817053 Reviewed-by: Mauro Rossi Reviewed-by: Chih-Wei Huang --- src/gallium/targets/dri/Android.mk| 1 + src/gallium/winsys/sw/dri/dri_sw_winsys.c | 65 +++ 2 files changed, 66 insertions(+) diff -

[Mesa-dev] [PATCH 5/8] android: add Android.mk for llvmpipe

2017-01-06 Thread Wu Zhen
From: WuZhen rename old swrast to softpipe, add a new driver llvmpipe Change-Id: Ia8bc1005ad6846df78bc1f6d0a4196310a049aca Reviewed-by: Mauro Rossi Reviewed-by: Chih-Wei Huang --- Android.common.mk| 2 +- Android.mk | 6 ++--- sr

[Mesa-dev] [PATCH 4/8] android: fix llvmpipe build

2017-01-06 Thread Wu Zhen
From: WuZhen since (cf410574 gallivm: Make MCJIT a runtime optioni.), llvmpipe assume MCJIT is available on x86(_64). this is not the case for android prior to M. Change-Id: I6c82915b043f65e15ffc73aecff6779a1d02f1f1 Reviewed-by: Mauro Rossi Reviewed-by: Chih-Wei Huang --- Android.common.mk

[Mesa-dev] [PATCH 3/8] android: remove static linking LLVM parts.

2017-01-06 Thread Wu Zhen
From: WuZhen linking against llvm with both static and shared lib will cause problems. requires a companion changes in android llvm Change-Id: I1d459135f7e5e242164abe38cd15f0a49448e495 Reviewed-by: Mauro Rossi Reviewed-by: Chih-Wei Huang --- src/gallium/targets/dri/Android.mk | 7 +-- 1 f

[Mesa-dev] [PATCH 2/8] android: fix building on lollipop

2017-01-06 Thread Wu Zhen
From: WuZhen this commit fixes mesa building on lollipop, however, llvm on lollipop is too old to build amdgpu based on initial work by Mauro Rossi Change-Id: I98d646f9e1c61fe2754479382885718386a8bbb7 Reviewed-by: Mauro Rossi Reviewed-by: Chih-Wei Huang --- Android.common.mk

[Mesa-dev] [PATCH 1/8] android: print debug info to logcat

2017-01-06 Thread Wu Zhen
From: WuZhen Redirect logs printed to stderr to logcat. Change-Id: I58e3966a608af361b86c54b4c95a92561b711968 Signed-off-by: Chih-Wei Huang Reviewed-by: Mauro Rossi Reviewed-by: Chih-Wei Huang --- src/gallium/auxiliary/os/os_misc.c | 12 ++-- src/gallium/auxiliary/util/u_debug.c |

[Mesa-dev] [PATCH 0/8] enable llvmpipe on android

2017-01-06 Thread Wu Zhen
This series of patches enables llvmpipe on anroid-x86 as a fallback renderer, llvmpipe has been enabled and tested on Remix OS(a variant of Android-x86) for about a year. WuZhen (8): android: print debug info to logcat android: fix building on lollipop android: remove static linking LLVM par