KhronosGroup / KhronosGroup/WebGL
Better define valid texture uploads with explicit dimensions from `TexImageSource` objects
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 2.9k
- Forks
- 704
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
WebGL 2.0 supports explicit dimensions for tex[Sub]Image{2|3}D calls with TexImageSource input data. The spec should define valid ranges for width, height, and depth parameters.
Additionally, all of these entrypoints should be tested with all image source (Image, Canvas, etc) and texture (2D, 3D, ...) types and preferably with all mip levels filled.
Relevant Chromium bug: https://issues.chromium.org/issues/40910322.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the WebGL 2.0 specification sections for tex[Sub]Image{2|3}D calls that accept TexImageSource data, then inspect existing tests for these entrypoints. Define valid width, height, and depth ranges, and add coverage for Image, Canvas, and other image sources across 2D and 3D texture types, preferably covering all mip levels.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- computer-graphics, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100