Skip to content

Add P3 in WebGL Canvas tests to Color Spaces and Functions focus area #168

@astearns

Description

@astearns

Description

The Color Spaces and Functions focus area was great in 2022 for improving interop around wide color gamuts. But one path for better support was missed, because there are no WPT tests for WebGL Canvas color spaces. Apparently there are some tests for this in the Khronos WebGL conformance tests.

So I propose to enhance the Color Spaces and Functions focus area for 2023 with some Khronos WebGL tests, if we can figure out a way to pull or generate test results from them.

Rationale

Wide color gamut support in WebGL Canvas is necessary for performant color management in apps like Photoshop on the web. We currently work around the lack by creating multiple Canvases which gets very memory-intensive.

Specification

https://registry.khronos.org/webgl/specs/latest/1.0/#DOM-WebGLRenderingContext-drawingBufferColorSpace

Tests

@ccameron-chromium likely has a good idea of what is covered there (and what tests could be added).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions