Major update to the macOS port of Tk
From
stevel@21:1/5 to
All on Thu Jul 4 11:53:11 2024
Posted on behalf of Marc Culler, there is a major update to the macOS
port of Tk available for testing.
---
Tk Timeline watchers may have noticed a long chain of commits to the cgimage_with_crossing branch over the last month. This announcement is
to explain what has been going on there. In brief, that branch contains
a major change to how drawing works in the macOS port of Tk. This
change makes drawing in the macOS port work in a way which is much
closer to how it works in the other platforms, and much closer to what
the generic Tk code expects. The result is better performance and
increased stability.
The work is based on an idea of Christopher Chavez's. He realized that Apple's Appkit design allowed for an alternative drawing strategy, and
wrote a proof-of-concept implementation. I had created a branch
containing his implementation a couple of years ago. Recently I (Marc)
merged that branch with Tk 9 and then spent a few weeks ironing out
wrinkles. Nicolas Bats, Torsten Berg, Steve Landers, and Kevin Walzer
kindly offered to help me by testing the new implementation on their