I followed your suggestions and changed the prototype, although the
implementation only supports basic formats
---
include/vulkan/vulkan_intel.h | 17 +++
src/intel/vulkan/anv_intel.c | 49 +++
2 files changed, 66 insertions(+)
diff --git a/in
On Wed, Jul 20, 2016 at 7:51 AM, Daniel Stone wrote:
> On 20 July 2016 at 13:47, Daniel Stone wrote:
>> On 19 July 2016 at 20:47, Jonathan wrote:
>>> +typedef VkResult (VKAPI_PTR *PFN_vkGetDmaBufINTEL)(VkDevice device,
>>> VkDeviceMemory mem, VkImage image, int *fd, uint32_t *pitch);
>>
>> Some
On 20 July 2016 at 13:47, Daniel Stone wrote:
> On 19 July 2016 at 20:47, Jonathan 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
Hi Jonathan,
On 19 July 2016 at 20:47, Jonathan 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 (multipl
counterpart to the CreateDmaBufImageINTEL function, but far more convenient
Signed-off-by: Jonathan
---
include/vulkan/vulkan_intel.h | 9 +
src/intel/vulkan/anv_intel.c | 30 ++
2 files changed, 39 insertions(+)
diff --git a/include/vulkan/vulkan_intel.h b