Skip to content

further performance patch for issue 5989, fontconfig fix for MacOS10.9, added gimp rev number

DesMcGuinness requested to merge DesMcGuinness/gtk-osx:gimp into gimp

performance patches

  • have the OS version check we rely on actually work for MacOS 11.x - it uses the deprecated Gestalt API and only cares about the OS minor version.
  • on MacOS 11 only, skip NS[En|Dis]ableScreenUpdates() calls when running on MacOS 11 - again, these were deprecated in 10.14
  • revert _gdk_windowing_after_process_all_updates() to GTK 2.24.32 behaviour, reducing the number of redraws we're triggering. I believe this is the source of the performance issues reported with rev2 on MacOS 10.x
  • on MacOS 11 only, skip gdk_window_process_all_updates() in gtk_container_idle_sizer() as this is the single greatest source of CPU load I've seen, as it triggers a full-window drawRect: call for every update of the co-ordinate display. Has no noticeable impact on UI interaction/display.

fontconfig bugfix

  • force disable use of mkostmp during configure step
  • no impact on MacOS 11.
  • pending test on MacOS 10.11

GIMP rev number set

  • this should be 2.10.22 rev3
  • verified locally in ~/gtk/inst/share/gimp/2.0/gimp-release

Merge request reports