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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 2841263002: [VSync Queue] Flush input in CommitComplete() (Closed)
Patch Set: sunnyps's review: Add comment Created 3 years, 8 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 | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index e7b3f6163470bba5d7a5c42a1c31a8cacdb2c698..96c86a52769fe132f320bb8fa7544a224241f650 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -88,6 +88,11 @@ enum class GpuRasterizationStatus {
MSAA_CONTENT,
};
+enum class ImplThreadPhase {
+ IDLE,
+ INSIDE_IMPL_FRAME,
+};
+
// LayerTreeHost->Proxy callback interface.
class LayerTreeHostImplClient {
public:
@@ -870,6 +875,8 @@ class CC_EXPORT LayerTreeHostImpl
bool touchpad_and_wheel_scroll_latching_enabled_;
+ ImplThreadPhase impl_thread_phase_;
+
DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
};
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698