Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add drawingBufferColorSpace/unpackColorSpace attributes to WebGLRende…
…ringContextBase. (#3292) Define their behavior both for presenting the rendering context's results, and uploading textures via texImage2D / texSubImage2D from DOM inputs (the TexImageSource union type). Notably: - The drawing buffer is reallocated when drawingBufferColorSpace is changed. - unpackColorSpace applies to ImageBitmaps. Follows whatwg/html#6562 , in which the PredefinedColorSpace enum was defined, and its behavior for 2D canvas contexts specified. Address review feedback from kainino, ccameron-chromium and kdashg.
- Loading branch information
1 parent
8822798
commit 2be1eff
Showing
1 changed file
with
62 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters