-
Notifications
You must be signed in to change notification settings - Fork 401
Single-canvas inline, drop XRPresentationContext #656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
b7a1a8f
771b48a
2dbf9f1
bed660f
9b65d29
458034b
41c03e6
006f5a1
dfbc4bb
a0a5310
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1548,7 +1548,6 @@ typedef (WebGLRenderingContext or | |
WebGL2RenderingContext) XRWebGLRenderingContext; | ||
|
||
dictionary XRWebGLLayerInit { | ||
boolean compositionDisabled = false; | ||
boolean antialias = true; | ||
boolean depth = true; | ||
boolean stencil = false; | ||
|
@@ -1595,7 +1594,13 @@ The <dfn constructor for="XRWebGLLayer">XRWebGLLayer(|session|, |context|, |laye | |
<dt> Otherwise | ||
<dd> Initialize |layer|'s {{XRWebGLLayer/ignoreDepthValues}} to <code>true</code> | ||
</dl> | ||
1. Initialize |layer|'s [=XRWebGLLayer/composition disabled=] boolean to |layerInit|'s {{XRWebGLLayerInit/compositionDisabled}}. | ||
1. Initialize |layer|'s [=XRWebGLLayer/composition disabled=] boolean as follows: | ||
<dl class="switch"> | ||
<dt> If |session| is an [=immersive session=] | ||
<dd> Initialize |layer|'s [=XRWebGLLayer/composition disabled=] boolean to <code>false</code> | ||
<dt> Otherwise | ||
<dd> Initialize |layer|'s [=XRWebGLLayer/composition disabled=] to <code>true</code> | ||
</dl> | ||
1. <dl class="switch"> | ||
<dt> If |layer|'s [=XRWebGLLayer/composition disabled=] boolean is <code>false</code>: | ||
<dd> | ||
|
@@ -1614,7 +1619,7 @@ The <dfn constructor for="XRWebGLLayer">XRWebGLLayer(|session|, |context|, |laye | |
|
||
</div> | ||
|
||
Note: When a {{XRWebGLLayerInit}}'s {{XRWebGLLayerInit/compositionDisabled}} is set to <code>true</code> all other values on the {{XRWebGLLayerInit}} object are ignored, since the {{WebGLRenderingContext}}'s default framebuffer was already allocated using the context's [=actual context parameters=] and cannot be overridden. | ||
Note: If a {{XRWebGLLayer}}'s {{XRWebGLLayerInit/composition disabled}} boolean is set to <code>true</code> all values on the {{XRWebGLLayerInit}} object are ignored, since the {{WebGLRenderingContext}}'s default framebuffer was already allocated using the context's [=actual context parameters=] and cannot be overridden. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should both of these have been changed to XRWebGLLayer? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oops! Yes. One sec. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed |
||
|
||
The <dfn attribute for="XRWebGLLayer">context</dfn> attribute is the {{WebGLRenderingContext}} the {{XRWebGLLayer}} was created with. | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.