I’ve created a custom UI element which will resize 4 viewports depending on how a middle quad-divider is dragged. However, I’m finding that when I resize the viewports, the FPS rate will reduce as time goes on.
(Forgive the mouse not being 100% on the divider, I’m currently only paying attention to the position delta in the event data just to make it work.)
I’m still getting drag events through and logged as fast as I drag in the UI, but the viewports don’t update for sometimes almost a second afterwards.
Could this be an issue to do with the OpenGL buffer allocation/deallocation internal to the View3D? Is there anything I can do to mitigate it?