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

Issue 11710004: cc: Block the main thread for texture layers during impl-side painting (Closed)

Created:
7 years, 11 months ago by enne (OOO)
Modified:
7 years, 11 months ago
Reviewers:
nduca
CC:
chromium-reviews, cc-bugs_chromium.org, jamesr
Visibility:
Public.

Description

cc: Block the main thread for texture layers during impl-side painting This patch adds an additional completion event to thread proxy. Right now, it checks for the lack of a pending tree after drawing (which is currently where tree activation is triggered). R=nduca@chromium.org BUG=164993 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177218

Patch Set 1 #

Total comments: 2

Patch Set 2 : Reuse commit mutex #

Total comments: 1

Patch Set 3 : TRACE_EVENT_INSTANT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -3 lines) Patch
M cc/layer.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layer.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download
M cc/layer_tree_host.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layer_tree_host.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M cc/texture_layer.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/thread_proxy.cc View 1 2 2 chunks +20 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
enne (OOO)
7 years, 11 months ago (2012-12-29 00:42:03 UTC) #1
enne (OOO)
If a scheduling event is added for tree activation, then maybe the proxy can be ...
7 years, 11 months ago (2012-12-29 00:44:00 UTC) #2
nduca
https://codereview.chromium.org/11710004/diff/1/cc/thread_proxy.cc File cc/thread_proxy.cc (right): https://codereview.chromium.org/11710004/diff/1/cc/thread_proxy.cc#newcode724 cc/thread_proxy.cc:724: m_commitCompletionEventOnImplThread->signal(); how about making not signaling this in impl ...
7 years, 11 months ago (2013-01-05 04:56:22 UTC) #3
enne (OOO)
https://codereview.chromium.org/11710004/diff/1/cc/thread_proxy.cc File cc/thread_proxy.cc (right): https://codereview.chromium.org/11710004/diff/1/cc/thread_proxy.cc#newcode724 cc/thread_proxy.cc:724: m_commitCompletionEventOnImplThread->signal(); On 2013/01/05 04:56:22, nduca wrote: > how about ...
7 years, 11 months ago (2013-01-05 06:25:45 UTC) #4
nduca
Sort of. Basically, we let the commit finish but leave the completion event still set ...
7 years, 11 months ago (2013-01-05 06:34:02 UTC) #5
enne (OOO)
Done. PTAL.
7 years, 11 months ago (2013-01-08 02:00:51 UTC) #6
nduca
LGTM https://codereview.chromium.org/11710004/diff/7001/cc/thread_proxy.cc File cc/thread_proxy.cc (right): https://codereview.chromium.org/11710004/diff/7001/cc/thread_proxy.cc#newcode726 cc/thread_proxy.cc:726: TRACE_EVENT0("cc", "ThreadProxy::scheduledActionCommit_HoldCommit"); You can just write HoldCommitUntilActivate and ...
7 years, 11 months ago (2013-01-08 04:49:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11710004/3002
7 years, 11 months ago (2013-01-08 05:12:32 UTC) #8
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
7 years, 11 months ago (2013-01-08 07:13:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11710004/3002
7 years, 11 months ago (2013-01-08 08:01:05 UTC) #10
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
7 years, 11 months ago (2013-01-08 12:20:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11710004/3002
7 years, 11 months ago (2013-01-08 15:13:18 UTC) #12
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) build
7 years, 11 months ago (2013-01-08 18:41:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11710004/3002
7 years, 11 months ago (2013-01-08 22:19:05 UTC) #14
commit-bot: I haz the power
Commit queue patch verification failed without an error message. Something went wrong, probably a crash, ...
7 years, 11 months ago (2013-01-09 00:39:23 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11710004/3002
7 years, 11 months ago (2013-01-09 18:02:26 UTC) #16
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
7 years, 11 months ago (2013-01-09 22:41:27 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11710004/3002
7 years, 11 months ago (2013-01-16 18:07:00 UTC) #18
commit-bot: I haz the power
7 years, 11 months ago (2013-01-16 21:12:42 UTC) #19
Message was sent while issue was closed.
Change committed as 177218

Powered by Google App Engine
This is Rietveld 408576698