KhronosGroup / KhronosGroup/WebGL

Clarify copyTexImage with half-float color buffers

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

Consider the following actions.

  1. Create WebGL 1.0 context.
  2. Enable EXT_color_buffer_half_float. Note that OES_texture_half_float is not enabled implicitly.
  3. Create a new framebuffer, attach an RGBA16F renderbuffer to it (should succeed)
  4. Create and bind a new texture.
  5. Call copyTexImage2D with RGBA internal format.

Open questions:

  1. Should the copy command succeed? ANGLE currently requires OES_texture_half_float to copy from half-float color buffers.
  2. Should the color buffer extension implicitly enable the texture extension?

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.