Skip to content

feat(native): enable the GPU test renderer and captureScreenshot on Linux via the test-support feature - #94

Draft
knoopx wants to merge 2 commits into
remorses:mainfrom
knoopx:main
Draft

knoopx wants to merge 2 commits into
remorses:mainfrom
knoopx:main

Conversation

@knoopx

@knoopx knoopx commented Oct 19, 2026 •

Copy link
Copy Markdown

Trying to get the test renderer working on wayland/linux, so far i managed to compile and run locally, trying to contribute the necessary fixes. This PR is the gpuix crate side, but it also needs the zed changes in remorses/zed#12

tested working on NixOS 26.11 (Zokor) x86_64 / niri 26.04 (Wayland)

@knoopx
knoopx marked this pull request as draft October 19, 2026 17:20
fdarian added a commit to fdarian/gpuix that referenced this pull request Oct 23, 2026
…dow and after setWindowSize (round 15c, remorses#94 window size)

FF's check-home-grid failed on a 1512 pt display ("1600px: the viewport container is the window wide: 1512 (expected 1600)") and passed on a 1920 pt one: the check window was clamped to the screen. The remorses#86 commit keeps the test renderer's window frame; this one pins a window wider and taller than the primary display (read through `screen`), at creation and after `setWindowSize`, with its `100vw` x `100vh` box and PNG size at scale 1 and 2. zed's `Window::resize` is exempt from AppKit's screen cap for any window, a live one included (gpuix has no live resize API of its own).

Test: react screenshot-scale (11 tests); offscreen-animation-work and font-smoothing pass unchanged; zed gpui_macos window_resize.
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