Skip to content

docs(mode-switching): macOS lens row; smooth 2D/3D transitions are app-side on every arm - #331

Merged
dfattal merged 1 commit into
mainfrom
docs/mode-switch-macos-and-easing
Oct 12, 2026
Merged

dfattal merged 1 commit into
mainfrom
docs/mode-switch-macos-and-easing

Conversation

@dfattal

@dfattal dfattal commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Doc-only.

  • macOS row in the per-platform table of docs/display-mode-switching.md. Since drv_leia_macos (feat(macos): Leia SR Metal display-processor arm (drv_leia_macos) #324), request_display_mode calls srLensEnable/srLensDisable under the Linux lens-ownership rules (leia_lens_owner_linux.h), and the table never said so.
  • New section: smooth 2D/3D transitions are app-side on every arm. I audited all four arms: none has a weaver fade, a lens-settle hold or a cross-fade, and the runtime has none either. The soft V-key transition on Windows is the app's dxr::ModeSwitch from displayxr-common: ramp disparity to 0, then request 2D; request 3D, then ramp up. So a harsh switch on any arm, macOS on the Odyssey included, is diagnosed in the app first. The runtime's app linter now flags apps that skip the sequencer (INV-2.9).

Companion PRs: DisplayXR/displayxr-common#73 (the one-call ModeSwitch::step() + README contract) and the runtime PR that moves the macOS test apps onto it.

🤖 Generated with Claude Code

…p-side on every arm

The per-platform table had no macOS row since drv_leia_macos landed (#324):
it uses srLensEnable/srLensDisable under the Linux lens-ownership rules
(leia_lens_owner_linux.h). Also records that no arm eases a mode switch (no
weaver fade, lens-settle hold or cross-fade): the smooth Windows transition is
the app's dxr::ModeSwitch (displayxr-common), so a harsh switch is diagnosed in
the app, not here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dfattal
dfattal marked this pull request as ready for review October 12, 2026 03:17
@dfattal
dfattal merged commit 3d1757a into main Oct 12, 2026
16 checks passed
@dfattal
dfattal deleted the docs/mode-switch-macos-and-easing branch October 12, 2026 03:17
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