Skip to content

Commit 7e7f5bd

Browse files
committed
remove unused chromaticaberration
1 parent 3f4c22e commit 7e7f5bd

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

webxrlayers-1.bs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ XRCompositionLayer defines a set of common attributes and behaviors across certa
329329
readonly attribute XRLayerLayout layout;
330330

331331
attribute boolean blendTextureSourceAlpha;
332-
attribute boolean? chromaticAberrationCorrection;
333332
attribute boolean forceMonoPresentation;
334333
attribute float opacity;
335334
readonly attribute unsigned long mipLevels;
@@ -344,11 +343,6 @@ The <dfn attribute for="XRCompositionLayer">layout</dfn> attribute returns the l
344343

345344
The <dfn attribute for="XRCompositionLayer">blendTextureSourceAlpha</dfn> attribute enables the layer’s texture alpha channel.
346345

347-
The <dfn attribute for="XRCompositionLayer">chromaticAberrationCorrection</dfn> attribute is a hint for the [=XR Compositor=] to
348-
enable optical chromatic aberration correction for the layer. If the user agent or device does not support this attribute, they
349-
should return <code>null</code> on getting, and setting should be a <code>no-op</code>.
350-
If the {{XRCompositionLayer/chromaticAberrationCorrection}} was changed, it will take effect at the next {{XRFrame}}.
351-
352346
The <dfn attribute for="XRCompositionLayer">forceMonoPresentation</dfn> attribute forces the right eye to use the same layer configuration
353347
as the left eye. This MUST send a signal to the [=XR Compositor=] to remove the {{XRLayerLayout/stereo}} effect of this {{XRCompositionLayer}}. Setting this to <code>true</code> on a {{XRLayerLayout/mono}} layer has no effect.
354348

@@ -385,13 +379,6 @@ or a {{WebGL2RenderingContext}} |context|, the user agent MUST run the following
385379
1. Set [=this=] [=XRCompositionLayer/session=] to |session|.
386380
1. If |context| is defined, set [=this=] [=XRCompositionLayer/context=] to |context|.
387381
1. Set [=this=] {{XRCompositionLayer/blendTextureSourceAlpha}} to <code>true</code>.
388-
1. Initialize [=this=] {{XRCompositionLayer/chromaticAberrationCorrection}} as follows:
389-
<dl class="switch">
390-
<dt class="switch">If the user agent supports chromatic aberration correction
391-
<dd> Set [=this=] {{XRCompositionLayer/chromaticAberrationCorrection}} to <code>true</code> or <code>false</code> depending on the user agent's preference.
392-
<dt> Otherwise
393-
<dd> Set [=this=] {{XRCompositionLayer/chromaticAberrationCorrection}} to <code>null</code>.
394-
</dl>
395382
1. Set [=this=] {{XRCompositionLayer/opacity}} to <code>1.0</code>.
396383

397384
</div>

0 commit comments

Comments
 (0)