[Webkit-unassigned] [Bug 222822] WebGL2: SRGB8_ALPHA8 *sometimes* does not linearize texture color

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 7 23:05:40 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=222822

--- Comment #2 from Kimmo Kinnunen <kkinnunen at apple.com> ---
Thanks for the report!
The test has some state problems:
1) The test should wait until video has some data before uploading it to the texture. I get some "no video" errors.

2) The test sets up 3 shader programs and 3 textures and 3 active requestAnimationFrame callbacks. However, the rAF callbacks themselves use just the last bound texture and last bound program.

On the top of my head, I would suggest following test structure (note, I haven't thought this through so it could have some bugs but I'm sure you get the general idea):

0) Set up just one shader program
1) Wait for the video update event
2) Upload the textures from the video update event callback
3) Draw all the textures to the correct individual canvases from the video update event callback
3.1) When uploading and drawing, remember to bind the expected texture.

This would simplify when I check for the bug.

Also please mention what kind of computer you have, you can access it from "Apple menu" -> "About this Mac".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210308/d60666a4/attachment-0001.htm>


More information about the webkit-unassigned mailing list