mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update XRWebGLLayer to match specification.
This commit is contained in:
parent
9daadd03cc
commit
c34e587140
59 changed files with 37 additions and 309 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue