Page 1 of 1

High CPU usage by updating HTML

PostPosted: Fri Jul 10, 2020 1:24 am
by mvasile
Hello,

I am using a "cef_binary_83.4.0+gfd6631b+chromium-83.0.4103.106_windows64" version and I am integrating it into my own project where sometimes is rendered and other times video (Off-Screen Rendering).
The problem I have is that when the application is painting and updating an html loader spiner, the use of the CPU and GPU is triggered.

I am caling the CefDoMessageLoopWork() function within a loop 30 times per second (I can not use a CefRunMessageLoop() becaouse I have my own message loop)


Can I do anything to reduce CPU usage when updating the spinner?

Thank you