Re: [Mesa-dev] [PATCH] anv: Implement VK_ANDROID_native_buffer (v5)

2017-10-12 Thread Tapani Pälli
On 10/09/2017 06:56 PM, Chad Versace wrote: On Mon 25 Sep 2017, Tapani Pälli wrote: On 09/22/2017 03:09 AM, Chad Versace wrote: On Thu 21 Sep 2017, Tapani Pälli wrote: Hi Chad; The build works ok now on Android-IA. There is still something wrong with 'exec async' though. It behaves differ

Re: [Mesa-dev] [PATCH] anv: Implement VK_ANDROID_native_buffer (v5)

2017-10-09 Thread Chad Versace
On Mon 25 Sep 2017, Tapani Pälli wrote: > > > On 09/22/2017 03:09 AM, Chad Versace wrote: > > On Thu 21 Sep 2017, Tapani Pälli wrote: > > > Hi Chad; > > > > > > The build works ok now on Android-IA. There is still something wrong with > > > 'exec async' though. It behaves differently with small/

Re: [Mesa-dev] [PATCH] anv: Implement VK_ANDROID_native_buffer (v5)

2017-09-24 Thread Tapani Pälli
On 09/22/2017 03:09 AM, Chad Versace wrote: On Thu 21 Sep 2017, Tapani Pälli wrote: Hi Chad; The build works ok now on Android-IA. There is still something wrong with 'exec async' though. It behaves differently with small/big apps but eventually I think it just starts to block .. somewhere. I

Re: [Mesa-dev] [PATCH] anv: Implement VK_ANDROID_native_buffer (v5)

2017-09-21 Thread Chad Versace
On Thu 21 Sep 2017, Tapani Pälli wrote: > Hi Chad; > > The build works ok now on Android-IA. There is still something wrong with > 'exec async' though. It behaves differently with small/big apps but > eventually I think it just starts to block .. somewhere. I still need the > big hammer to set dev

Re: [Mesa-dev] [PATCH] anv: Implement VK_ANDROID_native_buffer (v5)

2017-09-21 Thread Tapani Pälli
Hi Chad; The build works ok now on Android-IA. There is still something wrong with 'exec async' though. It behaves differently with small/big apps but eventually I think it just starts to block .. somewhere. I still need the big hammer to set device->has_exec_async false to fix that. Please d

Re: [Mesa-dev] [PATCH] anv: Implement VK_ANDROID_native_buffer (v5)

2017-09-18 Thread zhoucm1
On 2017年09月19日 05:44, Chad Versace wrote: This implementation is correct (afaict), but takes two shortcuts regarding the import/export of Android sync fds. Shortcut 1. When Android calls vkAcquireImageANDROID to import a sync fd into a VkSemaphore or VkFence, the driver instead simply bl

[Mesa-dev] [PATCH] anv: Implement VK_ANDROID_native_buffer (v5)

2017-09-18 Thread Chad Versace
This implementation is correct (afaict), but takes two shortcuts regarding the import/export of Android sync fds. Shortcut 1. When Android calls vkAcquireImageANDROID to import a sync fd into a VkSemaphore or VkFence, the driver instead simply blocks on the sync fd, then puts the VkSemaphore