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

Unified Diff: cc/surfaces/display.h

Issue 2242633002: Android: Force draw for pending readbacks during Display teardown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tn1
Patch Set: fix 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 | « no previous file | cc/surfaces/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.h
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
index 0fc2fb0a7484bf5f6a4853c93ef61022cb655521..235abf166d21c23de599fd299a075c8231a8db69 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -117,6 +117,8 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
bool has_scheduler() const { return !!scheduler_; }
DirectRenderer* renderer_for_testing() const { return renderer_.get(); }
+ void ForceImmediateDrawAndSwapIfPossible();
+
private:
void InitializeRenderer();
void UpdateRootSurfaceResourcesLocked();
« no previous file with comments | « no previous file | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698