| Summary: | Canvas flickers when combining putImageData and other draw calls | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | ae |
| Component: | Canvas | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Major | CC: | dino, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 15 | ||
|
Description
ae
2022-12-06 06:41:42 PST
Can you give us access to a page that reproduces this, or attach a small test case? (In reply to Simon Fraser (smfr) from comment #1) > Can you give us access to a page that reproduces this, or attach a small > test case? I'll try to do my best. The problem occurs in a very complex hybrid web app running in a WKWebView with multiple other canvases and a lot going on in general, so it might not be straightforward. I do know that it's not a trivial problem in my code because the same code works in Blink and it's really just a putImageData followed by 3 beginPath/moveTo/lineTo/stroke calls. There's also no other (transparent) layers on top of the canvas so I don't think it's a composting problem. Setting transform:translate3d(0,0,0) on the canvas doesn't help either. I'll try to make a minimal test case when I got time. Thanks. |