mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-26 18:16:44 +08:00
testffmpeg: fixed Vulkan validation errors
The semaphores need to be submitted in order
This commit is contained in:
@@ -15,8 +15,10 @@
|
||||
|
||||
typedef struct VulkanVideoContext VulkanVideoContext;
|
||||
|
||||
VulkanVideoContext *CreateVulkanVideoContext(SDL_Window *window);
|
||||
void SetupVulkanRenderProperties(VulkanVideoContext *context, SDL_PropertiesID props);
|
||||
void SetupVulkanDeviceContextData(VulkanVideoContext *context, AVVulkanDeviceContext *ctx);
|
||||
SDL_Texture *CreateVulkanVideoTexture(VulkanVideoContext *context, AVFrame *frame, SDL_Renderer *renderer, SDL_PropertiesID props);
|
||||
void DestroyVulkanVideoContext(VulkanVideoContext *context);
|
||||
extern VulkanVideoContext *CreateVulkanVideoContext(SDL_Window *window);
|
||||
extern void SetupVulkanRenderProperties(VulkanVideoContext *context, SDL_PropertiesID props);
|
||||
extern void SetupVulkanDeviceContextData(VulkanVideoContext *context, AVVulkanDeviceContext *ctx);
|
||||
extern SDL_Texture *CreateVulkanVideoTexture(VulkanVideoContext *context, AVFrame *frame, SDL_Renderer *renderer, SDL_PropertiesID props);
|
||||
extern int BeginVulkanFrameRendering(VulkanVideoContext *context, AVFrame *frame, SDL_Renderer *renderer);
|
||||
extern int FinishVulkanFrameRendering(VulkanVideoContext *context, AVFrame *frame, SDL_Renderer *renderer);
|
||||
extern void DestroyVulkanVideoContext(VulkanVideoContext *context);
|
||||
|
||||
Reference in New Issue
Block a user