enable-begin-frame-scheduling stopping calls to OnPaint

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

enable-begin-frame-scheduling stopping calls to OnPaint

Postby Tsury » Mon Mar 30, 2015 7:13 am

Hey.

I just upgraded from 3.1650.15 to 3.2272.2035 (A really big upgrade) and bumped into very bad OSR performance.
I added the flags disable-gpu, disable-gpu-compositing and disable-gpu-vsync which dramatically improved the performance, but using enable-begin-frame-scheduling just produces a black screen. Upon further invastigation it seems that OnPaint is no longer being called.

Can someone help me shed some light on the issue?

Full commandline used:
Code: Select all
commandLine.AppendSwitch("off-screen-rendering-enabled");
commandLine.AppendSwitch("off-screen-frame-rate", "60");
commandLine.AppendSwitch("disable-gpu");
commandLine.AppendSwitch("disable-gpu-compositing");
commandLine.AppendSwitch("disable-gpu-vsync");
commandLine.AppendSwitch("enable-begin-frame-scheduling");
commandLine.AppendSwitch("enable-media-stream");
Tsury
Mentor
 
Posts: 63
Joined: Mon Jan 19, 2015 4:31 am

Re: enable-begin-frame-scheduling stopping calls to OnPaint

Postby magreenblatt » Mon Mar 30, 2015 7:32 am

Remove the disable-gpu-vsync flag.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: enable-begin-frame-scheduling stopping calls to OnPaint

Postby Tsury » Mon Mar 30, 2015 7:43 am

That did the trick. I was sure I already tried it, but apparently I didn't.
Sorry to have wasted your time and thank you!
Tsury
Mentor
 
Posts: 63
Joined: Mon Jan 19, 2015 4:31 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 57 guests