Auto merge of #27313 - jdm:layer-idl, r=asajeffrey

Update XRWebGLLayer to match specification.

This unbreaks most of the webxr WPT tests.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #27312
- [x] There are tests for these changes
This commit is contained in:
bors-servo 2020-07-21 01:38:08 -04:00 committed by GitHub
commit c0778ff3c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 37 additions and 309 deletions

View file

@ -22,12 +22,8 @@ interface XRWebGLLayer {
XRWebGLRenderingContext context,
optional XRWebGLLayerInit layerInit = {});
// // Attributes
readonly attribute XRWebGLRenderingContext context;
readonly attribute boolean antialias;
readonly attribute boolean depth;
readonly attribute boolean stencil;
readonly attribute boolean alpha;
readonly attribute boolean ignoreDepthValues;
readonly attribute WebGLFramebuffer? framebuffer;
readonly attribute unsigned long framebufferWidth;
@ -35,7 +31,6 @@ interface XRWebGLLayer {
// // Methods
XRViewport? getViewport(XRView view);
// void requestViewportScaling(double viewportScaleFactor);
// // Static Methods
// static double getNativeFramebufferScaleFactor(XRSession session);