Skip to content

Add CPU pixel presentation#175

Merged
treeform merged 3 commits into
masterfrom
windy-cpu
Jul 10, 2026
Merged

Add CPU pixel presentation#175
treeform merged 3 commits into
masterfrom
windy-cpu

Conversation

@treeform

@treeform treeform commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a -d:useCpu Windy backend path that creates windows without an OpenGL context.
  • Add window.presentPixels(image) for CPU-rendered Pixie images.
  • Present CPU pixels through Win32 StretchDIBits on Windows.
  • Present CPU pixels through a plain AppKit NSView on macOS.
  • Keep CPU smoke coverage for both Windows and macOS.

Validation

  • nim r -d:useCpu tests/test_cpu_pixels.nim on macOS
  • nim check --os:windows -d:useCpu tests/test_cpu_pixels.nim
  • git diff --check

@treeform treeform changed the title [codex] add CPU pixel presentation Add CPU pixel presentation Jun 17, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
@treeform treeform marked this pull request as ready for review July 10, 2026 23:40
Co-authored-by: Cursor <cursoragent@cursor.com>
@treeform treeform merged commit 3030e65 into master Jul 10, 2026
3 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