Hi Jonathan,

On 19 July 2016 at 20:47, Jonathan <[email protected]> wrote:
> +typedef VkResult (VKAPI_PTR *PFN_vkGetDmaBufINTEL)(VkDevice device, 
> VkDeviceMemory mem, VkImage image, int *fd, uint32_t *pitch);

Some things you should consider adding to this:
  - multi-plane support for multi-buffer formats (multiple fds,
multiple pitches, per-plane offset parameter)
  - an out parameter for format, using the DRM FourCC format codes
  - out parameters for a DRM modifier per-plane, to account for tiling
etc (and no longer calling anv_gem_set_tiling)

Cheers,
Daniel
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to