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

Issue 2214263007: [worklets] Split apart CompositorWorkerThread for sharing with AnimationWorkletThread. (Closed)

Created:
4 years, 4 months ago by ikilpatrick
Modified:
4 years, 4 months ago
Reviewers:
majidvp, nhiroki, yhirano
CC:
chromium-reviews, shans, rjwright, blink-reviews-animation_chromium.org, haraken, darktears, blink-reviews, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[worklets] Split apart CompositorWorkerThread for sharing with AnimationWorkletThread. This splits apart CompositorWorkerThread into: - CompositorWorkerThread - AbstractAnimationWorkletThread And add AnimationWorkletThread which inherits from AbstractAnimationWorkletThread. AnimationWorkletThread is basically a place holder class at the moment which needs createWorkerGlobalScope and consoleMessageStorage implemented (which will be implemented once AnimationWorkletGS is checked in). BUG=567358 Committed: https://crrev.com/d82384e62af55a9aae1182b4ae4c19dac325910a Cr-Commit-Position: refs/heads/master@{#411052}

Patch Set 1 #

Patch Set 2 : fix spelling. #

Total comments: 10

Patch Set 3 : address comments. #

Total comments: 2

Patch Set 4 : address comments. #

Total comments: 2

Patch Set 5 : rename abstract class. #

Messages

Total messages: 33 (19 generated)
ikilpatrick
Suggestions welcome for better name than AbstractCompositorWorkerThread :) should only be a temporary class.
4 years, 4 months ago (2016-08-06 00:12:50 UTC) #7
majidvp
https://codereview.chromium.org/2214263007/diff/20001/third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp File third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp (right): https://codereview.chromium.org/2214263007/diff/20001/third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp#newcode10 third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp:10: #include "platform/WaitableEvent.h" CrossThreadFunctional, TraceEvent and WaitanleEvent headers seem unused. ...
4 years, 4 months ago (2016-08-08 12:46:48 UTC) #10
majidvp
https://codereview.chromium.org/2214263007/diff/20001/third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp File third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp (right): https://codereview.chromium.org/2214263007/diff/20001/third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp#newcode10 third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp:10: #include "platform/WaitableEvent.h" CrossThreadFunctional, TraceEvent and WaitanleEvent headers seem unused. ...
4 years, 4 months ago (2016-08-08 12:46:48 UTC) #11
ikilpatrick
https://codereview.chromium.org/2214263007/diff/20001/third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp File third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp (right): https://codereview.chromium.org/2214263007/diff/20001/third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp#newcode10 third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp:10: #include "platform/WaitableEvent.h" On 2016/08/08 12:46:48, majidvp wrote: > CrossThreadFunctional, ...
4 years, 4 months ago (2016-08-08 13:54:59 UTC) #14
majidvp
lgtm with nit. https://codereview.chromium.org/2214263007/diff/20001/third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp File third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp (right): https://codereview.chromium.org/2214263007/diff/20001/third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp#newcode10 third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.cpp:10: #include "platform/WaitableEvent.h" On 2016/08/08 13:54:58, ikilpatrick ...
4 years, 4 months ago (2016-08-08 14:43:07 UTC) #15
ikilpatrick
Cool, thanks Majid! https://codereview.chromium.org/2214263007/diff/40001/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp File third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp (right): https://codereview.chromium.org/2214263007/diff/40001/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp#newcode15 third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThread.cpp:15: TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("compositor-worker"), "AnimationWorkletThread::create"); On 2016/08/08 14:43:07, majidvp ...
4 years, 4 months ago (2016-08-08 15:32:10 UTC) #16
nhiroki
lgtm https://codereview.chromium.org/2214263007/diff/60001/third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.h File third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.h (right): https://codereview.chromium.org/2214263007/diff/60001/third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.h#newcode19 third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.h:19: class MODULES_EXPORT AbstractCompositorWorkerThread : public WorkerThread { AnimationWorklet ...
4 years, 4 months ago (2016-08-09 00:54:11 UTC) #17
yhirano
Sorry for a naive question. CompositorWorklet, CompositorWorker and AnimationWorklet share the same backing thread, is ...
4 years, 4 months ago (2016-08-09 08:45:14 UTC) #18
ikilpatrick
On 2016/08/09 08:45:14, yhirano (slow) wrote: > Sorry for a naive question. CompositorWorklet, CompositorWorker and ...
4 years, 4 months ago (2016-08-10 13:51:12 UTC) #21
ikilpatrick
https://codereview.chromium.org/2214263007/diff/60001/third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.h File third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.h (right): https://codereview.chromium.org/2214263007/diff/60001/third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.h#newcode19 third_party/WebKit/Source/modules/compositorworker/AbstractCompositorWorkerThread.h:19: class MODULES_EXPORT AbstractCompositorWorkerThread : public WorkerThread { On 2016/08/09 ...
4 years, 4 months ago (2016-08-10 13:51:19 UTC) #22
yhirano
lgtm
4 years, 4 months ago (2016-08-10 15:00:04 UTC) #26
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/2214263007/80001
4 years, 4 months ago (2016-08-10 15:04:08 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-10 16:30:04 UTC) #31
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 16:31:31 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d82384e62af55a9aae1182b4ae4c19dac325910a
Cr-Commit-Position: refs/heads/master@{#411052}

Powered by Google App Engine
This is Rietveld 408576698