WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
198039
[Mac] gl.clear() does not clear, when rendering into a texture on Radeon Pro 560
https://bugs.webkit.org/show_bug.cgi?id=198039
Summary
[Mac] gl.clear() does not clear, when rendering into a texture on Radeon Pro 560
Ivan Kuckir
Reported
2019-05-20 06:55:55 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-05-20 17:23:11 PDT
<
rdar://problem/50967741
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug