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

2017-01-08 Thread Zhen Wu
Sorry, my bad, I'll post a new revision incorporating Rob's review comment 2017-01-09 7:07 GMT+08:00 Mauro Rossi : > 2017-01-06 18:35 GMT+01:00 Wu Zhen : > > From: WuZhen > > > > this commit fixes mesa building on lollipop, however, > > llvm on lollipop is too old to build amdgpu > > > > based o

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

2017-01-09 Thread Zhen Wu
Thanks for your review, Rob. Using kms-dri would mean writing a new gralloc to basically the same thing as gralloc.default and moving to grm_gralloc seems to be a bigger task meant for another day. But I agree we would want to avoid introducing dependency. Would extending drisw loader func and limi

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

2017-01-16 Thread Zhen Wu
bb0ebfd..3f0563afb6 100644 > > --- a/src/gallium/auxiliary/pipe-loader/Android.mk > > +++ b/src/gallium/auxiliary/pipe-loader/Android.mk > > @@ -37,7 +37,7 @@ LOCAL_SRC_FILES := $(COMMON_SOURCES) > > > > LOCAL_MODULE := libmesa_pipe_loader > > > > -ifneq ($(filter-

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

2017-01-16 Thread Zhen Wu
Thank you for your review. Emil. It sounds like renaming swrast to softpipe is not a good idea, Inspired by your second question, perhaps a new MESA_ENABLE_LLVMPIPE would allow us to maintain backward compatibility and keep the ability to switch between softpipe/llvmpipe. How does this sound? 201

Re: [Mesa-dev] [android-x86-devel] [RFC 0/7] android: enable llvmpipe for software rendering

2016-04-29 Thread Zhen Wu
Thanks for taking the time to review, Emil. We're happy to contribute to the community, I'll will work with Chih-Wei and try to incorporate the comments. 2016-04-29 19:16 GMT+08:00 Emil Velikov : > Hi Zhen Wu, all, > > On 29 April 2016 at 04:12, Zhen Wu wrote: >

Re: [Mesa-dev] [android-x86-devel] [RFC 0/7] android: enable llvmpipe for software rendering

2016-04-29 Thread Zhen Wu
Hi, Chih-Wei, Emil, These series of patches was originally developed on the 11.0 branch, and later ported to 11.2. I don't think softpipe was working when I worked on this, Actually the first few patches is from when I tried to make softpipe work. There are some memory issue in mesa that cause

Re: [Mesa-dev] [android-x86-devel] [RFC 6/7] android: enable x86 asm and sse4 for x86 and x86_64

2016-05-01 Thread Zhen Wu
2016-04-29 18:22 GMT+08:00 Emil Velikov : > On 28 April 2016 at 08:34, Chih-Wei Huang wrote: > > From: WuZhen > > > > Support multilib compilation use runtime feature selection. > > > > NO_REF_TASK > > tested: local run > > > > Change-Id: Iee7961effdecde09cfbdaf09455bfb0912699ae3 > > Signed-off-

Re: [Mesa-dev] [android-x86-devel] [RFC 5/7] android: enable dlopen

2016-05-01 Thread Zhen Wu
Sure, Will do 2016-05-01 17:32 GMT+08:00 Emil Velikov : > On 28 April 2016 at 08:34, Chih-Wei Huang wrote: > > From: WuZhen > > > > NO_REF_TASK > > tested: local run > > > > Change-Id: I7c3c03f844ba6fc7ee3d6817d9ee1e806b92aed7 > > Signed-off-by: Chih-Wei Huang > > --- > > Android.common.mk |

Re: [Mesa-dev] [android-x86-devel] [RFC 6/7] android: enable x86 asm and sse4 for x86 and x86_64

2016-05-01 Thread Zhen Wu
2016-05-01 17:46 GMT+08:00 Emil Velikov : > On 30 April 2016 at 18:36, Zhen Wu wrote: > > 2016-04-29 18:22 GMT+08:00 Emil Velikov : > >> > >> On 28 April 2016 at 08:34, Chih-Wei Huang > wrote: > >> > From: WuZhen > >> > > >&g