mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 08:40:11 +01:00
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> |
||
|---|---|---|
| .. | ||
| c11 | ||
| CL | ||
| D3D9 | ||
| d3dadapter | ||
| drm-uapi | ||
| EGL | ||
| GL | ||
| GLES | ||
| GLES2 | ||
| GLES3 | ||
| HaikuGL | ||
| KHR | ||
| pci_ids | ||
| vulkan | ||
| c99_alloca.h | ||
| c99_compat.h | ||
| c99_math.h | ||
| no_extern_c.h | ||