KhronosGroup / KhronosGroup/WebGL
Add [AllowResizable] to various WebGL APIs
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 2.9k
- Forks
- 704
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
Several WebGL APIs including bufferData and texImage2D expose the [AllowShared] extended Web IDL attribute to maintain compatibility with WebAssembly applications. It now appears that the new [AllowResizable] extended attribute must be added to these entry points in order to support Wasm applications which enable resizable heaps. See https://bugs.webkit.org/show_bug.cgi?id=250307 for an example of a customer application which failed because of this omission.
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 by locating the WebGL IDL definitions for the bufferData and texImage2D entry points and compare where [AllowShared] is declared. Identify the other affected APIs, then verify that the relevant entry points expose [AllowResizable] and that the WebAssembly resizable-heap compatibility case is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wasm
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100