The Windows version is the way it should render IMHO - macOS is bugged and it makes my UI look very bad, the shadow all have hard borders now .
The macOS drawing result looks like something is wrong with the alpha channel. Maybe there is some mismatch or premultiplied alpha and non-premultiplied alpha going on?
I found out this has been working correctly in 8.0.5 and is a regression from recent changes, so I did a git bisect and found the commit that broke the DropShadow for Path rendering:
@reuk, I think the changes to CoreGraphicsContext need another look.
Hmm… besides no longer rendering correctly I also see a massive performance problem with applyFilterInArea<>. My plugin is no longer able to hold 60fps rendering with about 10 small DropShadows visible.
And yes, this is of course with a release build. Somehow these changes seem to have imported similar issues to macOS as we’ve been seeing with D2D on Windows.