Jitter/performance problem with sibling sketcher component
Posted by
blainebell on
May 18, 2011; 8:34pm
URL: https://forum.jogamp.org/Jitter-performance-problem-with-sibling-sketcher-component-tp2958517.html
Here is an example of a "sketcher" component as a sibling of a JoGL window:
JitterProblemJoGL.javaWhen you move the mouse quickly on the sketcher, the rendering slows way down (depending on your hardware, if its fast, you might need a lot of scribbles before it starts slowing down). If you change the "show_problem" variable defined at the top of the class to false, then its fixed. Is this expected behavior? Why does the repainting of the GLCanvas fire a refresh of the sibling component? Is there a workaround for this?
Another (much smaller) issue is shown when the "use_panel_above_canvas" variable is set to true, the canvas does not get shown.
Thanks!
Blaine