KhronosGroup / KhronosGroup/WebGL
Guarenteed framebuffer attachment combinations
- Dominant language
- HTML
- Stars
- 2.9k
- Forks
- 703
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
In OpenGL ES 2.0 no specific combinations of framebuffer attachments were guaranteed to work. WebGL1.0 required a few. WEBGL_draw_buffers added a few more.
Does a similar table need to be added for the WebGL 2.0 spec?
The OpenGL ES 3.0 spec seems to suggest that any combination of _color renderable_ required formats are supposed to work up to MAX_COLOR_ATTACHMENTS
Section 4.4.4
> Required Framebuffer Formats
>
> Implementations must support framebuffer objects with up to MAX_COLOR_ATTACHMENTS color attachments, a depth attachment, and a stencil attachment. Each color attachment may be in any of the required color formats for textures and renderbuffers described in sections 3.8.3 and 4.4.2. The depth attachment may be in any of the required depth or combined depth+stencil formats described in those sections, and the stencil attachment may be in any of the required stencil or combined depth+stencil formats. However, when both depth and stencil attachments are present, implementations must not support framebuffer objects where depth and stencil attachments refer to separate images.
Are all those combinations supported by ANGLE for example?
Contributor guide
Research direction
Read the WebGL 2.0 specification alongside OpenGL ES 3.0 section 4.4.4, then compare the stated framebuffer combinations with the ANGLE support mentioned in the issue. Done means establishing whether WebGL 2.0 needs a guaranteed-combinations table and documenting the resulting specification requirement.
Written by the indexing model from the issue text.
Assessment
- Domain
- computer-graphics, documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100