KhronosGroup / KhronosGroup/WebGL

Add colorSpace attribute to WebGLRenderingContextBase

Open
#3,285 0 comments 0 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

Per discussions with @ccameron-chromium and @jdashg , and in the W3C's ColorWeb community group, in order to provide control over the displayed color space of a WebGL-rendered HTMLCanvasElement or OffscreenCanvas, a colorSpace attribute needs to be added to WebGLRenderingContextBase, referencing the HTML specification additions made in this pull request:

https://github.com/whatwg/html/pull/6562

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 reading the WHATWG HTML pull request 6562 and the WebGLRenderingContextBase interface discussed in this issue. Done means the interface exposes the requested colorSpace attribute for controlling the displayed color space of HTMLCanvasElement and OffscreenCanvas.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.