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

Unified Diff: cc/thread_proxy.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: fix [chromium-style] virtual methods with non-empty bodies shouldn't be declared inline 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
« no previous file with comments | « cc/test/fake_tile_manager_client.h ('k') | cc/thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/thread_proxy.h
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h
index 283761df04c4213fd3e03da72303c64f975a8862..c1645398f0724e61813819c7385663aac62b849b 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -63,17 +63,21 @@ public:
virtual void onCanDrawStateChanged(bool canDraw) OVERRIDE;
virtual void onHasPendingTreeStateChanged(bool hasPendingTree) OVERRIDE;
virtual void setNeedsRedrawOnImplThread() OVERRIDE;
+ virtual void didSwapUseIncompleteTextureOnImplThread() OVERRIDE;
+ virtual void didUploadVisibleHighResolutionTileOnImplTread() OVERRIDE;
virtual void setNeedsCommitOnImplThread() OVERRIDE;
virtual void setNeedsManageTilesOnImplThread() OVERRIDE;
virtual void postAnimationEventsToMainThreadOnImplThread(scoped_ptr<AnimationEventsVector>, base::Time wallClockTime) OVERRIDE;
virtual bool reduceContentsTextureMemoryOnImplThread(size_t limitBytes, int priorityCutoff) OVERRIDE;
virtual void sendManagedMemoryStats() OVERRIDE;
+ virtual bool isInsideDraw() OVERRIDE;
// SchedulerClient implementation
virtual void scheduledActionBeginFrame() OVERRIDE;
virtual ScheduledActionDrawAndSwapResult scheduledActionDrawAndSwapIfPossible() OVERRIDE;
virtual ScheduledActionDrawAndSwapResult scheduledActionDrawAndSwapForced() OVERRIDE;
virtual void scheduledActionCommit() OVERRIDE;
+ virtual void scheduledActionCheckForCompletedTextures() OVERRIDE;
virtual void scheduledActionActivatePendingTreeIfNeeded() OVERRIDE;
virtual void scheduledActionBeginContextRecreation() OVERRIDE;
virtual void scheduledActionAcquireLayerTexturesForMainThread() OVERRIDE;
@@ -191,6 +195,8 @@ private:
bool m_renderVSyncEnabled;
+ bool m_insideDraw;
+
base::TimeDelta m_totalCommitTime;
size_t m_totalCommitCount;
« no previous file with comments | « cc/test/fake_tile_manager_client.h ('k') | cc/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698