-
Notifications
You must be signed in to change notification settings - Fork 15
/
TODO
525 lines (468 loc) · 11.2 KB
/
TODO
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
Init
SDL_SetMainReady - not sure this applies to our bindings
--------------------------------------------------------------------------------
Hints
(done)
--------------------------------------------------------------------------------
Error
(done)
--------------------------------------------------------------------------------
Log
SDL_LogMessageV - do we care? We only use single argument logging anyway...
--------------------------------------------------------------------------------
Assertions
SDL_GetAssertionReport
SDL_ResetAssertionReport
SDL_SetAssertionHandler
SDL_TriggerBreakpoint
SDL_assert
SDL_assert_paranoid
SDL_assert_release
--------------------------------------------------------------------------------
Version
(done)
--------------------------------------------------------------------------------
Video
SDL_GL_GetProcAddress
SDL_GL_LoadLibrary
SDL_GL_MakeCurrent
SDL_GL_SwapWindow
SDL_GL_UnloadLibrary
SDL_GetWindowData
SDL_GetWindowGammaRamp
SDL_GetWindowSurface
SDL_GetWindowWMInfo
SDL_SetWindowBordered
SDL_SetWindowData
SDL_SetWindowFullscreen
SDL_SetWindowGammaRamp
SDL_SetWindowTitle
SDL_ShowMessageBox
SDL_UpdateWindowSurface
SDL_UpdateWindowSurfaceRects
--------------------------------------------------------------------------------
Render
SDL_GetRenderDriverInfo
SDL_GetRendererInfo
SDL_RenderReadPixels
SDL_UpdateYUVTexture
--------------------------------------------------------------------------------
Pixels
SDL_AllocPalette
SDL_CalculateGammaRamp
SDL_FreePalette
SDL_GetPixelFormatName
SDL_GetRGB
SDL_GetRGBA
SDL_MasksToPixelFormatEnum
SDL_PixelFormatEnumToMasks
SDL_SetPaletteColors
SDL_SetPixelFormatPalette
--------------------------------------------------------------------------------
Rect
(done)
--------------------------------------------------------------------------------
Surface
SDL_ConvertPixels
SDL_ConvertSurface
SDL_ConvertSurfaceFormat
SDL_CreateRGBSurfaceFrom
SDL_GetClipRect
SDL_GetColorKey
SDL_GetSurfaceBlendMode
SDL_GetSurfaceColorMod
SDL_LoadBMP
SDL_LowerBlit
SDL_LowerBlitScaled
SDL_MUSTLOCK
SDL_SaveBMP
SDL_SaveBMP_RW
SDL_SetClipRect
SDL_SetSurfaceBlendMode
SDL_SetSurfaceColorMod
SDL_SetSurfacePalette
SDL_SetSurfaceRLE
--------------------------------------------------------------------------------
SWM
SDL_GetWindowWMInfo
--------------------------------------------------------------------------------
Clipboard
(done)
--------------------------------------------------------------------------------
Events
SDL_DelEventWatch
SDL_EventState
SDL_FilterEvents
SDL_FlushEvent
SDL_FlushEvents
SDL_GetEventFilter
SDL_GetNumTouchDevices
SDL_GetNumTouchFingers
SDL_GetTouchDevice
SDL_GetTouchFinger
SDL_HasEvent
SDL_HasEvents
SDL_LoadDollarTemplates
SDL_PeepEvents
SDL_PumpEvents
SDL_PushEvent
SDL_QuitRequested
SDL_RecordGesture
SDL_RegisterEvents
SDL_SaveAllDollarTemplates
SDL_SaveDollarTemplate
SDL_SetEventFilter
SDL_WaitEvent
SDL_WaitEventTimeout
--------------------------------------------------------------------------------
Keyboard
SDL_GetKeyboardState
--------------------------------------------------------------------------------
Mouse
SDL_CreateCursor
--------------------------------------------------------------------------------
Joystick
SDL_JoystickEventState
SDL_JoystickGetAttached
SDL_JoystickGetDeviceGUID
SDL_JoystickGetGUID
SDL_JoystickGetGUIDFromString
SDL_JoystickGetGUIDString
SDL_JoystickInstanceID
SDL_JoystickNameForIndex
SDL_NumJoysticks
SDL_JoystickOpen
SDL_JoystickName
SDL_JoystickNumAxes
SDL_JoystickNumBalls
SDL_JoystickNumHats
SDL_JoystickNumButtons
SDL_JoystickUpdate
SDL_JoystickGetAxis
SDL_JoystickGetHat
SDL_JoystickGetBall
SDL_JoystickGetButton
SDL_JoystickClose
--------------------------------------------------------------------------------
GameController
SDL_GameControllerAddMapping
SDL_GameControllerAddMappingsFromFile
SDL_GameControllerClose
SDL_GameControllerEventState
SDL_GameControllerGetAttached
SDL_GameControllerGetAxis
SDL_GameControllerGetAxisFromString
SDL_GameControllerGetBindForAxis
SDL_GameControllerGetBindForButton
SDL_GameControllerGetButton
SDL_GameControllerGetButtonFromString
SDL_GameControllerGetJoystick
SDL_GameControllerGetStringForAxis
SDL_GameControllerGetStringForButton
SDL_GameControllerMapping
SDL_GameControllerMappingForGUID
SDL_GameControllerName
SDL_GameControllerNameForIndex
SDL_GameControllerOpen
SDL_GameControllerUpdate
SDL_IsGameController
--------------------------------------------------------------------------------
ForceFeedback
SDL_HapticClose
SDL_HapticDestroyEffect
SDL_HapticEffectSupported
SDL_HapticGetEffectStatus
SDL_HapticIndex
SDL_HapticName
SDL_HapticNewEffect
SDL_HapticNumAxes
SDL_HapticNumEffects
SDL_HapticNumEffectsPlaying
SDL_HapticOpen
SDL_HapticOpenFromJoystick
SDL_HapticOpenFromMouse
SDL_HapticOpened
SDL_HapticPause
SDL_HapticQuery
SDL_HapticRumbleInit
SDL_HapticRumblePlay
SDL_HapticRumbleStop
SDL_HapticRumbleSupported
SDL_HapticRunEffect
SDL_HapticSetAutocenter
SDL_HapticSetGain
SDL_HapticStopAll
SDL_HapticStopEffect
SDL_HapticUnpause
SDL_HapticUpdateEffect
SDL_JoystickIsHaptic
SDL_MouseIsHaptic
SDL_NumHaptics
--------------------------------------------------------------------------------
Audio
SDL_BuildAudioCVT
SDL_ConvertAudio
SDL_LoadWAV
--------------------------------------------------------------------------------
Thread
SDL_CreateThread
SDL_GetThreadID
SDL_GetThreadName
SDL_SetThreadPriority
SDL_TLSCreate
SDL_TLSGet
SDL_TLSSet
SDL_ThreadID
SDL_WaitThread
--------------------------------------------------------------------------------
Mutex
--------------------------------------------------------------------------------
Atomic
--------------------------------------------------------------------------------
Filesystem
--------------------------------------------------------------------------------
IO
--------------------------------------------------------------------------------
SharedObject
--------------------------------------------------------------------------------
Platform
--------------------------------------------------------------------------------
CPU
--------------------------------------------------------------------------------
Endian
--------------------------------------------------------------------------------
Power
--------------------------------------------------------------------------------
System
--------------------------------------------------------------------------------
AdditionalOther
--------------------------------------------------------------------------------
-- I still need to sort these:
SDL_AllocRW
SDL_AndroidGetActivity
SDL_AndroidGetExternalStoragePath
SDL_AndroidGetExternalStorageState
SDL_AndroidGetInternalStoragePath
SDL_AndroidGetJNIEnv
SDL_AtomicAdd
SDL_AtomicCAS
SDL_AtomicCASPtr
SDL_AtomicDecRef
SDL_AtomicGet
SDL_AtomicGetPtr
SDL_AtomicIncRef
SDL_AtomicLock
SDL_AtomicSet
SDL_AtomicSetPtr
SDL_AtomicTryLock
SDL_AtomicUnlock
SDL_AudioInit
SDL_AudioQuit
SDL_BlitScaled
SDL_BlitSurface
SDL_BuildAudioCVT
SDL_COMPILEDVERSION
SDL_CalculateGammaRamp
SDL_CloseAudio
SDL_CloseAudioDevice
SDL_CompilerBarrier
SDL_CondBroadcast
SDL_CondSignal
SDL_CondWait
SDL_CondWaitTimeout
SDL_ConvertAudio
SDL_ConvertPixels
SDL_ConvertSurface
SDL_ConvertSurfaceFormat
SDL_CreateCond
SDL_CreateCursor
SDL_CreateMutex
SDL_CreateRGBSurface
SDL_CreateRGBSurfaceFrom
SDL_CreateSemaphore
SDL_CreateThread
SDL_CreateWindowFrom
SDL_DelEventWatch
SDL_DestroyCond
SDL_DestroyMutex
SDL_DestroySemaphore
SDL_DetachThread
SDL_EnclosePoints
SDL_EventState
SDL_FillRect
SDL_FillRects
SDL_FilterEvents
SDL_FlushEvent
SDL_FlushEvents
SDL_FreePalette
SDL_FreeRW
SDL_GL_GetAttribute
SDL_GL_GetDrawableSize
SDL_GL_GetProcAddress
SDL_GL_GetSwapInterval
SDL_GL_LoadLibrary
SDL_GL_MakeCurrent
SDL_GL_SetAttribute
SDL_GL_SetSwapInterval
SDL_GL_UnloadLibrary
SDL_GetClipRect
SDL_GetClosestDisplayMode
SDL_GetColorKey
SDL_GetCurrentDisplayMode
SDL_GetDesktopDisplayMode
SDL_GetDisplayMode
SDL_GetDisplayName
SDL_GetEventFilter
SDL_GetKeyboardState
SDL_GetMouseFocus
SDL_GetNumDisplayModes
SDL_GetNumTouchDevices
SDL_GetNumTouchFingers
SDL_GetNumVideoDisplays
SDL_GetNumVideoDrivers
SDL_GetPerformanceCounter
SDL_GetPerformanceFrequency
SDL_GetPixelFormatName
SDL_GetRGB
SDL_GetRGBA
SDL_GetRelativeMouseMode
SDL_GetRenderDriverInfo
SDL_GetRendererInfo
SDL_GetSurfaceAlphaMod
SDL_GetSurfaceBlendMode
SDL_GetSurfaceColorMod
SDL_GetSystemRAM
SDL_GetThreadID
SDL_GetThreadName
SDL_GetTouchDevice
SDL_GetTouchFinger
SDL_GetVideoDriver
SDL_GetWindowData
SDL_GetWindowDisplayMode
SDL_GetWindowFlags
SDL_GetWindowGammaRamp
SDL_GetWindowSize
SDL_GetWindowSurface
SDL_GetWindowTitle
SDL_GetWindowWMInfo
SDL_HasEvent
SDL_HasEvents
SDL_HasIntersection
SDL_IntersectRect
SDL_IntersectRectAndLine
SDL_IsGameController
SDL_JoystickEventState
SDL_JoystickGetAttached
SDL_JoystickGetDeviceGUID
SDL_JoystickGetGUID
SDL_JoystickGetGUIDFromString
SDL_JoystickGetGUIDString
SDL_JoystickInstanceID
SDL_JoystickIsHaptic
SDL_JoystickNameForIndex
SDL_LoadBMP
SDL_LoadDollarTemplates
SDL_LoadFunction
SDL_LoadObject
SDL_LoadWAV
SDL_LoadWAV_RW
SDL_LockMutex
SDL_LowerBlit
SDL_LowerBlitScaled
SDL_MUSTLOCK
SDL_MasksToPixelFormatEnum
SDL_MouseIsHaptic
SDL_NumJoysticks
SDL_OpenAudio
SDL_PauseAudio
SDL_PeepEvents
SDL_PixelFormatEnumToMasks
SDL_PumpEvents
SDL_PushEvent
SDL_QuitRequested
SDL_REVISION
SDL_RWFromConstMem
SDL_RWFromFP
SDL_RWFromMem
SDL_RWclose
SDL_RWread
SDL_RWseek
SDL_RWtell
SDL_RWwrite
SDL_ReadBE16
SDL_ReadBE32
SDL_ReadBE64
SDL_ReadLE16
SDL_ReadLE32
SDL_ReadLE64
SDL_RecordGesture
SDL_RectEmpty
SDL_RectEquals
SDL_RegisterEvents
SDL_RenderReadPixels
SDL_SaveAllDollarTemplates
SDL_SaveBMP
SDL_SaveBMP_RW
SDL_SaveDollarTemplate
SDL_SemPost
SDL_SemTryWait
SDL_SemValue
SDL_SemWait
SDL_SemWaitTimeout
SDL_SetClipRect
SDL_SetEventFilter
SDL_SetPaletteColors
SDL_SetPixelFormatPalette
SDL_SetRelativeMouseMode
SDL_SetSurfaceAlphaMod
SDL_SetSurfaceBlendMode
SDL_SetSurfaceColorMod
SDL_SetSurfacePalette
SDL_SetSurfaceRLE
SDL_SetThreadPriority
SDL_SetWindowBordered
SDL_SetWindowData
SDL_SetWindowDisplayMode
SDL_SetWindowFullscreen
SDL_SetWindowGammaRamp
SDL_SetWindowTitle
SDL_ShowMessageBox
SDL_Swap16
SDL_Swap32
SDL_Swap64
SDL_SwapBE16
SDL_SwapBE32
SDL_SwapBE64
SDL_SwapFloat
SDL_SwapFloatBE
SDL_SwapFloatLE
SDL_SwapLE16
SDL_SwapLE32
SDL_SwapLE64
SDL_TICKS_PASSED
SDL_TLSCreate
SDL_TLSGet
SDL_TLSSet
SDL_ThreadID
SDL_TryLockMutex
SDL_UnionRect
SDL_UnloadObject
SDL_UnlockMutex
SDL_UpdateWindowSurface
SDL_UpdateWindowSurfaceRects
SDL_UpdateYUVTexture
SDL_VERSION
SDL_VERSIONNUM
SDL_VERSION_ATLEAST
SDL_VideoInit
SDL_VideoQuit
SDL_WaitEvent
SDL_WaitEventTimeout
SDL_WaitThread
SDL_WarpMouseInWindow
SDL_WriteBE16
SDL_WriteBE32
SDL_WriteBE64
SDL_WriteLE16
SDL_WriteLE32
SDL_WriteLE64