Fix use_external_begin_frame support and update VSync setters (fixes issue #2618)
Orfeas Zafeiris
Branch: OrfeasZ/cef:master
Branch: chromiumembedded/cef:master
Merged
Merged pull request
Fix OSR use_external_begin_frame support and update VSync setters (fixes issue #2618)
This PR removes the extra parameter from the
ui::Compositor
constructor, which resulted in software rendering being forced wheneveruse_external_begin_frame
was enabled, and therefore broke OSR in Chromium 73+ builds. It also replaces the oldSetAuthoritativeVsyncInterval
calls with calls toSetDisplayVSyncParameters
andUpdateVSyncParameters
.