Hi everyone,

A common topic that comes up is the completion of the CoreAnimation-AppKit bridge. This is used by many macOS applications, and is the main way that macOS apps do advanced drawing and animations. I am interested in it because the app I am porting, GitUp, requires it. CAAppKitBridge was the subject of a 2017 GSoC (Google Summer of Code) project by Stjepan Brkic: https://gist.github.com/sbrki/efe8b94444946bde1bd3fa241071c8b2. He said that there was a "mysterious bug in Opal" that prevented the CAAppKitBridge from working:


   <<< The issue is present during a call to
   |displaIgnoringOpacity:inContext:| method on |NSView|. All the code
   in that method works correctly. All the contexts that are eventually
   passed to it are being used correctly. The issue may be that
   something is "reseting" the global context to the context of the
   window, thus rendering in the wrong place. The issue was followed
   back to the |DPSrectfill| function inside of the Opal backend, where
   it finally draws into the wrong context. >>>

He says he had more details on his blog, but his blog is no longer accessible and I could not find it in any web scraper archives. If anyone has any copies of his blog, or otherwise knows about this bug, that'd be helpful. Additionally, is anyone else interested on working on the CAAppKitBridge?

Thanks,

Ethan

Reply via email to