Posts

Post not yet marked as solved
1 Replies
538 Views
Hi,macOS part of Tk (https://core.tcl-lang.org)is coded in cocoa. It works great... but for now, each graphical update require all the NSView to be updated.you can have a look to the code here:https://core.tcl-lang.org/tk/artifact/79d7280742d66d58the draw is triggered by GenerateUpdates() which is initially called by generateExposeEvents().This schema is ok as it's deeply linked with Tcl event loop.but, as for each mouse mouvement or whatever all the GUI is triggered to be updated it is not so good.There's a bugfix branch here https://core.tcl-lang.org/tk/info/d741ac0ae2886bfewhere the purpose is to reduce the size or the damagedRegion in order to not update all the window but only needed parts.so here's my question:is there's some cocoa expert that can have a look and tell me if it's the right way to improve Tk or not...best regards,Nicolas
Posted
by sl1200mk2.
Last updated
.