Skip to content

Instantly share code, notes, and snippets.

@icculus
Last active February 20, 2026 16:27
Show Gist options
  • Select an option

  • Save icculus/3545d69c12bb160b99fdb05d6c5af34f to your computer and use it in GitHub Desktop.

Select an option

Save icculus/3545d69c12bb160b99fdb05d6c5af34f to your computer and use it in GitHub Desktop.
SDL3 functions that don't currently have `\threadsafety` tags...
SDL_AcquireGPUCommandBuffer
SDL_BeginGPUComputePass
SDL_BeginGPUCopyPass
SDL_BeginGPURenderPass
SDL_BindGPUComputePipeline
SDL_BindGPUComputeSamplers
SDL_BindGPUComputeStorageBuffers
SDL_BindGPUComputeStorageTextures
SDL_BindGPUFragmentSamplers
SDL_BindGPUFragmentStorageBuffers
SDL_BindGPUFragmentStorageTextures
SDL_BindGPUGraphicsPipeline
SDL_BindGPUIndexBuffer
SDL_BindGPUVertexBuffers
SDL_BindGPUVertexSamplers
SDL_BindGPUVertexStorageBuffers
SDL_BindGPUVertexStorageTextures
SDL_BlitGPUTexture
SDL_CalculateGPUTextureFormatSize
SDL_CancelGPUCommandBuffer
SDL_CloseHaptic
SDL_CloseSensor
SDL_CloseStorage
SDL_CopyGPUBufferToBuffer
SDL_CopyGPUTextureToTexture
SDL_CopyStorageFile
SDL_CreateGPUBuffer
SDL_CreateGPUComputePipeline
SDL_CreateGPUDevice
SDL_CreateGPUDeviceWithProperties
SDL_CreateGPUGraphicsPipeline
SDL_CreateGPUSampler
SDL_CreateGPUShader
SDL_CreateGPUTexture
SDL_CreateGPUTransferBuffer
SDL_CreateGPUXRSession
SDL_CreateGPUXRSwapchain
SDL_CreateHapticEffect
SDL_CreateStorageDirectory
SDL_DestroyGPUDevice
SDL_DestroyGPUXRSwapchain
SDL_DestroyHapticEffect
SDL_DispatchGPUCompute
SDL_DispatchGPUComputeIndirect
SDL_DownloadFromGPUBuffer
SDL_DownloadFromGPUTexture
SDL_DrawGPUIndexedPrimitives
SDL_DrawGPUIndexedPrimitivesIndirect
SDL_DrawGPUPrimitives
SDL_DrawGPUPrimitivesIndirect
SDL_EndGPUComputePass
SDL_EndGPUCopyPass
SDL_EndGPURenderPass
SDL_EnumerateStorageDirectory
SDL_GDKResumeGPU
SDL_GDKSuspendGPU
SDL_GenerateMipmapsForGPUTexture
SDL_GetAndroidCachePath
SDL_GetAndroidExternalStoragePath
SDL_GetAndroidExternalStorageState
SDL_GetAndroidInternalStoragePath
SDL_GetDirect3D9AdapterIndex
SDL_GetDXGIOutputInfo
SDL_GetGDKDefaultUser
SDL_GetGDKTaskQueue
SDL_GetGPUDeviceDriver
SDL_GetGPUDriver
SDL_GetGPUShaderFormats
SDL_GetGPUSwapchainTextureFormat
SDL_GetGPUTextureFormatFromPixelFormat
SDL_GetGPUXRSwapchainFormats
SDL_GetHapticEffectStatus
SDL_GetHapticFeatures
SDL_GetHapticFromID
SDL_GetHapticID
SDL_GetHapticName
SDL_GetHapticNameForID
SDL_GetHaptics
SDL_GetMaxHapticEffects
SDL_GetMaxHapticEffectsPlaying
SDL_GetNumGPUDrivers
SDL_GetNumHapticAxes
SDL_GetPixelFormatFromGPUTextureFormat
SDL_GetSandbox
SDL_GetSensorData
SDL_GetSensorFromID
SDL_GetSensorID
SDL_GetSensorName
SDL_GetSensorNameForID
SDL_GetSensorNonPortableType
SDL_GetSensorNonPortableTypeForID
SDL_GetSensorProperties
SDL_GetSensors
SDL_GetSensorType
SDL_GetSensorTypeForID
SDL_GetStorageFileSize
SDL_GetStoragePathInfo
SDL_GetStorageSpaceRemaining
SDL_GetTouchDeviceName
SDL_GetTouchDevices
SDL_GetTouchDeviceType
SDL_GetTouchFingers
SDL_GPUSupportsProperties
SDL_GPUSupportsShaderFormats
SDL_GPUTextureFormatTexelBlockSize
SDL_GPUTextureSupportsFormat
SDL_GPUTextureSupportsSampleCount
SDL_HapticEffectSupported
SDL_HapticRumbleSupported
SDL_hid_ble_scan
SDL_hid_close
SDL_hid_device_change_count
SDL_hid_enumerate
SDL_hid_exit
SDL_hid_free_enumeration
SDL_hid_get_device_info
SDL_hid_get_feature_report
SDL_hid_get_indexed_string
SDL_hid_get_input_report
SDL_hid_get_manufacturer_string
SDL_hid_get_product_string
SDL_hid_get_properties
SDL_hid_get_report_descriptor
SDL_hid_get_serial_number_string
SDL_hid_init
SDL_hid_open
SDL_hid_open_path
SDL_hid_read
SDL_hid_read_timeout
SDL_hid_send_feature_report
SDL_hid_set_nonblocking
SDL_hid_write
SDL_InitHapticRumble
SDL_InsertGPUDebugLabel
SDL_IsJoystickHaptic
SDL_IsMouseHaptic
SDL_MapGPUTransferBuffer
SDL_OpenFileStorage
SDL_OpenHaptic
SDL_OpenHapticFromJoystick
SDL_OpenHapticFromMouse
SDL_OpenSensor
SDL_OpenStorage
SDL_OpenTitleStorage
SDL_OpenUserStorage
SDL_OpenXR_GetXrGetInstanceProcAddr
SDL_PauseHaptic
SDL_PlayHapticRumble
SDL_PopGPUDebugGroup
SDL_PushGPUComputeUniformData
SDL_PushGPUDebugGroup
SDL_PushGPUFragmentUniformData
SDL_PushGPUVertexUniformData
SDL_QueryGPUFence
SDL_ReadStorageFile
SDL_ReleaseGPUBuffer
SDL_ReleaseGPUComputePipeline
SDL_ReleaseGPUFence
SDL_ReleaseGPUGraphicsPipeline
SDL_ReleaseGPUSampler
SDL_ReleaseGPUShader
SDL_ReleaseGPUTexture
SDL_ReleaseGPUTransferBuffer
SDL_ReleaseWindowFromGPUDevice
SDL_RemoveStoragePath
SDL_RenameStoragePath
SDL_ResumeHaptic
SDL_RunHapticEffect
SDL_SetGPUAllowedFramesInFlight
SDL_SetGPUBlendConstants
SDL_SetGPUScissor
SDL_SetGPUStencilReference
SDL_SetGPUSwapchainParameters
SDL_SetGPUViewport
SDL_SetHapticAutocenter
SDL_SetHapticGain
SDL_StopHapticEffect
SDL_StopHapticEffects
SDL_StopHapticRumble
SDL_StorageReady
SDL_SubmitGPUCommandBuffer
SDL_SubmitGPUCommandBufferAndAcquireFence
SDL_UnmapGPUTransferBuffer
SDL_UpdateHapticEffect
SDL_UpdateSensors
SDL_UploadToGPUBuffer
SDL_UploadToGPUTexture
SDL_Vulkan_CreateSurface
SDL_Vulkan_DestroySurface
SDL_Vulkan_GetInstanceExtensions
SDL_Vulkan_GetPresentationSupport
SDL_Vulkan_GetVkGetInstanceProcAddr
SDL_WaitForGPUFences
SDL_WaitForGPUIdle
SDL_WindowSupportsGPUPresentMode
SDL_WindowSupportsGPUSwapchainComposition
SDL_WriteStorageFile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment