Linux: Add OSR use_external_begin_frame support (see issue #1006)

This commit is contained in:
Riku Palomäki
2019-03-18 21:07:02 +00:00
committed by Marshall Greenblatt
parent 531df6eaba
commit a48e072076
4 changed files with 9 additions and 4 deletions

View File

@@ -1323,6 +1323,9 @@ void CefRenderWidgetHostViewOSR::SendExternalBeginFrame() {
DCHECK(begin_frame_args.IsValid());
begin_frame_number_++;
if (render_widget_host_)
render_widget_host_->ProgressFlingIfNeeded(frame_time);
if (renderer_compositor_frame_sink_) {
GetCompositor()->context_factory_private()->IssueExternalBeginFrame(
GetCompositor(), begin_frame_args);