mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-16 19:18:55 +00:00
render: Add Suspend/Resume calls for GDK support
This commit is contained in:
parent
0c57e99b4a
commit
ee5c5cf755
12 changed files with 108 additions and 34 deletions
|
|
@ -1283,6 +1283,8 @@ SDL3_0.0.0 {
|
|||
SDL_SetGPURenderStateSamplerBindings;
|
||||
SDL_SetGPURenderStateStorageTextures;
|
||||
SDL_SetGPURenderStateStorageBuffers;
|
||||
SDL_GDKSuspendRenderer;
|
||||
SDL_GDKResumeRenderer;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1309,3 +1309,5 @@
|
|||
#define SDL_SetGPURenderStateSamplerBindings SDL_SetGPURenderStateSamplerBindings_REAL
|
||||
#define SDL_SetGPURenderStateStorageTextures SDL_SetGPURenderStateStorageTextures_REAL
|
||||
#define SDL_SetGPURenderStateStorageBuffers SDL_SetGPURenderStateStorageBuffers_REAL
|
||||
#define SDL_GDKSuspendRenderer SDL_GDKSuspendRenderer_REAL
|
||||
#define SDL_GDKResumeRenderer SDL_GDKResumeRenderer_REAL
|
||||
|
|
|
|||
|
|
@ -1317,3 +1317,5 @@ SDL_DYNAPI_PROC(SDL_Tray*,SDL_CreateTrayWithProperties,(SDL_PropertiesID a),(a),
|
|||
SDL_DYNAPI_PROC(bool,SDL_SetGPURenderStateSamplerBindings,(SDL_GPURenderState *a,int b,const SDL_GPUTextureSamplerBinding *c),(a,b,c),return)
|
||||
SDL_DYNAPI_PROC(bool,SDL_SetGPURenderStateStorageTextures,(SDL_GPURenderState *a,int b,SDL_GPUTexture *const*c),(a,b,c),return)
|
||||
SDL_DYNAPI_PROC(bool,SDL_SetGPURenderStateStorageBuffers,(SDL_GPURenderState *a,int b,SDL_GPUBuffer *const*c),(a,b,c),return)
|
||||
SDL_DYNAPI_PROC(void,SDL_GDKSuspendRenderer,(SDL_Renderer *a),(a),)
|
||||
SDL_DYNAPI_PROC(void,SDL_GDKResumeRenderer,(SDL_Renderer *a),(a),)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue