Chromium Code Reviews| Index: cc/surfaces/surface_display_output_surface.h |
| diff --git a/cc/surfaces/surface_display_output_surface.h b/cc/surfaces/surface_display_output_surface.h |
| index f1bd5ea3460e4be4bc94d4fe96a1d3b7acec5886..d5f2d9fb5e9153360dfe907d1bfc03a23b6d017e 100644 |
| --- a/cc/surfaces/surface_display_output_surface.h |
| +++ b/cc/surfaces/surface_display_output_surface.h |
| @@ -55,9 +55,12 @@ class CC_SURFACES_EXPORT SurfaceDisplayOutputSurface |
| // DisplayClient implementation. |
| void DisplayOutputSurfaceLost() override; |
| void DisplaySetMemoryPolicy(const ManagedMemoryPolicy& policy) override; |
| + void DisplayWillDrawAndSwap(bool will_draw_and_swap, |
| + const RenderPassList& render_passes) override; |
| + void DisplayDidDrawAndSwap() override; |
|
enne (OOO)
2016/08/02 17:23:40
Also in a cut down in client functions sense, why
danakj
2016/08/02 17:28:39
We need to wait for swap for real to check on thin
|
| private: |
| - void SwapBuffersComplete(); |
| + void DidDrawCallback(); |
| // This class is only meant to be used on a single thread. |
| base::ThreadChecker thread_checker_; |