[Good First Issue] Implement XSystemHandleTrack and XSystemIsHandleValid handle registry in xgameruntime #22
Labels
No labels
accessibility
bug
cross-platform
documentation
duplicate
enhancement
gdk-shims
good first issue
graphics
hardware-report
help wanted
invalid
question
shaders
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/californiaAlmonds--OpenScarlett#22
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@californiaAlmonds on GitHub · 2026-11-22 08:35 UTC · original
Summary
Real GDK / GDKX titles and middleware use
XSystemHandleTrackandXSystemIsHandleValidto track GDK runtime handles and detect invalid/stale handle usage. Implementing a real thread-safe handle registry inxgameruntimecloses a clean, self-contained GDK compatibility gap.Scope
xgameruntime(src/shims/).XSystemHandleTrack(register handle + callback/type tracking)XSystemIsHandleValid(validate tracked handles and properly reject null, unknown, or closed handles)XTaskQueueHandle,XUserHandle,XStoreContextHandle, etc.) into the tracker where appropriate.Acceptance Criteria
xgameruntime.dlland declared in headers.ctest --output-on-failurewith 0 warnings.Ideal first contribution to OpenScarlett! Claim it in a comment or chat with us on Discord: https://discord.gg/sShMY2fjR