Add Glanceboard depth setting

This commit is contained in:
James Babcock committed 2026-09-24 02:26:20 -07:00
1 parent 71c1971992
commit 915f155819
29 files changed
+262 -50

No files matched your search

+10
View File
@@ -550,6 +550,16 @@ export class FaceclawCommunicatorBridge {
});
}
/**
* Stereo depth for a surface, applied while it is the topmost visible
* surface and opaquely covers the screen; takes effect at its next frame.
*/
async setSurfaceDepth(id: string, depth: number): Promise<void> {
await this.enqueueJavaCall(() => {
this.communicator.setSurfaceDepth(id, Math.round(depth));
});
}
/**
* Blank (screen off) or unblank the composited output; retained surface
* state survives, so unblanking restores the screen without repaints.