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

Unified Diff: cc/scheduler.h

Issue 11879012: cc: Redraw incomplete frames when new texture uploads finish (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decouple_draw3b
Patch Set: rename some method, only check for incomplete frames when impl-side painting Created 7 years, 11 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/scheduler.h
diff --git a/cc/scheduler.h b/cc/scheduler.h
index 6d2bad92f77c1e683b0b37e34085232a74a9aad5..dddde345815bfe18e85e721de9eb77f2cba4af8e 100644
--- a/cc/scheduler.h
+++ b/cc/scheduler.h
@@ -39,6 +39,7 @@ public:
virtual ScheduledActionDrawAndSwapResult scheduledActionDrawAndSwapIfPossible() = 0;
virtual ScheduledActionDrawAndSwapResult scheduledActionDrawAndSwapForced() = 0;
virtual void scheduledActionCommit() = 0;
+ virtual void scheduledActionCheckForNewTextures() = 0;
nduca 2013/01/17 22:05:18 We're using different words throughout. CheckForC
virtual void scheduledActionActivatePendingTreeIfNeeded() = 0;
virtual void scheduledActionBeginContextRecreation() = 0;
virtual void scheduledActionAcquireLayerTexturesForMainThread() = 0;
@@ -77,6 +78,8 @@ public:
// Like setNeedsRedraw(), but ensures the draw will definitely happen even if we are not visible.
void setNeedsForcedRedraw();
+ void didSwapUseIncompleteTexture();
+
void beginFrameComplete();
void beginFrameAborted();

Powered by Google App Engine
This is Rietveld 408576698