mirror of
https://github.com/servo/servo.git
synced 2025-08-24 22:58:21 +01:00
Update WebXR Layer IDL, and matching changes to the Rust code.
This commit is contained in:
parent
092dcaf2e6
commit
bf7f4eae31
13 changed files with 235 additions and 325 deletions
|
@ -17,19 +17,19 @@ dictionary XRWebGLLayerInit {
|
|||
};
|
||||
|
||||
[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
|
||||
interface XRWebGLLayer {
|
||||
interface XRWebGLLayer: XRLayer {
|
||||
[Throws] constructor(XRSession session,
|
||||
XRWebGLRenderingContext context,
|
||||
optional XRWebGLLayerInit layerInit = {});
|
||||
// // Attributes
|
||||
// Attributes
|
||||
readonly attribute boolean antialias;
|
||||
readonly attribute boolean ignoreDepthValues;
|
||||
|
||||
readonly attribute WebGLFramebuffer? framebuffer;
|
||||
[SameObject] readonly attribute WebGLFramebuffer? framebuffer;
|
||||
readonly attribute unsigned long framebufferWidth;
|
||||
readonly attribute unsigned long framebufferHeight;
|
||||
|
||||
// // Methods
|
||||
// Methods
|
||||
XRViewport? getViewport(XRView view);
|
||||
|
||||
// // Static Methods
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue