1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules/juce_gui_basics/components
reuk 84eed04a59
Component: Add function to clear all cached image resources
In the DemoRunner, switching to and fro between the Settings tab and
the Demo tab displaying the OpenGL demo could lead to
GL_INVALID_OPERATION errors. This is because closing the demo shuts
down the GL context, destroying resources such as framebuffers. If any
Image objects backed by framebuffers outlive the context, they will be
invalidated. Component effect images are especially likely to hold onto
invalid framebuffer references.

With this change in place, images cached by Components will be
invalidated when the attached GL context goes out of scope, and will be
recreated when the new context is created.
2025-05-19 13:32:52 +01:00
..
juce_CachedComponentImage.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_Component.cpp Component: Add function to clear all cached image resources 2025-05-19 13:32:52 +01:00
juce_Component.h Component: Add function to clear all cached image resources 2025-05-19 13:32:52 +01:00
juce_ComponentListener.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_ComponentListener.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_ComponentTraverser.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_FocusTraverser.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_FocusTraverser.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_ModalComponentManager.cpp Singleton: Add new macros to simplify singleton creation 2024-10-16 10:36:52 +01:00
juce_ModalComponentManager.h Singleton: Add new macros to simplify singleton creation 2024-10-16 10:36:52 +01:00