mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Allow VR RAF loop to handle changes in the layer, support pending renderstates
This commit is contained in:
parent
401b470e90
commit
e20909cf43
4 changed files with 170 additions and 44 deletions
|
@ -26,6 +26,7 @@ interface XRSession : EventTarget {
|
|||
|
||||
// FrozenArray<XRInputSource> getInputSources();
|
||||
|
||||
Promise<void> updateRenderState(optional XRRenderStateInit state);
|
||||
long requestAnimationFrame(XRFrameRequestCallback callback);
|
||||
void cancelAnimationFrame(long handle);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue