[Mesa-dev] [PATCH v5] anv/android: add GetAndroidHardwareBufferPropertiesANDROID

Lionel Landwerlin lionel.g.landwerlin at intel.com
Mon Dec 17 18:31:23 UTC 2018


On 14/12/2018 11:53, Tapani Pälli wrote:
> +   if (desc.usage & AHARDWAREBUFFER_USAGE_GPU_DATA_BUFFER)
> +      tiling = VK_IMAGE_TILING_LINEAR;
> +
> +   p->formatFeatures =
> +      anv_get_image_format_features(&device->info, p->format,
> +                                    anv_format, VK_IMAGE_TILING_OPTIMAL);
> +

I think you want to give tiling as a parameter, with that fixed :


Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>



More information about the mesa-dev mailing list