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

Side by Side Diff: cc/trees/compositor_mode.h

Issue 2646623002: cc: Remove all blimp code from cc. (Closed)
Patch Set: test build Created 3 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 unified diff | Download patch
« no previous file with comments | « cc/trees/clip_node.cc ('k') | cc/trees/effect_node.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_COMPOSITOR_MODE_H_ 5 #ifndef CC_TREES_COMPOSITOR_MODE_H_
6 #define CC_TREES_COMPOSITOR_MODE_H_ 6 #define CC_TREES_COMPOSITOR_MODE_H_
7 7
8 namespace cc { 8 namespace cc {
9 9
10 // The LayerTreeHost uses the CompositorMode to determine the current mode of 10 // The LayerTreeHost uses the CompositorMode to determine the current mode of
11 // operation, which is needed to: 11 // operation, which is needed to:
12 // 1) Safely cast Proxy to SingleThreadProxy to allow operations only supported 12 // 1) Safely cast Proxy to SingleThreadProxy to allow operations only supported
13 // in SingleThreaded mode. 13 // in SingleThreaded mode.
14 // 2) Make decisions restricted to either browser(SingleThreaded) or renderer 14 // 2) Make decisions restricted to either browser(SingleThreaded) or renderer
15 // compositors(Threaded/Remote). 15 // compositors(Threaded).
16 enum class CompositorMode { 16 enum class CompositorMode {
17 // The main and impl components will be run on the same thread. 17 // The main and impl components will be run on the same thread.
18 SINGLE_THREADED, 18 SINGLE_THREADED,
19 19
20 // The main and impl components be run on different threads. 20 // The main and impl components be run on different threads.
21 THREADED, 21 THREADED,
22
23 // The main and impl components will be run across the network.
24 REMOTE,
25 }; 22 };
26 23
27 } // namespace cc 24 } // namespace cc
28 25
29 #endif // CC_TREES_COMPOSITOR_MODE_H_ 26 #endif // CC_TREES_COMPOSITOR_MODE_H_
OLDNEW
« no previous file with comments | « cc/trees/clip_node.cc ('k') | cc/trees/effect_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698