KhronosGroup / KhronosGroup/WebGL

Changing getContext() slightly

Open
#2,589 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
2.9k
Forks
703
Avg merge
2d 9h
Merged PRs (30d)
4

Description

Heya, in https://github.com/whatwg/html/pull/3370 I'm changing getContext() so it always has two arguments and the second argument gets pre-processed a bit before being passed on. This should in theory simplify the algorithm on your end.

Should we refactor things more so we can invoke an algorithm in the WebGL specification directly? It's currently a little handwavy.

Contributor guide

Open the contributing guide

Research direction

Start with the WebGL getContext() algorithm and the linked WHATWG HTML pull request 3370, which describes the proposed argument preprocessing. The issue names no repository file or test; done would require an agreed scope for the cross-spec refactor and a resolved specification change.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
web-dev
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.