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

Unified Diff: cc/surfaces/display_client.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: windows-pixeltests-default-renderer-settings Created 4 years, 5 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
Index: cc/surfaces/display_client.h
diff --git a/cc/surfaces/display_client.h b/cc/surfaces/display_client.h
index 8f7be8b9714cdb5cf826021f4ed94364daed5b91..432b44ac5c8d6708efb07920056ab13bd071c4e0 100644
--- a/cc/surfaces/display_client.h
+++ b/cc/surfaces/display_client.h
@@ -5,6 +5,8 @@
#ifndef CC_SURFACES_DISPLAY_CLIENT_H_
#define CC_SURFACES_DISPLAY_CLIENT_H_
+#include "cc/quads/render_pass.h"
+
namespace cc {
struct ManagedMemoryPolicy;
@@ -13,6 +15,9 @@ class DisplayClient {
virtual ~DisplayClient() {}
virtual void DisplayOutputSurfaceLost() = 0;
virtual void DisplaySetMemoryPolicy(const ManagedMemoryPolicy& policy) = 0;
+ virtual void DisplayWillDrawAndSwap(bool will_draw_and_swap,
+ const RenderPassList& render_passes) = 0;
+ virtual void DisplayDidDrawAndSwap() = 0;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698