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

Issue 2312493002: [worklets] Introduce ThreadedWorkletMessagingProxy and AnimationWorkletMessagaingProxy. (Closed)

Created:
4 years, 3 months ago by ikilpatrick
Modified:
4 years, 2 months ago
CC:
chromium-reviews, shans, rjwright, blink-reviews-animation_chromium.org, falken, haraken, blink-worker-reviews_chromium.org, darktears, blink-reviews, horo+watch_chromium.org, kinuko+worker_chromium.org, Eric Willigers
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[worklets] Introduce ThreadedWorkletMessagingProxy and AnimationWorkletMessagaingProxy. This patch does the plumbing from the animationworklet to the globalscope to import scripts etc. BUG=567358 Committed: https://crrev.com/4bd1a1b4e1d321526cfe0c10adc15f507a661bb8 Committed: https://crrev.com/a49dbd327c02c506b07bc9c024e2492b34a4c779 Cr-Original-Commit-Position: refs/heads/master@{#418765} Cr-Commit-Position: refs/heads/master@{#422192}

Patch Set 1 #

Patch Set 2 : done? #

Patch Set 3 : fix win compile. #

Total comments: 2

Patch Set 4 : revert audio worklet changes. #

Patch Set 5 : fix buid /me shakes fist a GN files. #

Total comments: 16

Patch Set 6 : address comments. #

Patch Set 7 : rebase + rename overridden methods. #

Total comments: 6

Patch Set 8 : address comments. #

Patch Set 9 : rebase. #

Patch Set 10 : animation messaging proxy. #

Patch Set 11 : Lazily create thread, and move import test into virtual test-suite. #

Patch Set 12 : animation messaging proxy. #

Patch Set 13 : rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+379 lines, -85 lines) Patch
M third_party/WebKit/LayoutTests/VirtualTestSuites View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/worklet/import.html View 1 1 chunk +0 lines, -51 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/worklet/paint-worklet-import.html View 1 1 chunk +13 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/worklet/resources/import-tests.js View 1 2 3 4 5 6 7 8 9 4 chunks +12 lines, -17 lines 0 comments Download
A + third_party/WebKit/LayoutTests/virtual/threaded/http/tests/worklet/README.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/virtual/threaded/http/tests/worklet/animation-worklet-import.html View 1 2 3 4 5 6 7 8 9 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/workers/BUILD.gn View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/core/workers/ThreadedWorkletGlobalScopeProxy.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -9 lines 0 comments Download
A third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.h View 1 2 3 4 5 1 chunk +37 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.cpp View 1 1 chunk +71 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.h View 1 2 3 4 5 6 7 1 chunk +55 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp View 1 2 3 4 5 6 7 1 chunk +64 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/workers/Worklet.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/workers/Worklet.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.h View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +24 lines, -3 lines 0 comments Download
A third_party/WebKit/Source/modules/compositorworker/AnimationWorkletMessagingProxy.h View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/compositorworker/AnimationWorkletMessagingProxy.cpp View 10 1 chunk +26 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/compositorworker/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 87 (62 generated)
ikilpatrick
4 years, 3 months ago (2016-09-09 03:57:24 UTC) #23
hongchan
https://codereview.chromium.org/2312493002/diff/80001/third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp File third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp (left): https://codereview.chromium.org/2312493002/diff/80001/third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp#oldcode9 third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp:9: #include "core/workers/ThreadedWorkletGlobalScopeProxy.h" I am not sure what this change ...
4 years, 3 months ago (2016-09-09 17:45:30 UTC) #26
nhiroki
lgtm! https://codereview.chromium.org/2312493002/diff/120001/third_party/WebKit/LayoutTests/http/tests/worklet/resources/import-tests.js File third_party/WebKit/LayoutTests/http/tests/worklet/resources/import-tests.js (right): https://codereview.chromium.org/2312493002/diff/120001/third_party/WebKit/LayoutTests/http/tests/worklet/resources/import-tests.js#newcode1 third_party/WebKit/LayoutTests/http/tests/worklet/resources/import-tests.js:1: // Runs a series of tests related to ...
4 years, 3 months ago (2016-09-12 03:37:06 UTC) #35
yhirano
https://codereview.chromium.org/2312493002/diff/120001/third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.h File third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.h (right): https://codereview.chromium.org/2312493002/diff/120001/third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.h#newcode24 third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.h:24: void initialize(); +blank line https://codereview.chromium.org/2312493002/diff/120001/third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.h#newcode28 third_party/WebKit/Source/core/workers/ThreadedWorkletMessagingProxy.h:28: ThreadedWorkletObjectProxy& workletObjectProxy() { ...
4 years, 3 months ago (2016-09-12 09:02:59 UTC) #36
ikilpatrick
https://codereview.chromium.org/2312493002/diff/80001/third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp File third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp (left): https://codereview.chromium.org/2312493002/diff/80001/third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp#oldcode9 third_party/WebKit/Source/modules/webaudio/AudioWorklet.cpp:9: #include "core/workers/ThreadedWorkletGlobalScopeProxy.h" On 2016/09/09 17:45:30, hoch wrote: > I ...
4 years, 3 months ago (2016-09-12 17:29:07 UTC) #39
ikilpatrick
+majid FYI
4 years, 3 months ago (2016-09-12 17:29:36 UTC) #41
majidvp
lgtm with nits https://codereview.chromium.org/2312493002/diff/160001/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp File third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp (right): https://codereview.chromium.org/2312493002/diff/160001/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp#newcode38 third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp:38: toDocument(getExecutionContext())->postInspectorTask(BLINK_FROM_HERE, createCrossThreadTask(&::blink::ThreadedWorkletMessagingProxy::postMessageToPageInspector, crossThreadUnretained(m_messagingProxy), message)); nit: Are ...
4 years, 3 months ago (2016-09-14 20:06:31 UTC) #46
ikilpatrick
https://codereview.chromium.org/2312493002/diff/160001/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp File third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp (right): https://codereview.chromium.org/2312493002/diff/160001/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp#newcode38 third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp:38: toDocument(getExecutionContext())->postInspectorTask(BLINK_FROM_HERE, createCrossThreadTask(&::blink::ThreadedWorkletMessagingProxy::postMessageToPageInspector, crossThreadUnretained(m_messagingProxy), message)); On 2016/09/14 20:06:31, majidvp wrote: ...
4 years, 3 months ago (2016-09-14 21:54:52 UTC) #49
yhirano
lgtm
4 years, 3 months ago (2016-09-15 01:03:25 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2312493002/180001
4 years, 3 months ago (2016-09-15 01:16:19 UTC) #55
commit-bot: I haz the power
Committed patchset #8 (id:180001)
4 years, 3 months ago (2016-09-15 02:35:01 UTC) #57
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/4bd1a1b4e1d321526cfe0c10adc15f507a661bb8 Cr-Commit-Position: refs/heads/master@{#418765}
4 years, 3 months ago (2016-09-15 02:37:55 UTC) #59
Yuta Kitamura
Hey ikilpatrick & reviewers, I've determined this commit has caused leaks in 18 layout tests: ...
4 years, 3 months ago (2016-09-15 05:55:12 UTC) #60
nhiroki
On 2016/09/15 05:55:12, Yuta Kitamura wrote: > Hey ikilpatrick & reviewers, > > I've determined ...
4 years, 3 months ago (2016-09-15 06:10:28 UTC) #61
Yuta Kitamura
On 2016/09/15 06:10:28, nhiroki wrote: > On 2016/09/15 05:55:12, Yuta Kitamura wrote: > > Hey ...
4 years, 3 months ago (2016-09-15 07:38:42 UTC) #62
Yuta Kitamura
A revert of this CL (patchset #8 id:180001) has been created in https://codereview.chromium.org/2342013002/ by yutak@chromium.org. ...
4 years, 3 months ago (2016-09-15 07:39:39 UTC) #63
Yuta Kitamura
On 2016/09/15 07:39:39, Yuta Kitamura wrote: > A revert of this CL (patchset #8 id:180001) ...
4 years, 3 months ago (2016-09-15 08:41:11 UTC) #64
Yuta Kitamura
On 2016/09/15 08:41:11, Yuta Kitamura wrote: > Also this commit is suspected to be causing ...
4 years, 3 months ago (2016-09-15 10:17:13 UTC) #65
ikilpatrick
On 2016/09/15 10:17:13, Yuta Kitamura wrote: > On 2016/09/15 08:41:11, Yuta Kitamura wrote: > > ...
4 years, 3 months ago (2016-09-15 15:45:49 UTC) #66
ikilpatrick
nhiroki / majidvp PTAL The leak(s) was due to not running with --enable-threaded-compositing like the ...
4 years, 2 months ago (2016-09-29 23:47:51 UTC) #70
nhiroki
lgtm
4 years, 2 months ago (2016-09-30 10:50:36 UTC) #75
majidvp
On 2016/09/30 10:50:36, nhiroki (slow) wrote: > lgtm lgtm. We should eventually figure out why ...
4 years, 2 months ago (2016-09-30 16:55:48 UTC) #78
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2312493002/280001
4 years, 2 months ago (2016-09-30 18:46:37 UTC) #83
commit-bot: I haz the power
Committed patchset #13 (id:280001)
4 years, 2 months ago (2016-09-30 19:50:42 UTC) #85
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 19:53:14 UTC) #87
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/a49dbd327c02c506b07bc9c024e2492b34a4c779
Cr-Commit-Position: refs/heads/master@{#422192}

Powered by Google App Engine
This is Rietveld 408576698