mirror of
https://github.com/servo/servo.git
synced 2025-08-29 00:58:20 +01:00
Update web-platform-tests to revision 00fa50687cab43b660296389acad6cc48717f1d1
This commit is contained in:
parent
07d53e32c4
commit
28bbe1473c
58 changed files with 2119 additions and 360 deletions
|
@ -28,12 +28,10 @@ enum XREnvironmentBlendMode {
|
|||
readonly attribute XRSessionMode mode;
|
||||
readonly attribute XRPresentationContext? outputContext;
|
||||
readonly attribute XREnvironmentBlendMode environmentBlendMode;
|
||||
|
||||
attribute double depthNear;
|
||||
attribute double depthFar;
|
||||
attribute XRLayer? baseLayer;
|
||||
readonly attribute XRRenderState renderState;
|
||||
|
||||
// Methods
|
||||
void updateRenderState(optional XRRenderStateInit state);
|
||||
Promise<XRReferenceSpace> requestReferenceSpace(XRReferenceSpaceOptions options);
|
||||
|
||||
FrozenArray<XRInputSource> getInputSources();
|
||||
|
@ -64,6 +62,18 @@ dictionary XRSessionCreationOptions {
|
|||
XRPresentationContext? outputContext = null;
|
||||
};
|
||||
|
||||
dictionary XRRenderStateInit {
|
||||
double depthNear;
|
||||
double depthFar;
|
||||
XRLayer? baseLayer;
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=Window] interface XRRenderState {
|
||||
readonly attribute double depthNear;
|
||||
readonly attribute double depthFar;
|
||||
readonly attribute XRLayer? baseLayer;
|
||||
};
|
||||
|
||||
callback XRFrameRequestCallback = void (DOMHighResTimeStamp time, XRFrame frame);
|
||||
|
||||
[SecureContext, Exposed=Window] interface XRFrame {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue