Summary: | REGRESSION (r222961): Clear function not clearing whole screen when antialias is set to false | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | adrian | ||||||
Component: | WebGL | Assignee: | Dean Jackson <dino> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Major | CC: | dino, jonlee, kdmitrenko, sam, simon.fraser, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | Safari 11 | ||||||||
Hardware: | Mac | ||||||||
OS: | macOS 10.13 | ||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=177903 | ||||||||
Attachments: |
|
Description
adrian
2017-11-07 01:45:04 PST
(In reply to adrian from comment #0) > This webgl app also shows the same > artifacts http://3dflipbook.net/. Have you tried this on the latest 10.13.2 beta or STP 43? I am unable to reproduce. It only happens in High Sierra with Safari Version 11.0.1 (13604.3.5). STP Release 43 (Safari 11.1, WebKit 13605.1.12) works fine but I can't tell my customers to use a technical preview. Marking as fixed, as this must be fixe in WebKit trunk based on your STP testing. We can't track integration of fixes into shipping Apple products here in Bugzilla. The issue is still present on MacBook Pro (15-inch, 2017) with macOS 10.12.6 running Safari 11.0.2 and 11.0.3. Here's a test page: https://codepen.io/dmikis/full/BJjqxY/. Canvas expected to be black, but it's white (or transparent). (In reply to Kirill S. Dmitrenko from comment #4) > The issue is still present on MacBook Pro (15-inch, 2017) with macOS 10.12.6 > running Safari 11.0.2 and 11.0.3. Here's a test page: > https://codepen.io/dmikis/full/BJjqxY/. Canvas expected to be black, but > it's white (or transparent). I can reproduce this on a recent build. Reopening. *** Bug 181208 has been marked as a duplicate of this bug. *** Another test page: https://codepen.io/PavelDoGreat/pen/zdWzEL (In reply to Kirill S. Dmitrenko from comment #4) > https://codepen.io/dmikis/full/BJjqxY/ I've accidentally removed the page, here's another one: https://codepen.io/dmikis/full/PErxRr/ Things are quite crazy. We actually have a test for this: LayoutTests/fast/canvas/webgl/context-attributes-alpha.html (although that doesn't actually cover everything that is wrong here - it doesn't clear after drawing or toggle antialiasing) It works ok on some hardware with alpha: false, but then fails when antialias: false. On other hardware it fails with alpha: false. Created attachment 332428 [details]
Patch
Committed r227702: <https://trac.webkit.org/changeset/227702> |