FF132 Add webgl2rendering unpackColorSpace #36257
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
FF123 adds support for gl.unpackColorSpace and
drawingBufferColorSpace()
. This copies the docs from theWebGLRenderingContext
toWebGL2RenderingContext
.Note that the docs story in WebGL is a bit confusing.
WebGL2RenderingContext
is built on top ofWebGLRenderingContext
and includes everything it has plus some additions (new stuff and new additions to the old stuff). But for docs mostly the second version does not duplicate the original - but there are some exceptions. I think we should duplicate everything because it makes things more sane and the sidebar makes more sense.Anyway, given that there was some duplication I chose to copy these two as well.
This is part of #36112