Closed jzy3d closed 1 year ago
The problem actually arose here : after needing to re-initialize the GLCanvas, the text renderer lost its cache, hence the caching mecanism has been disabled because of a lacking cache invalidation.
Use the following classes
So another solution would be to trigger text invalidation when GLEvenListener.dispose() gets called.
Other outcome of the analysis : the JOGL MR related to TextRenderer (which has been extracted in a standalone project here) is working better but is not perfect
Problem
macOS hangs as follow
Ubuntu crashes and the stack trace indicates that the JOGL "legacy" TextRenderer is culprit.
Disabling the legacy text rendering on macOS prevents hanging.
Explanation
This is due to a memory leak in the recent usage of the "legacy" jogl TextRenderer (which has been introduced to allow text rotation on native charts).
Solutions
One of: