JUCE
JUCE copied to clipboard
Implemented caching of components to an CGImageContext
so that we can our own dirtyRect to determine what needs to be repainted without worrying if the NSBackingStore of the NSView gets discarded by the OS.
This is off by default and needs to be enabled via the JUCE_ENABLE_IOS_REPAINT_CACHE option for the juce_gui_basics_module.
See https://forum.juce.com/t/solved-repaint-ignores-opacity-and-repaints-parent-component/33711/19