Move preferred format queries to navigator.gpu#2771
Merged
Conversation
Fixes #2747 Removes the need to have a canvas context in order to query a preffered format. This should help put developers at ease that they don't need to rebuild all their pipelines when rendering to multiple canvases.
Contributor
Kangz
approved these changes
Apr 19, 2022
Contributor
|
changes lgtm but I think I still prefer
|
Contributor
Contributor
|
This change was approved in the 2022-04-27 meeting. |
kainino0x
reviewed
May 7, 2022
Co-authored-by: Kai Ninomiya <[email protected]>
Contributor
Contributor
kainino0x
approved these changes
May 16, 2022
juj
added a commit
to juj/wasm_webgpu
that referenced
this pull request
Aug 17, 2022
…n favor of new navigator_gpu_get_preferred_canvas_format(). gpuweb/gpuweb#2771
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.
Fixes #2747
(Assumes that the resolution proposed in #2747 is adopted by the group.)
Removes the need to have a canvas context in order to query a
preferred format. This should help put developers at ease that they
don't need to rebuild all their pipelines when rendering to
multiple canvases.
Preview | Diff