[Mesa-dev] [PATCH 20/20 v4]] anv: Implement VK_ANDROID_native_buffer (v4)

Chad Versace chadversary at chromium.org
Mon Sep 18 21:40:46 UTC 2017


On Fri 15 Sep 2017, Tapani Pälli wrote:
> 
> 
> On 09/15/2017 01:06 AM, Chad Versace wrote:

> > v3:
> >    - Delete duplicate #include "anv_private.h". [per Tapani]
> >    - Try to fix the Android-IA build in Android.vulkan.mk by following
> >      Tapani's example in
> >      <https://lists.freedesktop.org/archives/mesa-dev/2017-September/169602.html>.
> >      But I truncated the added include path from
> >      "frameworks/native/vulkan/include/hardware" to
> >      "frameworks/native/vulkan/include", and inserted it *after*
> >      $(MESA_TOP)/include/vulkan, so that #include <hardware/hwvulkan.h>
> >      hopefully works in both the Autotools and Android.mk build.
> 
> Unfortunately this does not seem to do the trick, I can see Mesa include is
> before the frameworks one but I still get the errors. I'll try to figure out
> some cure.

I checked out Android-IA and adjusted my fix. It really builds now.

You can fetch the exact code I used with
git fetch git://git.kiwitree.net/~chadv/mesa refs/archive/refs/heads/wip/android-ia-vulkan/cbd265ea2efbdd05cf246fc12b0833a5cbaf9b1a 

I'll submit a v5 soon with that fix included.


More information about the mesa-dev mailing list