зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1444005 [wpt PR 9913] - Moved XR getViewport, removed XRDevice.external, a=testonly
Automatic update from web-platform-testsMoved XR getViewport, removed XRDevice.external Brings Chrome's implementation inline with the latest spec changes. Bug: 819744 Change-Id: I716bab14bdbcc1c452a4dd447adbe28ffef05f98 Reviewed-on: https://chromium-review.googlesource.com/953259 Commit-Queue: Brandon Jones <bajones@chromium.org> Reviewed-by: Brian Sheedy <bsheedy@chromium.org> Reviewed-by: Michael Thiessen <mthiesse@chromium.org> Cr-Commit-Position: refs/heads/master@{#541739} wpt-commits: 332d4483e11caeda304f3a3a7ede74f317fe6644 wpt-pr: 9913 wpt-commits: 332d4483e11caeda304f3a3a7ede74f317fe6644 wpt-pr: 9913
This commit is contained in:
Родитель
b73182a3b9
Коммит
0bac858160
|
@ -570206,7 +570206,7 @@
|
|||
"support"
|
||||
],
|
||||
"interfaces/webxr.idl": [
|
||||
"7a275cb5317c967a1058cab3a711c9262abfbf59",
|
||||
"b1bbaa67765ce6eb20c39e6f2234912e4853e148",
|
||||
"support"
|
||||
],
|
||||
"interfaces/xhr.idl": [
|
||||
|
|
|
@ -12,9 +12,6 @@ partial interface Navigator {
|
|||
};
|
||||
|
||||
[SecureContext, Exposed=Window] interface XRDevice : EventTarget {
|
||||
// Attributes
|
||||
readonly attribute boolean external;
|
||||
|
||||
// Methods
|
||||
Promise<void> supportsSession(optional XRSessionCreationOptions options);
|
||||
Promise<XRSession> requestSession(optional XRSessionCreationOptions options);
|
||||
|
@ -97,8 +94,6 @@ enum XREye {
|
|||
[SecureContext, Exposed=Window] interface XRView {
|
||||
readonly attribute XREye eye;
|
||||
readonly attribute Float32Array projectionMatrix;
|
||||
|
||||
XRViewport? getViewport(XRLayer layer);
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=Window] interface XRViewport {
|
||||
|
@ -146,6 +141,7 @@ interface XRWebGLLayer : XRLayer {
|
|||
readonly attribute unsigned long framebufferHeight;
|
||||
|
||||
// Methods
|
||||
XRViewport? getViewport(XRView view);
|
||||
void requestViewportScaling(double viewportScaleFactor);
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче