KhronosGroup / KhronosGroup/WebGL

OffscreenCanvas context loss tests implicitly rely on OES_texture_float

Open
#3,715 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

In https://crbug.com/396176034 it was discovered that the OffscreenCanvas context lost/restored tests implicitly rely on the OES_texture_float extension in https://github.com/KhronosGroup/WebGL/blob/main/sdk/tests/js/tests/canvas-tests-utils.js#L783 . There are some Android devices which don't support that extension and fail the context lost/restored tests for that reason. To decouple these, the OffscreenCanvas tests should be rewritten to check the behavior of a different extension before and after context loss and restoration.

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 with tests/js/tests/canvas-tests-utils.js around line 783 and locate the OffscreenCanvas context lost/restored tests. Check how they currently depend on OES_texture_float, then update the tests to check a different extension before and after loss and restoration. Done means the tests no longer require OES_texture_float and can run on Android devices without that extension.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.