Add makeXRCompatible for WebGL2, update WebXR WPT expectations (#33097)

* Add makeXRCompatible to WebGLRenderContextBase

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Activate webgl2 for webxr wpt, update meta expectations

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update meta legacy layout expectations

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Remove no longer existing expectations from meta files

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Remove files for fully passing tests

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Remove out-of-date expectations from meta legacy layout

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update webgl conformance expectations

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Fix test numbering in expectations

Signed-off-by: Daniel Adams <msub2official@gmail.com>

---------

Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
Daniel Adams 2024-08-18 00:37:14 -10:00 committed by GitHub
parent 280063eee2
commit 1ef3e107bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
115 changed files with 53 additions and 762 deletions

View file

@ -36,6 +36,6 @@ interface XRWebGLLayer: XRLayer {
// static double getNativeFramebufferScaleFactor(XRSession session);
};
partial interface WebGLRenderingContext {
partial interface mixin WebGLRenderingContextBase {
[Pref="dom.webxr.enabled"] Promise<undefined> makeXRCompatible();
};