mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
vulkan: update spec to 1.4.330
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38042>
This commit is contained in:
parent
13199c37c1
commit
61c71733c8
4 changed files with 3209 additions and 2668 deletions
|
|
@ -144,7 +144,7 @@ typedef enum StdVideoAV1ColorPrimaries {
|
||||||
STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_432 = 12,
|
STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_432 = 12,
|
||||||
STD_VIDEO_AV1_COLOR_PRIMARIES_EBU_3213 = 22,
|
STD_VIDEO_AV1_COLOR_PRIMARIES_EBU_3213 = 22,
|
||||||
STD_VIDEO_AV1_COLOR_PRIMARIES_INVALID = 0x7FFFFFFF,
|
STD_VIDEO_AV1_COLOR_PRIMARIES_INVALID = 0x7FFFFFFF,
|
||||||
// STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED is a deprecated alias
|
// STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED is a legacy alias
|
||||||
STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED = STD_VIDEO_AV1_COLOR_PRIMARIES_UNSPECIFIED,
|
STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED = STD_VIDEO_AV1_COLOR_PRIMARIES_UNSPECIFIED,
|
||||||
STD_VIDEO_AV1_COLOR_PRIMARIES_MAX_ENUM = 0x7FFFFFFF
|
STD_VIDEO_AV1_COLOR_PRIMARIES_MAX_ENUM = 0x7FFFFFFF
|
||||||
} StdVideoAV1ColorPrimaries;
|
} StdVideoAV1ColorPrimaries;
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -44,6 +44,68 @@ VKAPI_ATTR VkResult VKAPI_CALL vkCreateSurfaceOHOS(
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
// VK_OHOS_native_buffer is a preprocessor guard. Do not pass it to API calls.
|
||||||
|
#define VK_OHOS_native_buffer 1
|
||||||
|
struct OHBufferHandle;
|
||||||
|
#define VK_OHOS_NATIVE_BUFFER_SPEC_VERSION 1
|
||||||
|
#define VK_OHOS_NATIVE_BUFFER_EXTENSION_NAME "VK_OHOS_native_buffer"
|
||||||
|
|
||||||
|
typedef enum VkSwapchainImageUsageFlagBitsOHOS {
|
||||||
|
VK_SWAPCHAIN_IMAGE_USAGE_SHARED_BIT_OHOS = 0x00000001,
|
||||||
|
VK_SWAPCHAIN_IMAGE_USAGE_FLAG_BITS_MAX_ENUM_OHOS = 0x7FFFFFFF
|
||||||
|
} VkSwapchainImageUsageFlagBitsOHOS;
|
||||||
|
typedef VkFlags VkSwapchainImageUsageFlagsOHOS;
|
||||||
|
typedef struct VkNativeBufferOHOS {
|
||||||
|
VkStructureType sType;
|
||||||
|
const void* pNext;
|
||||||
|
struct OHBufferHandle* handle;
|
||||||
|
} VkNativeBufferOHOS;
|
||||||
|
|
||||||
|
typedef struct VkSwapchainImageCreateInfoOHOS {
|
||||||
|
VkStructureType sType;
|
||||||
|
const void* pNext;
|
||||||
|
VkSwapchainImageUsageFlagsOHOS usage;
|
||||||
|
} VkSwapchainImageCreateInfoOHOS;
|
||||||
|
|
||||||
|
typedef struct VkPhysicalDevicePresentationPropertiesOHOS {
|
||||||
|
VkStructureType sType;
|
||||||
|
const void* pNext;
|
||||||
|
VkBool32 sharedImage;
|
||||||
|
} VkPhysicalDevicePresentationPropertiesOHOS;
|
||||||
|
|
||||||
|
typedef VkResult (VKAPI_PTR *PFN_vkGetSwapchainGrallocUsageOHOS)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, uint64_t* grallocUsage);
|
||||||
|
typedef VkResult (VKAPI_PTR *PFN_vkAcquireImageOHOS)(VkDevice device, VkImage image, int32_t nativeFenceFd, VkSemaphore semaphore, VkFence fence);
|
||||||
|
typedef VkResult (VKAPI_PTR *PFN_vkQueueSignalReleaseImageOHOS)(VkQueue queue, uint32_t waitSemaphoreCount, const VkSemaphore* pWaitSemaphores, VkImage image, int32_t* pNativeFenceFd);
|
||||||
|
|
||||||
|
#ifndef VK_NO_PROTOTYPES
|
||||||
|
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
||||||
|
VKAPI_ATTR VkResult VKAPI_CALL vkGetSwapchainGrallocUsageOHOS(
|
||||||
|
VkDevice device,
|
||||||
|
VkFormat format,
|
||||||
|
VkImageUsageFlags imageUsage,
|
||||||
|
uint64_t* grallocUsage);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
||||||
|
VKAPI_ATTR VkResult VKAPI_CALL vkAcquireImageOHOS(
|
||||||
|
VkDevice device,
|
||||||
|
VkImage image,
|
||||||
|
int32_t nativeFenceFd,
|
||||||
|
VkSemaphore semaphore,
|
||||||
|
VkFence fence);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
||||||
|
VKAPI_ATTR VkResult VKAPI_CALL vkQueueSignalReleaseImageOHOS(
|
||||||
|
VkQueue queue,
|
||||||
|
uint32_t waitSemaphoreCount,
|
||||||
|
const VkSemaphore* pWaitSemaphores,
|
||||||
|
VkImage image,
|
||||||
|
int32_t* pNativeFenceFd);
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue