зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1631654 [wpt PR 23129] - Update interfaces/webxr.idl, a=testonly
Automatic update from web-platform-tests Update interfaces/webxr.idl (#23129) Source: https://github.com/tidoust/reffy-reports/blob/66799cd/ed/idl/webxr.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/677501891 -- wpt-commits: 6ebd168048c7eaf3cc7c94bc79b2ae805aedd25a wpt-pr: 23129
This commit is contained in:
Родитель
f78a95a5dd
Коммит
7d774c41d1
|
@ -65,6 +65,7 @@ dictionary XRRenderStateInit {
|
|||
double depthFar;
|
||||
double inlineVerticalFieldOfView;
|
||||
XRWebGLLayer? baseLayer;
|
||||
sequence<XRLayer>? layers;
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=Window] interface XRRenderState {
|
||||
|
@ -172,6 +173,9 @@ interface XRInputSourceArray {
|
|||
getter XRInputSource(unsigned long index);
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=Window]
|
||||
interface XRLayer {};
|
||||
|
||||
typedef (WebGLRenderingContext or
|
||||
WebGL2RenderingContext) XRWebGLRenderingContext;
|
||||
|
||||
|
@ -185,7 +189,7 @@ dictionary XRWebGLLayerInit {
|
|||
};
|
||||
|
||||
[SecureContext, Exposed=Window]
|
||||
interface XRWebGLLayer {
|
||||
interface XRWebGLLayer: XRLayer {
|
||||
constructor(XRSession session,
|
||||
XRWebGLRenderingContext context,
|
||||
optional XRWebGLLayerInit layerInit = {});
|
||||
|
|
Загрузка…
Ссылка в новой задаче