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

Unified Diff: ui/compositor/compositor_observer.h

Issue 10453117: Tighter sync and faster ACK on SwapBuffers/PostSubBuffers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 7 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: ui/compositor/compositor_observer.h
diff --git a/ui/compositor/compositor_observer.h b/ui/compositor/compositor_observer.h
index e46010177f725f55f5a6fcbe68227abae231476a..992448a95ae09265c2200bf7ddaf585eae6f6160 100644
--- a/ui/compositor/compositor_observer.h
+++ b/ui/compositor/compositor_observer.h
@@ -19,6 +19,10 @@ class COMPOSITOR_EXPORT CompositorObserver {
// account and has issued the graphics commands.
virtual void OnCompositingStarted(Compositor* compositor) = 0;
+ // Called when compositing will complete: the present to the screen has been
+ // issued, but may not have completed yet.
+ virtual void OnCompositingWillEnd(Compositor* compositor) = 0;
+
// Called when compositing completes: the present to screen has completed.
virtual void OnCompositingEnded(Compositor* compositor) = 0;

Powered by Google App Engine
This is Rietveld 408576698