I’m running the OpenGL JUCE Demo (and my own app) and I notice on Windows that it uses a full CPU core. OSX and Linux don’t have this issue. I’m not sure if this is just my system or what, but I profiled it and it looks like it’s spending all it’s time on “RtlUserThreadStart”.
I was reading OpenGL and high CPU usage which sounded similar but I’m only using one context. Has anyone seen this issue? Is the solution to not attach the openGL Context to my component like Jules said in the other thread?
I also noticed some strange behavior. I was playing around with my own app in debug mode and was doing some intensive CPU drawing. After a few seconds of this, the high OpenGL usage stopped and didn’t go up again and everything was running fine. I know this is super ‘hand wavey’ but I thought it was worth mentioning because now I know it’s possible to get the CPU usage down to that level.
Just tried it on a Thinkpad x201 with integrated graphics and I’m still seeing really high CPU usage.
This happens both with the OpenGLAppDemo and in the OpenGL teapot section of the JuceDemo.