KhronosGroup / KhronosGroup/WebGL
Clarify copyTexImage with half-float color buffers
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 2.9k
- Forks
- 704
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
Consider the following actions.
- Create WebGL 1.0 context.
- Enable
EXT_color_buffer_half_float. Note thatOES_texture_half_floatis not enabled implicitly. - Create a new framebuffer, attach an
RGBA16Frenderbuffer to it (should succeed)fails in Chromiumfixed- fixed in https://github.com/WebKit/WebKit/pull/1937
- Create and bind a new texture.
- Call
copyTexImage2DwithRGBAinternal format.
Open questions:
- Should the copy command succeed? ANGLE currently requires
OES_texture_half_floatto copy from half-float color buffers. - Should the color buffer extension implicitly enable the texture extension?
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 reproduction steps in issue #3447 and review the two open questions about copyTexImage2D, EXT_color_buffer_half_float, and OES_texture_half_float. Check the linked WebKit pull request and ANGLE's stated requirement; done means the specification clearly resolves whether the copy succeeds and whether the texture extension is implicitly enabled.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100