Repository navigation
Conversation
…h, privacy, phases Proposal for bringing XR_DXR_stereo_camera to the Android tablets so the DisplayXR Browser can offer the stereo pair to pages. Design only. - Ownership options (runtime satellite + in-app tracking, vendor service shares frames, runtime pushes into the vendor service, time-slicing, Chromium Camera2) with the vendor capabilities each needs, marked confirmed / unconfirmed. Recommends rear pair first, option R near term, vendor-owned pair as the end state. - Android browser path: capture device in front of the Android platform factory, CAMERA_CONSUMER from the browser process, same-package satellite routing; relation to browser-pvt#175. - Rectification cost at 2x1280x720, calibration sources, output contract matching the web SDK, eye-order gate. - Android consent: package + signing-cert identity (exe path does not identify Android apps), peer CAMERA permission, OS while-in-use as the foreground gate, runtime notification as the indicator. - ABI: A1 needs none; zero-copy needs an appended wait_frame2 slot because the frame struct has no struct_size. - Gated phases A0a..A4, B2a/B2b, V; open questions for the owner and vendor. Pointer added to stereo-camera-source.md §C and docs/README.md. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
dfattal
force-pushed
the
docs/stereo-camera-android
branch
from
October 6, 2026 08:05
88163f3 to
a5aa52e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Design proposal, no code: how to bring
XR_DXR_stereo_camera(ADR-043) to the Android tablets so the DisplayXR Browser can offer the stereo pair to pages for 3D calls, as it now does on Windows.New:
docs/roadmap/stereo-camera-android.md. Touched: a pointer paragraph indocs/roadmap/stereo-camera-source.md§C, plus an index line indocs/README.md.Base:
main, because ADR-043, the spec and the roadmap are onmain. The runtime code it cites is onfeat/stereo-camera-r3@b567f3203(#1819), and those citations are marked r3:. The §C pointer touches the same file #1819 edits heavily, so expect a trivial conflict on whichever lands second.Recommendation
CAMERA_CONSUMERconnection from the capture process. That connection lands in the same satellite, because the slot broker reuses the slot for the same package. CPU NV12 first, AHB later. It is independent of browser-pvt#175.Findings the doc records
android_package_is_visiblereports package visibility, not foreground, so spec §7.1 misuses it.pid_has_visible_window()returnstrueon Android.xrt_plugin_stereo_camera_framehas nostruct_size. Zero-copy therefore needs an appendedstereo_camera_wait_frame2slot.Phases
A0a/A0b (cheapest de-risk; tablet) → A1 rear pair → A2 Android privacy → B2a browser rear → A3 front pair (option R; vendor) → B2b product gate → A4 AHB/GPU. Option V runs in parallel. Each phase has a checkable gate.
Checks
check_doc_paths.py,gen_adr_index.py --check,gen_extensions_index.py --check.🤖 Generated with Claude Code