-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revisit a way to surface depth API to the app? #10
Comments
We have few options here:
A bit of background regarding Chrome's current implementation: renderer receives new depth information data on every frame (via a shared memory buffer coming from device's process). The allocation + copy on the device side is unavoidable since we need to have a way of getting the data out of ARCore. The depth data buffer is passed on & stored on the renderer side, and is copied every time an app requests an instance of XRDepthInformation. |
More thoughts on the above options and how they could change Chrome's implementation.
|
Quote from twitter's @mrmaxm:
https://twitter.com/mrmaxm/status/1333516895975305218
"Or look into similar approach of Hand Tracking API with providing allocated array into function, which will fill it with data.
Allocations - is very important issue with realtime apps."
The text was updated successfully, but these errors were encountered: