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

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: Add trace events and isImplThread DCHECKS 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 d41831e686409ccc89975c0baccffd6e87d07021..f7fa5ba421e7bdadb8e5a25a6bcb42ff0f47071e 100644
--- a/cc/scheduler.h
+++ b/cc/scheduler.h
@@ -47,6 +47,7 @@ public:
virtual ScheduledActionDrawAndSwapResult scheduledActionDrawAndSwapIfPossible() = 0;
virtual ScheduledActionDrawAndSwapResult scheduledActionDrawAndSwapForced() = 0;
virtual void scheduledActionCommit() = 0;
+ virtual void scheduledActionCheckForNewTextures() = 0;
virtual void scheduledActionActivatePendingTreeIfNeeded() = 0;
virtual void scheduledActionBeginContextRecreation() = 0;
virtual void scheduledActionAcquireLayerTexturesForMainThread() = 0;
@@ -79,6 +80,7 @@ public:
void setNeedsForcedCommit();
void setNeedsRedraw();
+ void setNeedsRedrawOnVisibleTextureUpload();
void setMainThreadNeedsLayerTextures();

Powered by Google App Engine
This is Rietveld 408576698