Skip to content

Cache depthDataFormat in Depth and move GPU depth conversion logic to GPUDepthConverter - #299

Merged
dli7319 merged 1 commit into
google:mainfrom
dli7319:depth
May 22, 2026
Merged

Cache depthDataFormat in Depth and move GPU depth conversion logic to GPUDepthConverter#299
dli7319 merged 1 commit into
google:mainfrom
dli7319:depth

Conversation

@dli7319

@dli7319 dli7319 commented May 22, 2026

Copy link
Copy Markdown
Collaborator
  • Add session-wide depthDataFormat caching to Depth.ts.
  • Refactor WebGL GPU-to-CPU depth conversion into src/depth/GPUDepthConverter.ts.
  • Simplify DepthMesh to strictly accept CPU depth, removing all conversion properties and logic.
  • Add updateFullResolutionDepthMesh() parameterless helper to Depth.ts.
  • Update demos/splash/SplashScript.js to call updateFullResolutionDepthMesh().

… GPUDepthConverter

- Add session-wide depthDataFormat caching to Depth.ts.
- Refactor WebGL GPU-to-CPU depth conversion into src/depth/GPUDepthConverter.ts.
- Simplify DepthMesh to strictly accept CPU depth, removing all conversion properties and logic.
- Add updateFullResolutionDepthMesh() parameterless helper to Depth.ts.
- Update demos/splash/SplashScript.js to call updateFullResolutionDepthMesh().
@dli7319
dli7319 requested a review from ruofeidu May 22, 2026 00:17
@dli7319
dli7319 merged commit 0550ffc into google:main May 22, 2026
8 checks passed
@dli7319
dli7319 deleted the depth branch May 22, 2026 00:23
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.

2 participants