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

Unified Diff: cc/trees/thread_proxy.cc

Issue 754433003: Update from https://crrev.com/305340 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/trees/thread_proxy.h ('k') | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index bd85f016e784034b5c4779e179da114819a261a7..4793cc5ecf5c27d3458a870230af7569bea5d5c0 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -165,7 +165,7 @@ void ThreadProxy::SetLayerTreeHostClientReadyOnImplThread() {
}
void ThreadProxy::SetVisible(bool visible) {
- TRACE_EVENT0("cc", "ThreadProxy::SetVisible");
+ TRACE_EVENT1("cc", "ThreadProxy::SetVisible", "visible", visible);
DebugScopedSetMainThreadBlocked main_thread_blocked(this);
CompletionEvent completion;
@@ -180,7 +180,7 @@ void ThreadProxy::SetVisible(bool visible) {
void ThreadProxy::SetVisibleOnImplThread(CompletionEvent* completion,
bool visible) {
- TRACE_EVENT0("cc", "ThreadProxy::SetVisibleOnImplThread");
+ TRACE_EVENT1("cc", "ThreadProxy::SetVisibleOnImplThread", "visible", visible);
impl().layer_tree_host_impl->SetVisible(visible);
impl().scheduler->SetVisible(visible);
completion->Signal();
@@ -1095,6 +1095,10 @@ void ThreadProxy::DidBeginImplFrameDeadline() {
impl().layer_tree_host_impl->ResetCurrentBeginFrameArgsForNextFrame();
}
+void ThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) {
+ NOTREACHED() << "Only used by SingleThreadProxy";
+}
+
void ThreadProxy::ReadyToFinalizeTextureUpdates() {
DCHECK(IsImplThread());
impl().scheduler->NotifyReadyToCommit();
@@ -1250,6 +1254,10 @@ bool ThreadProxy::MainFrameWillHappenForTesting() {
return main_frame_will_happen;
}
+void ThreadProxy::SetChildrenNeedBeginFrames(bool children_need_begin_frames) {
+ NOTREACHED() << "Only used by SingleThreadProxy";
+}
+
void ThreadProxy::MainFrameWillHappenOnImplThreadForTesting(
CompletionEvent* completion,
bool* main_frame_will_happen) {
« no previous file with comments | « cc/trees/thread_proxy.h ('k') | gpu/GLES2/gl2extchromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698