KhronosGroup / KhronosGroup/WebGL

More tests needed for SVG images

Open
#2,288 2 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

It's been a longstanding problem that uploads of SVG images to WebGL textures are not well specified, and the behavior isn't portable among browsers.

The Three.js project has provided feedback that some of their users rely on this code path. As ImageBitmap becomes the recommended way to upload textures to WebGL, it will be important to test the behavior of SVG images uploaded in this way. Currently, the WebGL conformance tests which upload ImageBitmaps to textures only test uploads from raster images.

Contributor guide

Open the contributing guide

Research direction

Start with the WebGL conformance tests that upload ImageBitmaps to textures, which currently cover raster images only. Review how those tests define expected behavior across browsers, then determine the SVG cases needed and verify them in the conformance test suite.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.