Skip to content

Set currentTexture to null on presentation#3228

Merged
kainino0x merged 2 commits intogpuweb:mainfrom
kainino0x:current-texture-null
Jul 23, 2022
Merged

Set currentTexture to null on presentation#3228
kainino0x merged 2 commits intogpuweb:mainfrom
kainino0x:current-texture-null

Conversation

@kainino0x
Copy link
Copy Markdown
Contributor

Without this, getCurrentTexture() doesn't know it's supposed to
allocate a new texture, it just keeps using the destroyed one.

And related language tweaks.

Issue introduced in #2905. This PR still implements the behavior
described and agreed upon there. Issue found in whatwg/html#8123.

Without this, `getCurrentTexture()` doesn't know it's supposed to
allocate a new texture, it just keeps using the destroyed one.

And related language tweaks.

Issue introduced in gpuweb#2905. This PR still implements the behavior
described and agreed upon there. Issue found in whatwg/html#8123.
@kainino0x kainino0x added the copyediting Pure editorial stuff (copyediting, *.bs file syntax, etc.) label Jul 23, 2022
@kainino0x kainino0x requested a review from toji July 23, 2022 00:28
@github-actions
Copy link
Copy Markdown
Contributor

Previews, as seen when this build job started (36429e7):
WebGPU webgpu.idl | Explainer | Correspondence Reference
WGSL grammar.js | wgsl.lalr.txt

@github-actions
Copy link
Copy Markdown
Contributor

Previews, as seen when this build job started (96f9ed0):
WebGPU webgpu.idl | Explainer | Correspondence Reference
WGSL grammar.js | wgsl.lalr.txt

Copy link
Copy Markdown
Member

@toji toji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kainino0x kainino0x merged commit 910940f into gpuweb:main Jul 23, 2022
@kainino0x kainino0x deleted the current-texture-null branch July 23, 2022 01:20
jdarpinian pushed a commit to jdarpinian/gpuweb that referenced this pull request Aug 12, 2022
* Set currentTexture to null on presentation

Without this, `getCurrentTexture()` doesn't know it's supposed to
allocate a new texture, it just keeps using the destroyed one.

And related language tweaks.

Issue introduced in gpuweb#2905. This PR still implements the behavior
described and agreed upon there. Issue found in whatwg/html#8123.

* nit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

copyediting Pure editorial stuff (copyediting, *.bs file syntax, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants