native
native copied to clipboard
feat(Multi-touch Gestures): Add GPU surface magnify input gesture support
What changed
- adds
GpuSurfaceInputKind.magnifyat ABI ordinal 12 without renumbering existing input kinds - forwards AppKit
magnifyWithEvent:with cursor-local coordinates and incremental magnification indelta_y - keeps widget pointer/keyboard routing exhaustive and adds platform mapping tests
- documents the macOS GPU-surface input contract
Why
Native-rendered timeline and canvas applications need first-class trackpad pinch input. Previously AppKit received magnify gestures but the Native SDK GPU-surface event API dropped them before applications could respond.
Validation
zig build testzig build validatezig build test-appkit-gpu-magnify-input- frontend, native, and mobile example suites
- benchmark gate
- docs typecheck and production build with pnpm 10.23.0
zig fmt --checkgit diff --check
The optional CEF host compile was skipped because the local CEF runtime is not installed; this change is confined to the system AppKit host.
@jhodges10 is attempting to deploy a commit to the Vercel Labs Team on Vercel.
A member of the Team first needs to authorize it.
@jhodges10 Great catch! I fixed this and a few other issues in #141 and added you as a co-author