Turning on the Spectrum Analyser makes Reaper UI laggy
- 
 Hi I working on a drum sampler plugin which has 16 samplers with EQ.I compiled the plugin and test it with reaper. I can see only selected sampler's EQ on the plugin screen by design. When I turn on the spectrum analysers of EQs, that makes peak meters of reaper laggy, playhead of reaper laggy like there is a heavy CPU load. When I check the performance meter of reaper I don't see a CPU jump or problem. When I turn off the spectrum analyzer, everything runs smooth and nice. I also test it with Ableton live. There is also a difference in Ableton live but not big as in Reaper. I don't know if it is related but I thought about OpenGL. Compiled the plugin by enabling or disabling using: Settings.setEnableOpenGL(false);I used HISE_USE_OPENGL_FOR_PLUGIN=0Those setting didn't help me .Is there a solution or advice for this problem? (Reaper, Live latest versions, Apple M1 Sonoma 14.4.1, Hise 4.0.0) 
- 
 @mehmethand you're on OSX I assume? 
- 
 @DanH Yes Reaper, Live latest versions, Apple M1 Sonoma 14.4.1, Hise 4.0.0) 
- 
 @mehmethand do you have a settings panel in your plugin where you can enable/disable OpenGL? 
- 
 @DanH said in Turning on the Spectrum Analyser makes Reaper UI laggy: @mehmethand do you have a settings panel in your plugin where you can enable/disable OpenGL? No I dont have it 
- 
 @mehmethand get a floating tile and set it to custom settings. Include HISE_USE_OPENGL_FOR_PLUGIN=1in your settings and then use the custom settings panel to toggle open gl on and off in your plugin and check if there's a difference. I get a similar lag on my machines even with Open GL on though. 
- 
 @DanH Thank you DanH. I used a custom panel and changed openGL settings. as you suggested. disabling openGL from custom panel worked in my case. Now reaper is without lagginess when using spectrum analyzer. 
