Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1774)

Unified Diff: cc/surfaces/surface_display_output_surface.h

Issue 2193293004: cc: Make LayerTreeTests use a DelegatingRenderer and Display. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: display-layertreetest: withperftestsfix Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/surfaces/display_unittest.cc ('k') | cc/surfaces/surface_display_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
private:
- void SwapBuffersComplete();
+ void DidDrawCallback();
// This class is only meant to be used on a single thread.
base::ThreadChecker thread_checker_;
« no previous file with comments | « cc/surfaces/display_unittest.cc ('k') | cc/surfaces/surface_display_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698