Files
Chris Tate 8fc933b9db fix(windows): accelerate gpu surface presentation (#258)
* fix(windows): accelerate gpu surface presentation

- Render retained binary canvas packets through Direct2D and DirectWrite.
- Preserve dirty-region updates and GPU effects with a safe software fallback.
- Wire and validate the renderer across supported Windows build paths.

Co-authored-by: Omer Shatzberg <131801941+oshtz@users.noreply.github.com>

* fix(windows): harden Direct2D presentation

* fix(sdk): separate GPU backend request types

* fix(windows): honor GPU surface fallback contracts

* fix(windows): scale transformed blur kernels

* fix: harden Windows GPU surface presentation

* fix(windows): harden gpu blur and caption sampling

* fix(runtime): bypass packets for software surfaces

* fix(windows): preserve precise gpu surface updates

* fix(windows): reconcile GPU presenter state

* fix: preserve retained canvas resources

* fix: preserve Windows canvas packet fidelity

---------

Co-authored-by: Omer Shatzberg <131801941+oshtz@users.noreply.github.com>
2026-08-02 15:59:44 -05:00
..
2026-06-24 21:06:24 -05:00

Native SDK native-shell example

This example shows the native-first app shape:

  • Native toolbar, sidebar, title accessory, and statusbar views.
  • Main WebView used as the content workspace.
  • One app.refresh command handled from the native menu, native button, command bridge, and app shortcut.
  • Preview commands that create and close a child WebView from Zig.
  • Manifest command catalog listing from the WebView.
  • App.scene_fn returning the native shell scene at startup.
  • .shell metadata in app.zon that mirrors the runtime view structure.

Run with the system backend:

zig build run -Dplatform=macos -Dweb-engine=system

Run the headless test path:

zig build test -Dplatform=null

Run the macOS automation smoke path from the repository root:

zig build test-native-shell-smoke -Dplatform=macos