Repository navigation
Remove GPUCanvasConfiguration.size - #2826
Merged
Merged
Conversation
kainino0x
force-pushed
the
configure-no-size
branch
from
May 6, 2022 03:49
3c3d388 to
387f4df
Compare
Contributor
Contributor
Contributor
Author
|
meeting: no major concerns, just need to consider 2 options:
|
Contributor
Author
Editors resolved to just unset the currentTexture. There's no real benefit to unconfiguring, because we can't guarantee allocations happen in configure() anyway. (same reason we allow OOM in getCurrentTexture - reallocation may need to happen in the implementation when switching overlay/underlay/not, etc.) |
kainino0x
marked this pull request as ready for review
May 16, 2022 22:45
kainino0x
enabled auto-merge (squash)
May 16, 2022 22:46
Contributor
github-actions Bot
added a commit
that referenced
this pull request
May 16, 2022
SHA: 8ac7650 Reason: push, by @kainino0x Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Contributor
github-actions Bot
added a commit
that referenced
this pull request
May 16, 2022
SHA: 8ac7650 Reason: push, by @kainino0x Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions Bot
added a commit
that referenced
this pull request
May 16, 2022
SHA: 8ac7650 Reason: push, by @kainino0x Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
webkit-early-warning-system
pushed a commit
to tuankiet65/WebKit
that referenced
this pull request
Jun 27, 2022
https://bugs.webkit.org/show_bug.cgi?id=242003 Reviewed by Myles C. Maxfield. GPUCanvasConfiguration::size was removed in gpuweb/gpuweb#2826 in favor of using the canvas size directly. * Source/WebCore/Modules/WebGPU/GPUCanvasConfiguration.h: (WebCore::GPUCanvasConfiguration::convertToBacking const): * Source/WebCore/Modules/WebGPU/GPUCanvasConfiguration.idl: * Source/WebCore/PAL/pal/graphics/WebGPU/WebGPUCanvasConfiguration.h: * Source/WebKit/Shared/WebGPU/WebGPUCanvasConfiguration.cpp: (WebKit::WebGPU::ConvertToBackingContext::convertToBacking): (WebKit::WebGPU::ConvertFromBackingContext::convertFromBacking): * Source/WebKit/Shared/WebGPU/WebGPUCanvasConfiguration.h: (WebKit::WebGPU::CanvasConfiguration::encode const): (WebKit::WebGPU::CanvasConfiguration::decode): Canonical link: https://commits.webkit.org/251882@main
Jarred-Sumner
pushed a commit
to oven-sh/WebKit
that referenced
this pull request
Jul 27, 2022
https://bugs.webkit.org/show_bug.cgi?id=242003 Reviewed by Myles C. Maxfield. GPUCanvasConfiguration::size was removed in gpuweb/gpuweb#2826 in favor of using the canvas size directly. * Source/WebCore/Modules/WebGPU/GPUCanvasConfiguration.h: (WebCore::GPUCanvasConfiguration::convertToBacking const): * Source/WebCore/Modules/WebGPU/GPUCanvasConfiguration.idl: * Source/WebCore/PAL/pal/graphics/WebGPU/WebGPUCanvasConfiguration.h: * Source/WebKit/Shared/WebGPU/WebGPUCanvasConfiguration.cpp: (WebKit::WebGPU::ConvertToBackingContext::convertToBacking): (WebKit::WebGPU::ConvertFromBackingContext::convertFromBacking): * Source/WebKit/Shared/WebGPU/WebGPUCanvasConfiguration.h: (WebKit::WebGPU::CanvasConfiguration::encode const): (WebKit::WebGPU::CanvasConfiguration::decode): Canonical link: https://commits.webkit.org/251882@main
jdarpinian
pushed a commit
to jdarpinian/gpuweb
that referenced
this pull request
Aug 12, 2022
juj
added a commit
to juj/wasm_webgpu
that referenced
this pull request
Aug 18, 2022
moz-v2v-gh
pushed a commit
to mozilla/gecko-dev
that referenced
this pull request
Feb 2, 2023
…=jgilbert,emilio In [gpuweb#2826](gpuweb/gpuweb#2826), the `size` attribute was removed from `GPUCanvasConfiguration`. Since the fuzzers have discovered that the `size` attribute is a fun toy to play with, it's time to update Firefox to match the spec. Differential Revision: https://phabricator.services.mozilla.com/D168575
jamienicol
pushed a commit
to jamienicol/gecko
that referenced
this pull request
Feb 3, 2023
…=jgilbert,emilio In [gpuweb#2826](gpuweb/gpuweb#2826), the `size` attribute was removed from `GPUCanvasConfiguration`. Since the fuzzers have discovered that the `size` attribute is a fun toy to play with, it's time to update Firefox to match the spec. Differential Revision: https://phabricator.services.mozilla.com/D168575
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WIP: Dependent on #2821Closes #2416
Preview | Diff