[BR] Unwanted CachedImage::triggerRepaint while animating a transform

While animating a child component’s transform, JUCE invalidates the parent OpenGL context’s cachedImage, which causes spurious triggerRepaint calls, resulting in extra openGLRender calls.

In our case, we’re already repainting regularly (triggered via a timerCallback), so these extra triggerRepaints cause issues with jumpy animations and unnecessarily burns GPU during a time we’d really not like any additional graphics overhead.

Is there some way to prevent this from happening? setOpaque doesn’t seem to matter here (though maybe it should?).

2 Likes

Posted a bug report here:

Still happening and still annoying.

1 Like