while hunting down a nasty GUI performance problem on a mac PPC AU plugin I observed the following strange phenomenon:
-on Intel, control repaints are limited to their boundaries (as expected)
-on PPC, even the slightest repaint of a child control seems to give rise to the repaint of the entire juce plugin window (not expected at all!)
I’m using the Quartz Debug utility which can do realtime highlighting of updated screen areas (from /Developer/Applications/Performance Tools)
to reproduce, run the AU version of Juce Audio Plugin Demo within any host (eg Logic or Live) and start the transport. Then enable Quartz Debug and check ‘flash screen updates’. On Intel you’ll see that only the plugin’s songpointer label control is updated (yellow flash). On PPC however it’s the entire plugin window that is shown as updated.
what could possibly explain this? Is there anything in Juce that causes full window repaints/blits on PPC? Or is it something in the PPC Quartz layer? I’m at my wit’s end here…
btw I tested on 10.4.x, with XCode 2.5 and both with with PPC build target set to 10.3 and 10.4. Behaviour remains identical though