Igalia / wolvic

A fast and secure browser for standalone virtual-reality and augmented-reality headsets.
https://wolvic.org
Mozilla Public License 2.0
796 stars 100 forks source link

Introduce dropFrame in VRBrowserState #1272

Closed mshin-wolvic closed 7 months ago

mshin-wolvic commented 7 months ago

This patch introduces dropFrame in VRBrowserState for chromium backend to discard the current frame and wait for the next tick of vsync. Also, this prevents from visiting StartFrame/EndFrame to keep the current scene when discarding frame.