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

Unified Diff: cc/surfaces/display.h

Issue 1327343003: Force swap buffers when re-creating the buffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-scanout
Patch Set: Created 5 years, 3 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.h
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
index b849b461afb69bbf506b9a330635e8e3edc7d171..53b5258f207229e43b5e7f6ecc9208bad2943499 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -87,6 +87,7 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
void SetMemoryPolicy(const ManagedMemoryPolicy& policy) override;
void SetTreeActivationCallback(const base::Closure& callback) override;
void OnDraw() override;
+ void ForceSwap() override;
// RendererClient implementation.
void SetFullRootLayerDamage() override;

Powered by Google App Engine
This is Rietveld 408576698