mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
webxr: Update XRWebGLLayer interface to latest spec (#33157)
* Update XRWebGLLayer interface to latest spec Signed-off-by: Daniel Adams <msub2official@gmail.com> * Add missing spec links Signed-off-by: Daniel Adams <msub2official@gmail.com> --------- Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
parent
cde10241c3
commit
562d32c051
4 changed files with 22 additions and 14 deletions
|
@ -24,6 +24,7 @@ interface XRWebGLLayer: XRLayer {
|
|||
// Attributes
|
||||
readonly attribute boolean antialias;
|
||||
readonly attribute boolean ignoreDepthValues;
|
||||
attribute float? fixedFoveation;
|
||||
|
||||
[SameObject] readonly attribute WebGLFramebuffer? framebuffer;
|
||||
readonly attribute unsigned long framebufferWidth;
|
||||
|
@ -32,8 +33,8 @@ interface XRWebGLLayer: XRLayer {
|
|||
// Methods
|
||||
XRViewport? getViewport(XRView view);
|
||||
|
||||
// // Static Methods
|
||||
// static double getNativeFramebufferScaleFactor(XRSession session);
|
||||
// Static Methods
|
||||
static double getNativeFramebufferScaleFactor(XRSession session);
|
||||
};
|
||||
|
||||
partial interface mixin WebGLRenderingContextBase {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue