Skip to content

Own queued payloads and refresh macOS Retina backing - #51

Merged
corepunch merged 1 commit into
mainfrom
codex/owned-events-retina
Oct 28, 2026
Merged

corepunch merged 1 commit into
mainfrom
codex/owned-events-retina

Conversation

@corepunch

Copy link
Copy Markdown
Owner

Queued message data could be overwritten by later posts, and owned payloads had no consistent cleanup when messages were canceled, coalesced, rejected, or discarded. Add transferable payload ownership across platform queues, release detached payloads outside queue mutation/locks, and keep coalescing scoped to the target.

Refresh the macOS OpenGL backing scale and context on screen/backing changes, then request a logical resize and repaint. Keep layout and input coordinates in points.

Validation:

  • iOS queue tests, including reentrant disposal and current display-callback delivery semantics.
  • macOS event lifetime tests with NSZombieEnabled.
  • ORCA native payload and real 2x Retina tests passed before rebasing; the ORCA PR validates the merged dependency again.

Native targets and opaque unreflected pointers remain borrowed. Non-Apple backends were reviewed but not compiled with their native toolchains.

@corepunch
corepunch merged commit 444250b into main Oct 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant