Hash :
e00ad443
Author :
Date :
2021-11-15T20:16:16
Add EGL_ANGLE_vulkan_image extension This extension is for exporting VkImage from EGLImage. The VkImage must be used with the same VkDevice used by ANGLE Vulkan backend. Bug: chromium:1264439 Change-Id: I222d900465cf2716d94fc64f06e240390ec518ac Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3285025 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
Name
ANGLE_vulkan_image
Name Strings
EGL_ANGLE_vulkan_image
Contributors
Peng Huang
Contacts
Peng Huang, Google Inc. (penghuang 'at' chromium.org)
Status
Draft
Version
Version 1, Nov 17, 2021
Number
EGL Extension #??
Dependencies
This extension is written against the wording of the EGL 1.4
Specification.
References the EGL_ANGLE_device_vulkan and EGL_KHR_image_base extensions.
Overview
This extension allows exporting VkImage from EGL images.
New Types
None
New Procedures and Functions
EGLBoolean eglExportVkImageANGLE(
EGLDisplay dpy,
EGLImageKHR image,
void* vk_image,
void* vk_image_create_info);
New Tokens
None
Additions to the EGL 1.4 Specification:
To export VkImage from an EGLImage, a new API is required.
The new entrypoint
EGLBoolean eglExportVkImageANGLE(
EGLDisplay dpy,
EGLImageKHR image,
void* vk_image,
void* vk_image_create_info);
is used to retrieve the VkImage and VkImageCreateInfo of the EGLImage.
The VkImage is stored into <vk_image> pointed memory, and VkImageCreateInfo
is filled into <vk_image_create_info> pointed memory.
Issues
None
Revision History
Version 1, 2021/11/17 - first draft.