Skip to content

Reduce Yoga callback pressure for native text measurement - #1219

Merged
kommander merged 14 commits into
mainfrom
debug-win-crash
Jul 3, 2026
Merged

Reduce Yoga callback pressure for native text measurement#1219
kommander merged 14 commits into
mainfrom
debug-win-crash

Conversation

@kommander

Copy link
Copy Markdown
Collaborator
  • Route JS Yoga measure/dirtied callbacks through shared native callbacks.
  • Move TextRenderable and TextareaRenderable measurement to native-backed renderables.
  • Preserve existing JS setMeasureFunc support for other renderables.
  • Add parity/stress tests for native-backed measurement and callback routing.

@kommander
kommander merged commit b15b909 into main Jul 3, 2026
29 checks passed
@kommander
kommander deleted the debug-win-crash branch July 3, 2026 09:21
LeXwDeX pushed a commit to LeXwDeX/OpenTUI that referenced this pull request Jul 6, 2026
…1219)

- Route JS Yoga measure/dirtied callbacks through shared native
callbacks.
- Move `TextRenderable` and `TextareaRenderable` measurement to
native-backed renderables.
- Preserve existing JS `setMeasureFunc` support for other renderables.
- Add parity/stress tests for native-backed measurement and callback
routing.
Co-Authored-By: Lex's Agent <lex-agent@noreply.local>
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