[Mesa-dev] [PATCH 09/15] anv/android: add ahardwarebuffer external memory properties

Lionel Landwerlin lionel.g.landwerlin at intel.com
Mon Nov 5 18:23:51 UTC 2018


On 30/10/2018 06:26, Tapani Pälli wrote:
>      const VkPhysicalDeviceExternalImageFormatInfo *external_info = NULL;
>      VkExternalImageFormatPropertiesKHR *external_props = NULL;
>      VkSamplerYcbcrConversionImageFormatProperties *ycbcr_props = NULL;
> +   struct VkAndroidHardwareBufferUsageANDROID *android_usage = NULL;
>      VkResult result;
>   
> +   /* Only used on Android environment. */
> +   (void) android_usage;
> +
We have a MAYBE_UNUSED macro for this.

-
Lionel


More information about the mesa-dev mailing list