Implement webgl draft ext EXT_float_blend
Categories
(Core :: Graphics: CanvasWebGL, enhancement, P3)
Tracking
()
People
(Reporter: jgilbert, Assigned: jgilbert)
References
()
Details
(Keywords: dev-doc-complete, Whiteboard: gfx-noted)
Attachments
(1 file, 1 obsolete file)
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
| Assignee | ||
Comment 3•7 years ago
|
||
This has a chance to break existing content, so let's slip it to 67.
Previously, we didn't validate that float32 rendertargets should not be blendable.
| Assignee | ||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 5•7 years ago
|
||
| bugherder | ||
Comment 6•7 years ago
|
||
Extension mentioned on (and marked as draft/experimental)
https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API#Extensions
https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Using_Extensions
https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getSupportedExtensions
https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getExtension
New reference page
https://developer.mozilla.org/en-US/docs/Web/API/EXT_float_blend
Not in release notes, but listed along with other features behind a pref on our "Experimental features" page
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features#Canvas_WebGL
Compat data
https://github.com/mdn/browser-compat-data/pull/3569
I noticed that when calling gl.getSupportedExtensions "EXT_float_blend" is not in the list even when the pref "webgl.enable-draft-extensions" is enabled. Maybe this is correct per spec as it is still a draft.
Can you give this a quick review, :jgilbert?
| Assignee | ||
Comment 7•7 years ago
|
||
I'm seeing EXT_float_blend with enable-draft-extensions at least on Windows:
< gl.getSupportedExtensions().join('\n')
> "ANGLE_instanced_arrays
EXT_blend_minmax
EXT_color_buffer_half_float
EXT_float_blend
I updated the example to show creation of the webgl2 context, since if someone tries the example with a webgl1 gl, they'll be asking for the wrong extension.
Thanks for writing this!
Comment 8•7 years ago
|
||
I'm seeing EXT_float_blend with enable-draft-extensions at least on Windows
I'm seeing it as well now. Sorry, probably an oversight yesterday. Thanks for checking.
I updated the example to show creation of the webgl2 context, since if someone tries the example with a webgl1 gl, they'll be asking for the wrong extension.
Great catch, thanks!
Description
•