23#include "../../vsf_sdl2_cfg.h"
25#if VSF_USE_SDL2 == ENABLED
31#ifndef VSF_SDL_CFG_V1_COMPATIBLE
32# define VSF_SDL_CFG_V1_COMPATIBLE ENABLED
66#if VSF_SDL_CFG_WRAPPER == ENABLED
67#define SDL_memset4 VSF_SDL_WRAPPER(SDL_memset4)
69#define SDL_Init VSF_SDL_WRAPPER(SDL_Init)
70#define SDL_InitSubSystem VSF_SDL_WRAPPER(SDL_InitSubSystem)
71#define SDL_QuitSubSystem VSF_SDL_WRAPPER(SDL_QuitSubSystem)
72#define SDL_Quit VSF_SDL_WRAPPER(SDL_Quit)
73#define SDL_GetPlatform VSF_SDL_WRAPPER(SDL_GetPlatform)
75#define SDL_SetError VSF_SDL_WRAPPER(SDL_SetError)
76#define SDL_GetError VSF_SDL_WRAPPER(SDL_GetError)
78#define SDL_CreateWindow VSF_SDL_WRAPPER(SDL_CreateWindow)
79#define SDL_DestroyWindow VSF_SDL_WRAPPER(SDL_DestroyWindow)
80#define SDL_GetWindowPosition VSF_SDL_WRAPPER(SDL_GetWindowPosition)
81#define SDL_GetWindowSurface VSF_SDL_WRAPPER(SDL_GetWindowSurface)
82#define SDL_GetWindowSize VSF_SDL_WRAPPER(SDL_GetWindowSize)
83#define SDL_UpdateWindowSurface VSF_SDL_WRAPPER(SDL_UpdateWindowSurface)
84#define SDL_UpdateWindowSurfaceRects VSF_SDL_WRAPPER(SDL_UpdateWindowSurfaceRects)
85#define SDL_ShowWindow VSF_SDL_WRAPPER(SDL_ShowWindow)
86#define SDL_SetWindowIcon VSF_SDL_WRAPPER(SDL_SetWindowIcon)
87#define SDL_SetWindowTitle VSF_SDL_WRAPPER(SDL_SetWindowTitle)
88#define SDL_SetWindowFullscreen VSF_SDL_WRAPPER(SDL_SetWindowFullscreen)
89#define SDL_RestoreWindow VSF_SDL_WRAPPER(SDL_RestoreWindow)
90#define SDL_MaximizeWindow VSF_SDL_WRAPPER(SDL_MaximizeWindow)
91#define SDL_MinimizeWindow VSF_SDL_WRAPPER(SDL_MinimizeWindow)
92#define SDL_GetWindowFlags VSF_SDL_WRAPPER(SDL_GetWindowFlags)
93#define SDL_SetWindowBordered VSF_SDL_WRAPPER(SDL_SetWindowBordered)
94#define SDL_SetWindowPosition VSF_SDL_WRAPPER(SDL_SetWindowPosition)
95#define SDL_SetWindowOpacity VSF_SDL_WRAPPER(SDL_SetWindowOpacity)
97#define SDL_GetDesktopDisplayMode VSF_SDL_WRAPPER(SDL_GetDesktopDisplayMode)
98#define SDL_GetCurrentDisplayMode VSF_SDL_WRAPPER(SDL_GetCurrentDisplayMode)
100#define SDL_CreateRGBSurface VSF_SDL_WRAPPER(SDL_CreateRGBSurface)
101#define SDL_CreateRGBSurfaceWithFormat VSF_SDL_WRAPPER(SDL_CreateRGBSurfaceWithFormat)
102#define SDL_CreateRGBSurfaceWithFormatFrom VSF_SDL_WRAPPER(SDL_CreateRGBSurfaceWithFormatFrom)
103#define SDL_CreateRGBSurfaceFrom VSF_SDL_WRAPPER(SDL_CreateRGBSurfaceFrom)
104#define SDL_FreeSurface VSF_SDL_WRAPPER(SDL_FreeSurface)
105#define SDL_LockSurface VSF_SDL_WRAPPER(SDL_LockSurface)
106#define SDL_UnlockSurface VSF_SDL_WRAPPER(SDL_UnlockSurface)
107#define SDL_SetSurfaceBlendMode VSF_SDL_WRAPPER(SDL_SetSurfaceBlendMode)
108#define SDL_SetColorKey VSF_SDL_WRAPPER(SDL_SetColorKey)
109#define SDL_FillRect VSF_SDL_WRAPPER(SDL_FillRect)
110#define SDL_BlitSurface VSF_SDL_WRAPPER(SDL_BlitSurface)
111#define SDL_ConvertSurfaceFormat VSF_SDL_WRAPPER(SDL_ConvertSurfaceFormat)
112#define SDL_ConvertSurface VSF_SDL_WRAPPER(SDL_ConvertSurface)
113#define SDL_SetClipRect VSF_SDL_WRAPPER(SDL_SetClipRect)
114#define SDL_GetClipRect VSF_SDL_WRAPPER(SDL_GetClipRect)
116#define SDL_CreateRenderer VSF_SDL_WRAPPER(SDL_CreateRenderer)
117#define SDL_DestroyRenderer VSF_SDL_WRAPPER(SDL_DestroyRenderer)
118#define SDL_RenderClear VSF_SDL_WRAPPER(SDL_RenderClear)
119#define SDL_RenderCopy VSF_SDL_WRAPPER(SDL_RenderCopy)
120#define SDL_RenderCopyEx VSF_SDL_WRAPPER(SDL_RenderCopyEx)
121#define SDL_RenderPresent VSF_SDL_WRAPPER(SDL_RenderPresent)
122#define SDL_SetRenderDrawColor VSF_SDL_WRAPPER(SDL_SetRenderDrawColor)
123#define SDL_RenderDrawPoint VSF_SDL_WRAPPER(SDL_RenderDrawPoint)
124#define SDL_RenderDrawRect VSF_SDL_WRAPPER(SDL_RenderDrawRect)
125#define SDL_RenderGetScale VSF_SDL_WRAPPER(SDL_RenderGetScale)
126#define SDL_RenderSetScale VSF_SDL_WRAPPER(SDL_RenderSetScale)
127#define SDL_RenderGetLogicalSize VSF_SDL_WRAPPER(SDL_RenderGetLogicalSize)
128#define SDL_RenderSetLogicalSize VSF_SDL_WRAPPER(SDL_RenderSetLogicalSize)
129#define SDL_RenderGetViewport VSF_SDL_WRAPPER(SDL_RenderGetViewport)
130#define SDL_RenderSetViewport VSF_SDL_WRAPPER(SDL_RenderSetViewport)
131#define SDL_SetRenderTarget VSF_SDL_WRAPPER(SDL_SetRenderTarget)
132#define SDL_GetRenderTarget VSF_SDL_WRAPPER(SDL_GetRenderTarget)
133#define SDL_SetRenderDrawBlendMode VSF_SDL_WRAPPER(SDL_SetRenderDrawBlendMode)
134#define SDL_GetRenderDrawBlendMode VSF_SDL_WRAPPER(SDL_GetRenderDrawBlendMode)
135#define SDL_RenderFillRect VSF_SDL_WRAPPER(SDL_RenderFillRect)
136#define SDL_IntersectRect VSF_SDL_WRAPPER(SDL_IntersectRect)
138#define SDL_CreateTexture VSF_SDL_WRAPPER(SDL_CreateTexture)
139#define SDL_CreateTextureFromSurface VSF_SDL_WRAPPER(SDL_CreateTextureFromSurface)
140#define SDL_UpdateTexture VSF_SDL_WRAPPER(SDL_UpdateTexture)
141#define SDL_DestroyTexture VSF_SDL_WRAPPER(SDL_DestroyTexture)
142#define SDL_LockTexture VSF_SDL_WRAPPER(SDL_LockTexture)
143#define SDL_UnlockTexture VSF_SDL_WRAPPER(SDL_UnlockTexture)
144#define SDL_SetTextureBlendMode VSF_SDL_WRAPPER(SDL_SetTextureBlendMode)
145#define SDL_GetTextureBlendMode VSF_SDL_WRAPPER(SDL_GetTextureBlendMode)
146#define SDL_SetTextureColorMod VSF_SDL_WRAPPER(SDL_SetTextureColorMod)
147#define SDL_GetTextureColorMod VSF_SDL_WRAPPER(SDL_GetTextureColorMod)
148#define SDL_SetTextureAlphaMod VSF_SDL_WRAPPER(SDL_SetTextureAlphaMod)
149#define SDL_GetTextureAlphaMod VSF_SDL_WRAPPER(SDL_GetTextureAlphaMod)
151#define SDL_MapRGBA VSF_SDL_WRAPPER(SDL_MapRGBA)
152#define SDL_MapRGB VSF_SDL_WRAPPER(SDL_MapRGB)
153#define SDL_AllocFormat VSF_SDL_WRAPPER(SDL_AllocFormat)
154#define SDL_FreeFormat VSF_SDL_WRAPPER(SDL_FreeFormat)
156#define SDL_CreateSemaphore VSF_SDL_WRAPPER(SDL_CreateSemaphore)
157#define SDL_DestroySemaphore VSF_SDL_WRAPPER(SDL_DestroySemaphore)
158#define SDL_SemPost VSF_SDL_WRAPPER(SDL_SemPost)
160#define SDL_GetDisplayDPI VSF_SDL_WRAPPER(SDL_GetDisplayDPI)
161#define SDL_EnableScreenSaver VSF_SDL_WRAPPER(SDL_EnableScreenSaver)
162#define SDL_HasClipboardText VSF_SDL_WRAPPER(SDL_HasClipboardText)
163#define SDL_GetClipboardText VSF_SDL_WRAPPER(SDL_GetClipboardText)
164#define SDL_SetClipboardText VSF_SDL_WRAPPER(SDL_SetClipboardText)
165#define SDL_GetPerformanceCounter VSF_SDL_WRAPPER(SDL_GetPerformanceCounter)
166#define SDL_GetPerformanceFrequency VSF_SDL_WRAPPER(SDL_GetPerformanceFrequency)
168#define SDL_CreateCursor VSF_SDL_WRAPPER(SDL_CreateCursor)
169#define SDL_CreateColorCursor VSF_SDL_WRAPPER(SDL_CreateColorCursor)
170#define SDL_CreateSystemCursor VSF_SDL_WRAPPER(SDL_CreateSystemCursor)
171#define SDL_SetCursor VSF_SDL_WRAPPER(SDL_SetCursor)
172#define SDL_GetCursor VSF_SDL_WRAPPER(SDL_GetCursor)
173#define SDL_GetDefaultCursor VSF_SDL_WRAPPER(SDL_GetDefaultCursor)
174#define SDL_FreeCursor VSF_SDL_WRAPPER(SDL_FreeCursor)
175#define SDL_ShowCursor VSF_SDL_WRAPPER(SDL_ShowCursor)
177#define SDL_GetScancodeName VSF_SDL_WRAPPER(SDL_GetScancodeName)
178#define SDL_GetKeyName VSF_SDL_WRAPPER(SDL_GetKeyName)
180#define SDL_NumJoysticks VSF_SDL_WRAPPER(SDL_NumJoysticks)
181#define SDL_JoystickOpen VSF_SDL_WRAPPER(SDL_JoystickOpen)
182#define SDL_JoystickClose VSF_SDL_WRAPPER(SDL_JoystickClose)
183#define SDL_JoystickNumButtons VSF_SDL_WRAPPER(SDL_JoystickNumButtons)
184#define SDL_JoystickNumAxes VSF_SDL_WRAPPER(SDL_JoystickNumAxes)
185#define SDL_JoystickNumBalls VSF_SDL_WRAPPER(SDL_JoystickNumBalls)
186#define SDL_JoystickNumHats VSF_SDL_WRAPPER(SDL_JoystickNumHats)
187#define SDL_JoystickEventState VSF_SDL_WRAPPER(SDL_JoystickEventState)
189#define SDL_CaptureMouse VSF_SDL_WRAPPER(SDL_CaptureMouse)
190#define SDL_GetGlobalMouseState VSF_SDL_WRAPPER(SDL_GetGlobalMouseState)
192#define SDL_SetWindowHitTest VSF_SDL_WRAPPER(SDL_SetWindowHitTest)
194#if VSF_SDL_CFG_V1_COMPATIBLE == ENABLED
195#define SDL_CreateYUVOverlay VSF_SDL_WRAPPER(SDL_CreateYUVOverlay)
196#define SDL_FreeYUVOverlay VSF_SDL_WRAPPER(SDL_FreeYUVOverlay)
197#define SDL_LockYUVOverlay VSF_SDL_WRAPPER(SDL_LockYUVOverlay)
198#define SDL_UnlockYUVOverlay VSF_SDL_WRAPPER(SDL_UnlockYUVOverlay)
199#define SDL_DisplayYUVOverlay VSF_SDL_WRAPPER(SDL_DisplayYUVOverlay)
201#define SDL_SetVideoMode VSF_SDL_WRAPPER(SDL_SetVideoMode)
202#define SDL_Flip VSF_SDL_WRAPPER(SDL_Flip)
204#define SDL_EnableUNICODE VSF_SDL_WRAPPER(SDL_EnableUNICODE)
205#define SDL_EnableKeyRepeat VSF_SDL_WRAPPER(SDL_EnableKeyRepeat)
207#define SDL_WM_SetCaption VSF_SDL_WRAPPER(SDL_WM_SetCaption)
211#define SDL_SemWait(__sem) __vsf_sdl2_sem_wait((__sem), -1)
212#define SDL_SemWaitTimeout(__sem, __ms) __vsf_sdl2_sem_wait((__sem), (__ms))
213#define SDL_SemTryWait(__sem) __vsf_sdl2_sem_wait((__sem), 0)
215#define SDL_SetHint(...)
216#define SDL_ShowSimpleMessageBox(...)
217#define SDL_SaveBMP(...)
219#define SDL_SetWindowSize(...)
220#define SDL_SetWindowMinimumSize(...)
221#define SDL_SetWindowMaximumSize(...)
222#define SDL_GetRendererInfo(__renderer, __info) \
224 SDL_memset((__info), 0, sizeof(*(__info))); \
225 (__info)->name = "vsf"; \
231#define SDL_INIT_TIMER (1 << 0)
232#define SDL_INIT_AUDIO (1 << 1)
233#define SDL_INIT_VIDEO (1 << 2)
234#define SDL_INIT_JOYSTICK (1 << 3)
235#define SDL_INIT_HAPTIC (1 << 4)
236#define SDL_INIT_GAMECONTROLLER (1 << 5)
237#define SDL_INIT_EVENTS (1 << 6)
238#define SDL_INIT_NOPARACHUTE (1 << 7)
239#define SDL_INIT_EVERYTHING (0xFFFFFFFF)
241#define SDL_ALPHA_OPAQUE 255
242#define SDL_ALPHA_TRANSPARENT 0
384#if VSF_SDL_CFG_V1_COMPATIBLE == ENABLED
451#if VSF_USE_AUDIO == ENABLED
468extern void SDL_memset4(
void *dst,
int val,
size_t dwords);
557extern int SDL_GetDisplayDPI(
int display_index,
float * ddpi,
float * hdpi,
float * vdpi);
569 int w,
int h,
int hot_x,
int hot_y);
593#if VSF_SDL_CFG_V1_COMPATIBLE == ENABLED
@ SDL_DOUBLEBUF
Definition SDL.h:406
@ SDL_ANYFORMAT
Definition SDL.h:404
@ SDL_SWSURFACE
Definition SDL.h:403
@ SDL_FULLSCREEN
Definition SDL.h:407
@ SDL_HWSURFACE
Definition SDL.h:405
#define SDL_SetError
Definition SDL.h:75
SDL_HitTestResult
Definition SDL.h:435
@ SDL_HITTEST_DRAGGABLE
Definition SDL.h:437
@ SDL_HITTEST_RESIZE_LEFT
Definition SDL.h:445
@ SDL_HITTEST_RESIZE_TOP
Definition SDL.h:439
@ SDL_HITTEST_RESIZE_TOPRIGHT
Definition SDL.h:440
@ SDL_HITTEST_NORMAL
Definition SDL.h:436
@ SDL_HITTEST_RESIZE_BOTTOM
Definition SDL.h:443
@ SDL_HITTEST_RESIZE_BOTTOMRIGHT
Definition SDL.h:442
@ SDL_HITTEST_RESIZE_BOTTOMLEFT
Definition SDL.h:444
@ SDL_HITTEST_RESIZE_RIGHT
Definition SDL.h:441
@ SDL_HITTEST_RESIZE_TOPLEFT
Definition SDL.h:438
#define SDL_SetTextureAlphaMod
Definition SDL.h:148
#define SDL_RenderPresent
Definition SDL.h:121
#define SDL_InitSubSystem
Definition SDL.h:70
#define SDL_SetColorKey
Definition SDL.h:108
#define SDL_GetWindowSize
Definition SDL.h:82
#define SDL_CreateCursor
Definition SDL.h:168
#define SDL_RenderGetViewport
Definition SDL.h:129
#define SDL_DestroyWindow
Definition SDL.h:79
#define SDL_SetWindowHitTest
Definition SDL.h:192
#define SDL_JoystickNumAxes
Definition SDL.h:184
#define SDL_SetWindowOpacity
Definition SDL.h:95
#define SDL_MaximizeWindow
Definition SDL.h:90
#define SDL_memset4
Definition SDL.h:67
#define SDL_RenderFillRect
Definition SDL.h:135
#define SDL_DestroyRenderer
Definition SDL.h:117
#define SDL_DestroyTexture
Definition SDL.h:141
#define SDL_FreeFormat
Definition SDL.h:154
#define SDL_GetTextureAlphaMod
Definition SDL.h:149
SDL_HitTestResult(SDLCALL * SDL_HitTest)(SDL_Window *win, const SDL_Point *area, void *data)
Definition SDL.h:447
#define SDL_SetRenderDrawColor
Definition SDL.h:122
#define SDL_CreateTextureFromSurface
Definition SDL.h:139
#define SDL_SetVideoMode
Definition SDL.h:201
#define SDL_SetWindowFullscreen
Definition SDL.h:88
#define SDL_GetPerformanceCounter
Definition SDL.h:165
#define SDL_CreateSystemCursor
Definition SDL.h:170
#define SDL_EnableKeyRepeat
Definition SDL.h:205
#define SDL_UpdateWindowSurfaceRects
Definition SDL.h:84
#define SDL_ShowCursor
Definition SDL.h:175
#define SDL_CreateWindow
Definition SDL.h:78
#define SDL_RestoreWindow
Definition SDL.h:89
#define SDL_JoystickNumHats
Definition SDL.h:186
int __vsf_sdl2_sem_wait(SDL_sem *sem, int32_t ms)
Definition vsf_sdl2.c:1297
#define SDL_CreateTexture
Definition SDL.h:138
#define SDL_GetWindowFlags
Definition SDL.h:92
#define SDL_GetScancodeName
Definition SDL.h:177
SDL_RendererFlags
Definition SDL.h:411
@ SDL_RENDERER_SOFTWARE
Definition SDL.h:412
@ SDL_RENDERER_ACCELERATED
Definition SDL.h:413
@ SDL_RENDERER_PRESENTVSYNC
Definition SDL.h:414
@ SDL_RENDERER_TARGETTEXTURE
Definition SDL.h:415
#define SDL_SetClipboardText
Definition SDL.h:164
#define SDL_EnableUNICODE
Definition SDL.h:204
#define SDL_CaptureMouse
Definition SDL.h:189
#define SDL_RenderCopyEx
Definition SDL.h:120
#define SDL_UnlockYUVOverlay
Definition SDL.h:198
#define SDL_GetTextureBlendMode
Definition SDL.h:145
#define SDL_SetWindowPosition
Definition SDL.h:94
#define SDL_JoystickClose
Definition SDL.h:182
#define SDL_RenderSetLogicalSize
Definition SDL.h:128
#define SDL_GetRenderDrawBlendMode
Definition SDL.h:134
#define SDL_MapRGB
Definition SDL.h:152
#define SDL_GetPerformanceFrequency
Definition SDL.h:166
#define SDL_SetRenderDrawBlendMode
Definition SDL.h:133
#define SDL_GetRenderTarget
Definition SDL.h:132
#define SDL_GetCursor
Definition SDL.h:172
#define SDL_SemPost
Definition SDL.h:158
#define SDL_LockYUVOverlay
Definition SDL.h:197
#define SDL_ShowWindow
Definition SDL.h:85
#define SDL_JoystickOpen
Definition SDL.h:181
SDL_RendererFlip
Definition SDL.h:417
@ SDL_FLIP_VERTICAL
Definition SDL.h:420
@ SDL_FLIP_NONE
Definition SDL.h:418
@ SDL_FLIP_HORIZONTAL
Definition SDL.h:419
#define SDL_MapRGBA
Definition SDL.h:151
#define SDL_GetTextureColorMod
Definition SDL.h:147
#define SDL_AllocFormat
Definition SDL.h:153
#define SDL_GetDisplayDPI
Definition SDL.h:160
SDL_TextureAccess
Definition SDL.h:295
@ SDL_TEXTUREACCESS_STATIC
Definition SDL.h:296
@ SDL_TEXTUREACCESS_STREAMING
Definition SDL.h:297
@ SDL_TEXTUREACCESS_TARGET
Definition SDL.h:298
#define SDL_LockTexture
Definition SDL.h:142
@ SDL_WINDOWPOS_UNDEFINED
Definition SDL.h:265
@ SDL_WINDOWPOS_CENTERED
Definition SDL.h:264
#define SDL_RenderDrawRect
Definition SDL.h:124
#define SDL_CreateYUVOverlay
Definition SDL.h:195
#define SDL_RenderSetScale
Definition SDL.h:126
#define SDL_NumJoysticks
Definition SDL.h:180
#define SDL_SetRenderTarget
Definition SDL.h:131
#define SDL_CreateRenderer
Definition SDL.h:116
#define SDL_SetSurfaceBlendMode
Definition SDL.h:107
#define SDL_Quit
Definition SDL.h:72
#define SDL_JoystickNumButtons
Definition SDL.h:183
#define SDL_RenderDrawPoint
Definition SDL.h:123
SDL_BlendMode
Definition SDL.h:328
@ SDL_BLENDMODE_NONE
Definition SDL.h:329
@ SDL_BLENDMODE_ADD
Definition SDL.h:331
@ SDL_BLENDMODE_BLEND
Definition SDL.h:330
@ SDL_BLENDMODE_MOD
Definition SDL.h:332
#define SDL_DestroySemaphore
Definition SDL.h:157
#define SDL_SetTextureBlendMode
Definition SDL.h:144
#define SDL_UpdateTexture
Definition SDL.h:140
#define SDL_SetWindowIcon
Definition SDL.h:86
#define SDL_UpdateWindowSurface
Definition SDL.h:83
#define SDL_GetDefaultCursor
Definition SDL.h:173
#define SDL_GetError
Definition SDL.h:76
#define SDL_DisplayYUVOverlay
Definition SDL.h:199
#define SDL_RenderClear
Definition SDL.h:118
#define SDL_CreateColorCursor
Definition SDL.h:169
SDL_PixelFormatEnum
Definition SDL.h:301
@ SDL_PIXELFORMAT_RGB332
Definition SDL.h:313
@ SDL_PIXELFORMAT_BGR24
Definition SDL.h:321
@ SDL_PIXELFORMAT_RGBA8888
Definition SDL.h:307
@ VSF_DISP_COLOR_DEF
Definition SDL.h:324
@ SDL_PIXELFORMAT_INDEX8
Definition SDL.h:325
@ SDL_PIXELFORMAT_BGR888
Definition SDL.h:318
@ SDL_PIXELFORMAT_RGB24
Definition SDL.h:320
@ SDL_PIXELFORMAT_RGB888
Definition SDL.h:317
@ SDL_PIXELFORMAT_ABGR8888
Definition SDL.h:309
@ SDL_PIXELFORMAT_ARGB8888
Definition SDL.h:311
@ SDL_PIXELFORMAT_PALETTE
Definition SDL.h:305
@ SDL_PIXELFORMAT_BYMASK_IDX
Definition SDL.h:303
@ SDL_PIXELFORMAT_RGBA32
Definition SDL.h:308
@ SDL_PIXELFORMAT_RGB666
Definition SDL.h:315
@ SDL_PIXELFORMAT_RGB565
Definition SDL.h:312
@ SDL_PIXELFORMAT_UNKNOWN
Definition SDL.h:302
@ VSF_DISP_COLOR_IDX_DEF
Definition SDL.h:323
void vsf_sdl2_init(vsf_sdl2_cfg_t *cfg)
Definition vsf_sdl2.c:426
#define SDL_UnlockSurface
Definition SDL.h:106
#define SDL_ConvertSurfaceFormat
Definition SDL.h:111
#define SDL_HasClipboardText
Definition SDL.h:162
#define SDL_CreateSemaphore
Definition SDL.h:156
#define SDL_RenderGetScale
Definition SDL.h:125
#define SDL_SetWindowBordered
Definition SDL.h:93
#define SDL_SetCursor
Definition SDL.h:171
#define SDL_CreateRGBSurfaceFrom
Definition SDL.h:103
#define SDL_SetClipRect
Definition SDL.h:113
#define SDL_BlitSurface
Definition SDL.h:110
#define SDL_JoystickNumBalls
Definition SDL.h:185
SDL_WindowFlags
Definition SDL.h:268
@ SDL_WINDOW_ALLOW_HIGHDPI
Definition SDL.h:283
@ SDL_WINDOW_TOOLTIP
Definition SDL.h:288
@ SDL_WINDOW_ALWAYS_ON_TOP
Definition SDL.h:285
@ SDL_WINDOW_DESKTOP
Definition SDL.h:280
@ SDL_WINDOW_SHOWN
Definition SDL.h:271
@ SDL_WINDOW_SKIP_TASKBAR
Definition SDL.h:286
@ SDL_WINDOW_MOUSE_CAPTURE
Definition SDL.h:284
@ SDL_WINDOW_VULKAN
Definition SDL.h:290
@ SDL_WINDOW_OPENGL
Definition SDL.h:270
@ SDL_WINDOW_MINIMIZED
Definition SDL.h:275
@ SDL_WINDOW_UTILITY
Definition SDL.h:287
@ SDL_WINDOW_MOUSE_FOCUS
Definition SDL.h:279
@ SDL_WINDOW_INPUT_GRABBED
Definition SDL.h:277
@ SDL_WINDOW_RESIZABLE
Definition SDL.h:274
@ SDL_WINDOW_FULLSCREEN_DESKTOP
Definition SDL.h:281
@ SDL_WINDOW_FULLSCREEN
Definition SDL.h:269
@ SDL_WINDOW_MAXIMIZED
Definition SDL.h:276
@ SDL_WINDOW_HIDDEN
Definition SDL.h:272
@ SDL_WINDOW_POPUP_MENU
Definition SDL.h:289
@ SDL_WINDOW_BORDERLESS
Definition SDL.h:273
@ SDL_WINDOW_INPUT_FOCUS
Definition SDL.h:278
#define SDL_GetClipRect
Definition SDL.h:114
#define SDL_FreeYUVOverlay
Definition SDL.h:196
#define SDL_FreeCursor
Definition SDL.h:174
#define SDL_GetWindowPosition
Definition SDL.h:80
#define SDL_LockSurface
Definition SDL.h:105
#define SDL_RenderCopy
Definition SDL.h:119
#define SDL_JoystickEventState
Definition SDL.h:187
vsf_sem_t SDL_sem
Definition SDL.h:432
#define SDL_CreateRGBSurfaceWithFormat
Definition SDL.h:101
#define SDL_CreateRGBSurface
Definition SDL.h:100
#define SDL_FreeSurface
Definition SDL.h:104
#define SDL_GetDesktopDisplayMode
Definition SDL.h:97
#define SDL_GetCurrentDisplayMode
Definition SDL.h:98
#define SDL_Init
Definition SDL.h:69
#define SDL_EnableScreenSaver
Definition SDL.h:161
#define SDL_SetTextureColorMod
Definition SDL.h:146
#define SDL_MinimizeWindow
Definition SDL.h:91
#define SDL_GetKeyName
Definition SDL.h:178
#define SDL_GetWindowSurface
Definition SDL.h:81
#define SDL_GetPlatform
Definition SDL.h:73
#define SDL_UnlockTexture
Definition SDL.h:143
#define SDL_QuitSubSystem
Definition SDL.h:71
#define SDL_WM_SetCaption
Definition SDL.h:207
#define SDL_GetGlobalMouseState
Definition SDL.h:190
#define SDL_RenderGetLogicalSize
Definition SDL.h:127
#define SDL_IntersectRect
Definition SDL.h:136
#define SDL_CreateRGBSurfaceWithFormatFrom
Definition SDL.h:102
#define SDL_GetClipboardText
Definition SDL.h:163
#define SDL_Flip
Definition SDL.h:202
@ SDL_UYVY_OVERLAY
Definition SDL.h:389
@ SDL_YVYU_OVERLAY
Definition SDL.h:390
@ SDL_IYUV_OVERLAY
Definition SDL.h:387
@ SDL_YUY2_OVERLAY
Definition SDL.h:388
@ SDL_YV12_OVERLAY
Definition SDL.h:386
#define SDL_FillRect
Definition SDL.h:109
#define SDL_ConvertSurface
Definition SDL.h:112
#define SDL_RenderSetViewport
Definition SDL.h:130
#define SDL_SetWindowTitle
Definition SDL.h:87
SDL_SystemCursor
Definition SDL_events.h:299
struct SDL_Cursor SDL_Cursor
Definition SDL_events.h:298
struct SDL_Joystick SDL_Joystick
Definition SDL_events.h:141
SDL_Scancode
Definition SDL_keycode.h:38
int32_t SDL_Keycode
Definition SDL_keycode.h:188
SDL_bool
Definition SDL_stdinc.h:96
#define SDLCALL
Definition begin_code.h:39
Definition vsf_audio.h:158
Definition vsf_disp.h:173
struct ieee80211_ext_chansw_ie data
Definition ieee80211.h:80
unsigned short uint16_t
Definition lvgl.h:41
unsigned int uint32_t
Definition lvgl.h:43
signed int int32_t
Definition lvgl.h:44
unsigned char uint8_t
Definition lvgl.h:40
unsigned long long uint64_t
Definition stdint.h:11
int h
Definition SDL.h:381
int w
Definition SDL.h:381
uint32_t format
Definition SDL.h:380
uint32_t format
Definition SDL.h:393
int w
Definition SDL.h:396
uint16_t pitches[4]
Definition SDL.h:397
uint8_t ** pixels
Definition SDL.h:398
uint8_t planes
Definition SDL.h:394
bool hw_overlay
Definition SDL.h:395
int h
Definition SDL.h:396
int ncolors
Definition SDL.h:338
SDL_Color * colors
Definition SDL.h:339
int x
Definition SDL.h:260
int y
Definition SDL.h:260
int h
Definition SDL.h:256
int w
Definition SDL.h:256
int y
Definition SDL.h:255
int x
Definition SDL.h:255
uint32_t flags
Definition SDL.h:425
const char * name
Definition SDL.h:424
SDL_PixelFormat * format
Definition SDL.h:362
SDL_BlendMode blend
Definition SDL.h:371
SDL_PixelFormat __format
Definition SDL.h:373
int pitch
Definition SDL.h:365
int w
Definition SDL.h:364
SDL_Rect clip_rect
Definition SDL.h:363
uint32_t __pixels[0] VSF_CAL_ALIGN(4)
void * pixels
Definition SDL.h:374
@ SDL_PREALLOC
Definition SDL.h:368
@ SDL_SIMD_ALIGNED
Definition SDL.h:369
int h
Definition SDL.h:364
enum SDL_Surface::@831 flags
vk_audio_dev_t * audio_dev
Definition SDL.h:452
vk_disp_t * disp_dev
Definition SDL.h:450
uint8_t a
Definition SDL.h:249
uint8_t r
Definition SDL.h:249
uint8_t g
Definition SDL.h:249
uint8_t b
Definition SDL.h:249
uint32_t value
Definition SDL.h:251
#define access
Definition unistd.h:115
#define VSF_DISP_COLOR_VALUE(__INDEX, __BITLEN, __BYTELEN, __HAS_ALPHA)
Definition vsf_disp.h:50
uint8_t state
Definition vsf_msg_tree.h:247