mesa/include
Chad Versace f07ac34e6f vulkan: Add #ifdef hack to vk_android_native_buffer.h
This patch consolidates many potential `#ifdef ANDROID` messes
throughout src/vulkan and src/intel/vulkan into a simple, localized
hack. The hack is an `#ifdef ANDROID` in vk_android_native_buffer.h
that, on non-Android platorms, avoids including the Android platform
headers and typedefs any Android-specific types to void*.

This hack doesn't remove *all* the `#ifdef ANDROID`s in upcoming
patches, but it does remove a lot.

I first tried implementing VK_ANDROID_native_buffer without this hack,
but eventually gave up when the yak shaving became too much.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
2017-09-18 14:26:54 -07:00
..
CL clover: Update OpenCL headers to version 1.2 from Khronos. 2014-04-29 13:01:10 +02:00
D3D9 Introduce .editorconfig 2016-08-31 17:06:54 -07:00
EGL khronos/egl: remove dependency on Android NDK header 2017-08-25 14:19:53 +01:00
GL dri/image: Add a format modifier attributes query 2017-09-14 14:47:18 -07:00
GLES gles: Restore some lost typedefs 2017-08-01 18:26:15 +01:00
GLES2 include: update GLES gl2ext header to no longer reference bad function 2017-08-07 20:32:32 -04:00
GLES3 Update Khronos-supplied headers 2017-06-30 15:29:50 +02:00
HaikuGL include/haiku: fix comment typo 2014-08-28 21:41:29 -04:00
KHR egl: Update headers from Khronos 2017-08-11 11:16:00 +01:00
c11 c11/threads: rework Windows thrd_current() comment 2017-05-04 18:00:23 +01:00
d3dadapter d3dadapter/present: Add precision for WaitBufferReleased 2016-12-20 23:44:21 +01:00
drm-uapi drm-uapi: Update headers from drm-next 2017-08-28 19:33:35 -07:00
pci_ids intel: Remove unused Kabylake pci id 2017-09-11 08:45:43 -07:00
vulkan vulkan: Add #ifdef hack to vk_android_native_buffer.h 2017-09-18 14:26:54 -07:00
c99_alloca.h c99_alloca.h: Also use <alloca.h> for cygwin 2015-03-07 18:18:32 +00:00
c99_compat.h scons: set HAVE_FUNC_ATTRIBUTE_ALIAS 2017-01-18 16:01:14 +00:00
c99_math.h math: Import isinf and others to global namespace 2016-04-18 11:10:25 +01:00
no_extern_c.h include: Add helper header to help trap includes inside extern C. 2015-03-06 12:38:55 +00:00