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

Unified Diff: cc/output/output_surface_client.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
« no previous file with comments | « no previous file | cc/surfaces/display.h » ('j') | cc/surfaces/display.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/output_surface_client.h
diff --git a/cc/output/output_surface_client.h b/cc/output/output_surface_client.h
index 98010dc43378160add8cf9bd5072d3c4ea60a924..381f5dc2ca0013cd34d488a75132f9ec09908d2a 100644
--- a/cc/output/output_surface_client.h
+++ b/cc/output/output_surface_client.h
@@ -45,6 +45,7 @@ class CC_EXPORT OutputSurfaceClient {
virtual void SetTreeActivationCallback(const base::Closure& callback) = 0;
// This allows the output surface to ask it's client for a draw.
virtual void OnDraw() = 0;
+ virtual void ForceSwap() = 0;
jbauman 2015/09/10 19:29:49 You should use SetNeedsRedrawRect, with a damage r
dnicoara 2015/09/10 19:39:39 Done.
protected:
virtual ~OutputSurfaceClient() {}
« no previous file with comments | « no previous file | cc/surfaces/display.h » ('j') | cc/surfaces/display.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698