Commit 4c65a7f9 authored by kalyan.kondapally's avatar kalyan.kondapally Committed by Commit bot

OnSwapBuffersComplete in GpuSurfacelessBrowserCompositorOutputSurface is never called.

In OnSwapBuffersComplete we call PageFlipComplete in BufferQueue, which ensures
the buffers are recycled properly.
However, GpuSurfacelessBrowserCompositorOutputSurface::OnSwapBuffersComplete is
never called as GpuBrowserCompositorOutputSurface directly calls the base class
implementation. This CL fixes it.

BUG=380861

Review URL: https://codereview.chromium.org/697823002

Cr-Commit-Position: refs/heads/master@{#302479}
parent 5527fa12
...@@ -94,7 +94,7 @@ void GpuBrowserCompositorOutputSurface::OnSwapBuffersCompleted( ...@@ -94,7 +94,7 @@ void GpuBrowserCompositorOutputSurface::OnSwapBuffersCompleted(
FROM_HERE, FROM_HERE,
base::Bind(&RenderWidgetHostImpl::CompositorFrameDrawn, latency_info)); base::Bind(&RenderWidgetHostImpl::CompositorFrameDrawn, latency_info));
} }
cc::OutputSurface::OnSwapBuffersComplete(); OnSwapBuffersComplete();
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment