FPS Issue in WPF when Using CefSharp #4623
Replies: 1 comment
-
The like for like comparison is https://github.com/cefsharp/CefSharp.Wpf.HwndHost#readme See https://github.com/cefsharp/CefSharp/wiki/General-Usage#offscreen-rendering-osr to understand how the WPF implementation works.
The default is 30, this is expected.
Leave GPU acceleration enabled and make sure you have an app.manifest as per https://github.com/cefsharp/CefSharp/wiki/Quick-Start-For-MS-.Net-4.x#40-add-appmanifest-to-your-application You can control the frame rate via https://cefsharp.github.io/api/118.6.x/html/P_CefSharp_BrowserSettings_WindowlessFrameRate.htm |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
In the demos available here, you can test it yourself. Using WinForms, the FPS exceeds 60, but in WPF it's capped at 30. I've tried everything, including disable-gpu, and all the solutions I found when searching for this issue.
Do you know if it's possible to make it work at more than 30 FPS in WPF?
I'm checking the FPS by visiting www.testufo.com
Beta Was this translation helpful? Give feedback.
All reactions