You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1005,7 +1005,7 @@ The <dfn dict-member for="XRLayerInit">space</dfn> attribute defines the spatial
1005
1005
1006
1006
The <dfn dict-member for="XRLayerInit">textureType</dfn> attribute defines the type the layer's textures. The [=XR Compositor=] MUST support:
1007
1007
- {{"texture"}}
1008
-
1008
+
1009
1009
For {{WebGL2RenderingContext}} these additional types are supported:
1010
1010
- {{"texture-array"}}
1011
1011
@@ -1170,7 +1170,7 @@ The <dfn constructor for="XRWebGLBinding">XRWebGLBinding(|session|, |context|)</
1170
1170
MUST perform the following steps when invoked:
1171
1171
1172
1172
1. Let |binding| be a [=new=]{{XRWebGLBinding}} in the [=relevant realm=] of |session|.
1173
-
1. If |session|'s [=ended=] value is <code>true</code>, throw an {{InvalidStateError}} and abort these steps.
1173
+
1. If |session|'s {{XRSession/ended}} value is <code>true</code>, throw an {{InvalidStateError}} and abort these steps.
1174
1174
1. If |context| is lost, throw an {{InvalidStateError}} and abort these steps.
1175
1175
1. If |session| is not an [=immersive session=], throw an {{InvalidStateError}} and abort these steps.
1176
1176
1. If |context|'s [=XR compatible=] boolean is <code>false</code>, throw an {{InvalidStateError}} and abort these steps.
@@ -1449,7 +1449,7 @@ When this method is invoked, the user agent MUST run the following steps:
1449
1449
1. Let |session| be [=this=][=XRWebGLBinding/session=].
1450
1450
1. Let |context| be [=this=][=XRWebGLBinding/context=].
1451
1451
1. Let |layer| be a [=new=]{{XRProjectionLayer}} in the [=relevant realm=] of [=this=].
1452
-
1. If |session|'s [=ended=] value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
1452
+
1. If |session|'s {{XRSession/ended}} value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
1453
1453
1. If |context| is lost, throw {{InvalidStateError}} and abort these steps.
1454
1454
1. Run [=initialize a composition layer=] on |layer| with |session| and |context|.
1455
1455
1. Initialize |layer|'s [=XRCompositionLayer/isStatic=] to <code>false</code>.
@@ -1496,7 +1496,7 @@ When this method is invoked, the user agent MUST run the following steps:
1496
1496
1. Let |session| be [=this=][=XRWebGLBinding/session=].
1497
1497
1. If |session| was not created with "[=feature descriptor/layers=]" enabled, throw a {{NotSupportedError}} and abort these steps.
1498
1498
1. Let |context| be [=this=][=XRWebGLBinding/context=].
1499
-
1. If |session|'s [=ended=] value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
1499
+
1. If |session|'s {{XRSession/ended}} value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
1500
1500
1. If |context| is lost, throw {{InvalidStateError}} and abort these steps.
1501
1501
1. If |layout| is {{XRLayerLayout/"default"}}, throw {{TypeError}} and abort these steps.
1502
1502
1. Let |layer| be a [=new=]{{XRQuadLayer}} in the [=relevant realm=] of [=this=].
@@ -1521,7 +1521,7 @@ When this method is invoked, the user agent MUST run the following steps:
1521
1521
1. Let |session| be [=this=][=XRWebGLBinding/session=].
1522
1522
1. If |session| was not created with "[=feature descriptor/layers=]" enabled, throw a {{NotSupportedError}} and abort these steps.
1523
1523
1. Let |context| be [=this=][=XRWebGLBinding/context=].
1524
-
1. If |session|'s [=ended=] value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
1524
+
1. If |session|'s {{XRSession/ended}} value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
1525
1525
1. If |context| is lost, throw {{InvalidStateError}} and abort these steps.
1526
1526
1. If |layout| is {{XRLayerLayout/"default"}}, throw {{TypeError}} and abort these steps.
1527
1527
1. Let |layer| be a [=new=]{{XRCylinderLayer}} in the [=relevant realm=] of [=this=].
@@ -1546,7 +1546,7 @@ When this method is invoked, the user agent MUST run the following steps:
1546
1546
1. Let |session| be [=this=][=XRWebGLBinding/session=].
1547
1547
1. If |session| was not created with "[=feature descriptor/layers=]" enabled, throw a {{NotSupportedError}} and abort these steps.
1548
1548
1. Let |context| be [=this=][=XRWebGLBinding/context=].
1549
-
1. If |session|'s [=ended=] value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
1549
+
1. If |session|'s {{XRSession/ended}} value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
1550
1550
1. If |context| is lost, throw {{InvalidStateError}} and abort these steps.
1551
1551
1. If |layout| is {{XRLayerLayout/"default"}}, throw {{TypeError}} and abort these steps.
1552
1552
1. If |init|'s {{XRLayerInit/space}} is not an instance of type {{XRReferenceSpace}}, throw {{TypeError}} and abort these steps.
@@ -1573,7 +1573,7 @@ When this method is invoked, the user agent MUST run the following steps:
1573
1573
1. Let |session| be [=this=][=XRWebGLBinding/session=].
1574
1574
1. If |session| was not created with "[=feature descriptor/layers=]" enabled, throw a {{NotSupportedError}} and abort these steps.
1575
1575
1. Let |context| be [=this=][=XRWebGLBinding/context=].
1576
-
1. If |session|'s [=ended=] value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
1576
+
1. If |session|'s {{XRSession/ended}} value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
1577
1577
1. If |context| is not a {{WebGL2RenderingContext}} context, throw {{InvalidStateError}} and abort these steps.
1578
1578
1. If |context| is lost, throw {{InvalidStateError}} and abort these steps.
1579
1579
1. If |init|'s {{XRLayerInit/space}} is not an instance of type {{XRReferenceSpace}}, throw {{TypeError}} and abort these steps.
@@ -1816,7 +1816,7 @@ When this method is invoked on an {{XRWebGLBinding}} |binding|, it MUST run the
1816
1816
NOTE: The session should try to defer calls to {{XRWebGLBinding/getSubImage()}} and {{XRWebGLBinding/getViewSubImage()}} to the time that the experience starts drawing using WebGL.
1817
1817
Typically that would be after the game logic runs. On certain user agents having distinct stages for CPU and GPU dependent code allows them to dynamically optimize system resources.
1818
1818
1819
-
The <dfn method for="XRWebGLBinding">foveateBoundTexture(GLenum |target|, float |fixed_foveation|)</dfn> applies foveation to the current bound texture or texture array.
1819
+
The <dfn method for="XRWebGLBinding">foveateBoundTexture(GLenum |target|, float |fixed_foveation|)</dfn> applies foveation to the current bound texture or texture array.
1820
1820
1821
1821
When this method is invoked on an {{XRWebGLBinding}} |binding|, it MUST run the following steps:
1822
1822
@@ -1963,7 +1963,7 @@ ISSUE: add a better algorithm to describe the drawing.
1963
1963
The <dfn constructor for="XRMediaBinding">XRMediaBinding(XRSession |session|)</dfn> constructor
1964
1964
MUST perform the following steps when invoked:
1965
1965
1966
-
1. If |session|'s [=ended=] value is <code>true</code>, throw an {{InvalidStateError}} and abort these steps.
1966
+
1. If |session|'s {{XRSession/ended}} value is <code>true</code>, throw an {{InvalidStateError}} and abort these steps.
1967
1967
1. If |session| is not an [=immersive session=], throw an {{InvalidStateError}} and abort these steps.
1968
1968
1. Let |binding| be a [=new=]{{XRMediaBinding}}in the [=relevant realm=] of |session|.
1969
1969
1. Initialize |binding|'s [=XRMediaBinding/session=] to |session|.
@@ -1988,7 +1988,7 @@ When this method is invoked, the user agent MUST run the following steps:
1988
1988
1989
1989
1. Let |session| be [=this=][=XRMediaBinding/session=].
1990
1990
1. If |session| was not created with "[=feature descriptor/layers=]" enabled, throw a {{NotSupportedError}} and abort these steps.
1991
-
1. If |session|'s [=ended=] value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
1991
+
1. If |session|'s {{XRSession/ended}} value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
1992
1992
1. If |init|'s {{XRMediaLayerInit/layout}} is {{XRLayerLayout/"default"}}, throw a {{TypeError}} and abort these steps.
1993
1993
1. Let |layer| be a [=new=]{{XRQuadLayer}} in the [=relevant realm=] of [=this=].
1994
1994
1. Run [=initialize a composition layer=] on |layer| with |session|.
@@ -2011,7 +2011,7 @@ When this method is invoked, the user agent MUST run the following steps:
2011
2011
2012
2012
1. Let |session| be [=this=][=XRMediaBinding/session=].
2013
2013
1. If |session| was not created with "[=feature descriptor/layers=]" enabled, throw a {{NotSupportedError}} and abort these steps.
2014
-
1. If |session|'s [=ended=] value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
2014
+
1. If |session|'s {{XRSession/ended}} value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
2015
2015
1. If |init|'s {{XRMediaLayerInit/layout}} is {{XRLayerLayout/"default"}}, throw a {{TypeError}} and abort these steps.
2016
2016
1. Let |layer| be a [=new=]{{XRCylinderLayer}} in the [=relevant realm=] of [=this=].
2017
2017
1. Run [=initialize a composition layer=] on |layer| with |session|.
@@ -2032,7 +2032,7 @@ When this method is invoked, the user agent MUST run the following steps:
2032
2032
2033
2033
1. Let |session| be [=this=][=XRMediaBinding/session=].
2034
2034
1. If |session| was not created with "[=feature descriptor/layers=]" enabled, throw a {{NotSupportedError}} and abort these steps.
2035
-
1. If |session|'s [=ended=] value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
2035
+
1. If |session|'s {{XRSession/ended}} value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
2036
2036
1. If |init|'s {{XRMediaLayerInit/layout}} is {{XRLayerLayout/"default"}}, throw a {{TypeError}} and abort these steps.
2037
2037
1. If |init|'s {{XRLayerInit/space}} is not an instance of type {{XRReferenceSpace}}, throw {{InvalidStateError}} and abort these steps.
2038
2038
1. If |init|'s {{XRLayerInit/space}} has a [=XRReferenceSpace/type=] of {{XRReferenceSpaceType/"viewer"}}, throw {{InvalidStateError}} and abort these steps.
0 commit comments