We have a plugin UI which features a large animated graph window, together with several other animated components. Drawing performance has proved to be problematic on OSX, seemingly with drawing images under Core Graphics accounting for most of the work.
We’d defined the JUCE_COREGRAPHICS_RENDER_WITH_MULTIPLE_PAINT_CALLS macro, and found that this speeded things up significantly owing to the fact that it reduces the area which needs to be redrawn every frame significantly.
However, I recently upgraded to a new (Touch Bar) MacBook Pro with Mojave, and noticed that once again, the plugin UI is sluggish. Part of this is likely down to the high DPI screen increasing the amount of blitting work required, however I’ve also noticed when using Quartz Debug that the UI is no longer rendering the updated regions separately, but has reverted to updating a single large rectangle encompassing all the components which have changed.
Has anybody else experienced this, or can any of the Juce team shed some light on the situation? Any help much appreciated!