savelayer backdrop mode issue

63 views
Skip to first unread message

zhi li

unread,
Jun 11, 2024, 9:36:16 PMJun 11
to skia-discuss
There are three cases, the first and third are normal, but the second is rendered incorrectly

1. Do not use backdrop mode, works fine https://fiddle.skia.org/c/7dda7782da42b9ad0d53c479faad0aa6

2. use canvas->translate, render error
https://fiddle.skia.org/c/732b71b844863e72e69bbe548095c2a6

3. use offset filter replace canvas->translate, works fine I want to know why using translate produces a render exception, I understand they should be equivalent 

zhi li

unread,
Jun 19, 2024, 9:44:19 PMJun 19
to skia-discuss
Can someone help me answer
Reply all
Reply to author
Forward
0 new messages