[Webkit-unassigned] [Bug 198039] New: gl.clear() does not clear, when rendering into a texture, on some devices.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 20 06:55:55 PDT 2019


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

            Bug ID: 198039
           Summary: gl.clear() does not clear, when rendering into a
                    texture, on some devices.
           Product: WebKit
           Version: Safari 12
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ivan.kuckir at gmail.com
                CC: dino at apple.com

Hi,

I am the creator of Photopea.com and a user reported a bug in Safari, Radeon Pro 560 4 GB, described here: https://github.com/photopea/photopea/issues/1365

I don't have a Mac OS device to be able to test it, or prepare a reduced case. But my guess is, that this code 

gl.colorMask(true,true,true,true);
gl.clearColor(0,0,0,0);
gl.clear(gl.COLOR_BUFFER_BIT);
gl.colorMask(true, true, true, true);

doesn't clear the texture, when rendering into a texture. Could you try it out?

Or go to www.Photopea.com and open any image (JPG, PNG ...). Choose a Rectangle Select tool (in the toolbar on the left) and draw a rectangle. Now, press Ctrl+D (Deselect), the rectangle should disappear. Check what WebGL commands are done after pressing Ctrl+D - that is where the bug occurs.

-- 
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/20190520/fe242a6f/attachment-0001.html>


More information about the webkit-unassigned mailing list