KhronosGroup / KhronosGroup/WebGL

Add [AllowResizable] to various WebGL APIs

Open
#3,510 0 comments 2 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.