KhronosGroup / KhronosGroup/WebGL
Add corner case for the use of WebGPU canvases for `TexImageSource`
Open
enhancement
- Dominant language
- HTML
- Stars
- 2.9k
- Forks
- 703
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
For WebGPU canvases the size of the drawing buffer for canvases isn't the size of the canvas itself, but whatever was passed to `GPUCanvasContext.configure`. WebGL methods importing `TexImageSource` should be updated to describe this.
Contributor guide
Research direction
The issue points to WebGL method descriptions that import TexImageSource; search the specification text for those methods and the WebGPU canvas drawing-buffer wording. Update the affected descriptions to cover the size supplied to GPUCanvasContext.configure, then verify that each method explains this corner case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- computer-graphics, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100