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

Unified Diff: cc/trees/compositor_mode.h

Issue 1513643010: cc:: Add remote mode to the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use LayerTreeSettings::ToProtobuf, update comments. Created 5 years 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/trees/compositor_mode.h
diff --git a/cc/trees/compositor_mode.h b/cc/trees/compositor_mode.h
index 649441966d1c1440fb4c1bd07a704f6aa2b452c1..3941a93ac3aa96c3389cefce2c33c317c4057614 100644
--- a/cc/trees/compositor_mode.h
+++ b/cc/trees/compositor_mode.h
@@ -12,10 +12,20 @@ namespace cc {
// 1) Safely cast Proxy to SingleThreadProxy to allow operations only supported
// in SingleThreaded mode.
// 2) Make decisions restricted to either browser(SingleThreaded) or renderer
-// compositors(Threaded).
+// compositors(Threaded/Remote).
enum CompositorMode {
+ // The main and impl components will be run on the same thread.
SingleThreaded,
+
+ // The main and impl components be run on different threads.
Threaded,
+
+ // The main and impl components will be run across the network.
+ Remote,
+
+ // The commit data from the remote compositor will be deserialized to this
+ // LayerTreeHost to be used by the impl components during the commit.
+ Deserializable,
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698