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

Issue 2372303002: [worklets] Add AudioWorkletGlobalScope and AudioWorkletThread (Closed)

Created:
4 years, 2 months ago by hongchan
Modified:
4 years, 2 months ago
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews-bindings_chromium.org, blink-reviews, Raymond Toy, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[worklets] Add AudioWorkletGlobalScope and AudioWorkletThread This CL is to add AudioWorkletGlobalScope and AudioWorkletThread. This change is largely based on the https://codereview.chromium.org/2254593002, but some adaptations have been made to accommodate the AudioWorklet design. - AudioWorkletGlobalScope extends ThreadedWorkletGlobalScope - AudioWorklerThread uses WebThread(SupportingGC) BUG=469639 TEST=AudioWorkletThreadTest.cpp Committed: https://crrev.com/1b37f672598fd11ebeb8e329dc257f62fbd8232e Cr-Commit-Position: refs/heads/master@{#425278}

Patch Set 1 : Introduce AudioWorkletGlobalScope and AudioWorkletThread #

Patch Set 2 : Add a unit test for AudioWorkletThread #

Total comments: 15

Patch Set 3 : Addressing feedback (except for BackingThreadHolder refactoring) #

Patch Set 4 : Using WorkletBackingThreadHolder #

Total comments: 9

Patch Set 5 : Addressing feedback (1) #

Total comments: 1

Patch Set 6 : Fixing nits after l-g-t-m #

Messages

Total messages: 35 (17 generated)
hongchan
PTAL.
4 years, 2 months ago (2016-09-29 20:11:56 UTC) #4
ikilpatrick
+nhiroki
4 years, 2 months ago (2016-09-29 21:31:45 UTC) #7
haraken
I'm curious if we can share more code with AbstractAnimationWorkletThread. https://codereview.chromium.org/2372303002/diff/20001/third_party/WebKit/Source/modules/webaudio/AudioWorkletThread.cpp File third_party/WebKit/Source/modules/webaudio/AudioWorkletThread.cpp (right): https://codereview.chromium.org/2372303002/diff/20001/third_party/WebKit/Source/modules/webaudio/AudioWorkletThread.cpp#newcode24 ...
4 years, 2 months ago (2016-09-30 00:18:39 UTC) #8
hongchan
On 2016/09/30 00:18:39, haraken wrote: > I'm curious if we can share more code with ...
4 years, 2 months ago (2016-09-30 02:37:56 UTC) #9
nhiroki
On 2016/09/30 02:37:56, hoch wrote: > On 2016/09/30 00:18:39, haraken wrote: > > I'm curious ...
4 years, 2 months ago (2016-09-30 11:20:46 UTC) #10
nhiroki
https://codereview.chromium.org/2372303002/diff/20001/third_party/WebKit/Source/modules/modules_idl_files.gni File third_party/WebKit/Source/modules/modules_idl_files.gni (right): https://codereview.chromium.org/2372303002/diff/20001/third_party/WebKit/Source/modules/modules_idl_files.gni#newcode15 third_party/WebKit/Source/modules/modules_idl_files.gni:15: "AudioWorkletGlobalScope", Can you sort this in alphabetical order? https://codereview.chromium.org/2372303002/diff/20001/third_party/WebKit/Source/modules/modules_idl_files.gni#newcode24 ...
4 years, 2 months ago (2016-09-30 11:28:58 UTC) #11
hongchan
On 2016/09/30 00:18:39, haraken wrote: > I'm curious if we can share more code with ...
4 years, 2 months ago (2016-10-04 17:07:15 UTC) #12
hongchan
PTAL. I applied the refactored WorkletBackingThreadHolder to AudioWorkletThread. @nhiroki Can you explain about your comment ...
4 years, 2 months ago (2016-10-11 23:42:39 UTC) #13
haraken
LGTM on my side, but I hope you remove the duplicated code using a C++ ...
4 years, 2 months ago (2016-10-12 01:56:43 UTC) #18
nhiroki
lgtm https://codereview.chromium.org/2372303002/diff/60001/third_party/WebKit/Source/modules/webaudio/AudioWorkletThread.h File third_party/WebKit/Source/modules/webaudio/AudioWorkletThread.h (right): https://codereview.chromium.org/2372303002/diff/60001/third_party/WebKit/Source/modules/webaudio/AudioWorkletThread.h#newcode44 third_party/WebKit/Source/modules/webaudio/AudioWorkletThread.h:44: WorkerOrWorkletGlobalScope* createWorkerGlobalScope( explicit https://codereview.chromium.org/2372303002/diff/60001/third_party/WebKit/Source/modules/webaudio/AudioWorkletThreadTest.cpp File third_party/WebKit/Source/modules/webaudio/AudioWorkletThreadTest.cpp (right): https://codereview.chromium.org/2372303002/diff/60001/third_party/WebKit/Source/modules/webaudio/AudioWorkletThreadTest.cpp#newcode12 ...
4 years, 2 months ago (2016-10-12 02:27:44 UTC) #19
nhiroki
On 2016/10/11 23:42:39, hoch wrote: > PTAL. > > I applied the refactored WorkletBackingThreadHolder to ...
4 years, 2 months ago (2016-10-12 02:30:13 UTC) #20
ikilpatrick
lgtm
4 years, 2 months ago (2016-10-12 16:54:24 UTC) #21
hongchan
haraken@ Can you take one more look at your feedback on Isolate*? rtoy@ PTAL. https://codereview.chromium.org/2372303002/diff/20001/third_party/WebKit/Source/modules/webaudio/AudioWorkletThreadTest.cpp ...
4 years, 2 months ago (2016-10-12 17:24:05 UTC) #22
haraken
LGTM
4 years, 2 months ago (2016-10-13 01:54:41 UTC) #23
Raymond Toy
lgtm with nit. https://codereview.chromium.org/2372303002/diff/80001/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.idl File third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.idl (right): https://codereview.chromium.org/2372303002/diff/80001/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.idl#newcode12 third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.idl:12: }; The current spec says there's ...
4 years, 2 months ago (2016-10-13 21:54:15 UTC) #24
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/2372303002/100001
4 years, 2 months ago (2016-10-14 08:08:06 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-14 09:31:17 UTC) #33
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 09:33:24 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/1b37f672598fd11ebeb8e329dc257f62fbd8232e
Cr-Commit-Position: refs/heads/master@{#425278}

Powered by Google App Engine
This is Rietveld 408576698