How to set or choose the right chromium build flags? Why high cpu-gpu usage.
I built cef 32 bit windows version from souce without change the default build setting.
But when I ran it, I found different behavior between my build and the chrome.
In chrome: Ex. Open a 'https://alteredqualia.com/three/examples/webgl_terrain_dynamic.html' 。
When I switch to anthor tab, hide this high gpu page, the system cpu gpu usage goes down immediately.
Same result was seen when I minimize the Chrome.
And same result was seen when I moved any other app`s window on the Chrome, the Chrome seems to stop rendering if whole Chrome is not visible.
It seems the browser redering is stopped. It really saved a lot of cpu-gpu usage!
But in my app, I can not achieve the same good cpu-gpu usage effect.
I also tried windowless osr, but failed.
I think this maybe the build setting error when I build from souce .
Please help.
Best wishes!