KhronosGroup / KhronosGroup/WebGL
Add to the spec the official way to use HTMLVideoElement with tex(Sub)Image2D
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 2.9k
- Forks
- 704
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
The conformance tests use video.currentTime > 0 before they upload textures. We've found this is voodoo programming and doesn't actually work, at least in Chrome. You might need to slow the network traffic down to see that it doesn't actually work.
Doesn't there need to be an official correct and tested way to pass an HTMLVIdeoElement to texImage2D and not generate an error? Even the texture being blank is better than spurious errors IMO.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the conformance tests that set video.currentTime > 0 before calling texImage2D or texSubImage2D, and reproduce the behavior with slowed network traffic. Define and test the official HTMLVideoElement usage in the spec so texture uploads do not produce spurious errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- documentation, testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100