Граф коммитов

18 Коммитов

Автор SHA1 Сообщение Дата
Karl Tomlinson d0133206f2 bug 1539039 notify WorkletImpl before WorkletThread shutdown on xpcom shutdown r=baku
This gives WorkletImpl a chance to send a message to release worklet thread
objects.

This is used only for PaintWorklet until PaintWorklet uses its own threads.

Differential Revision: https://phabricator.services.mozilla.com/D25353

--HG--
extra : moz-landing-system : lando
2019-04-01 16:51:18 +00:00
Karl Tomlinson 01f71ced46 bug 1513722 expose WorkletJSContext creation and deletion and delay creation until required r=baku
The on-demand creation from Worklet.addModule() provides the same creation
path for clients that provide their own thread.

Differential Revision: https://phabricator.services.mozilla.com/D13217

--HG--
extra : moz-landing-system : lando
2018-12-20 07:28:04 +00:00
Andreea Pavel d5f0aa2919 Backed out 2 changesets (bug 1513722) for build bustages
Backed out changeset 8e2c3015fc95 (bug 1513722)
Backed out changeset 0c454fd1dbcb (bug 1513722)
2018-12-20 06:57:15 +02:00
Karl Tomlinson 3736657c41 bug 1513722 expose WorkletJSContext creation and deletion and delay creation until required r=baku
The on-demand creation from Worklet.addModule() provides the same creation
path for clients that provide their own thread.

Differential Revision: https://phabricator.services.mozilla.com/D13217

--HG--
extra : moz-landing-system : lando
2018-12-20 04:21:57 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Karl Tomlinson 74a06ee99d Bug 1476514 replace WorkletThread::mJSContext with a boolean r=baku
Depends on D13215

Differential Revision: https://phabricator.services.mozilla.com/D13216

--HG--
extra : moz-landing-system : lando
2018-11-29 05:44:47 +00:00
Karl Tomlinson b94bfb9feb Bug 1476514 remove Get() and GetJSContext() from WorkletThread r=baku
Depends on D13214

Differential Revision: https://phabricator.services.mozilla.com/D13215

--HG--
extra : moz-landing-system : lando
2018-11-28 17:31:48 +00:00
Karl Tomlinson 9db064fcec Bug 1476514 move TimeStampToDOMHighRes() from WorkletThread to WorkletGlobalScope r=baku
Differential Revision: https://phabricator.services.mozilla.com/D13210

--HG--
extra : moz-landing-system : lando
2018-11-28 17:09:24 +00:00
Karl Tomlinson 6471490b0a Bug 1492014 remove now-unused WorkletThread::mWorkletLoadInfo r=baku
Depends on D6107

Differential Revision: https://phabricator.services.mozilla.com/D6108
2018-09-18 09:28:28 +00:00
Karl Tomlinson c724b9dd1f Bug 1492014 introduce WorkletImpl as an object to identify a worklet from parent and execution threads r=baku
Depends on D6100

Differential Revision: https://phabricator.services.mozilla.com/D6101

--HG--
rename : dom/worklet/Worklet.cpp => dom/worklet/WorkletImpl.cpp
rename : dom/worklet/Worklet.h => dom/worklet/WorkletImpl.h
2018-09-18 09:36:38 +00:00
Karl Tomlinson 7ac2065c2e Bug 1492014 remove declaration for non-existant WorkletThread::GetWorkerPrincipal() r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6099
2018-09-18 09:36:44 +00:00
Narcis Beleuzu bf9a9a6b50 Backed out 13 changesets (bug 1492014) for multiple failures. a=backout
Backed out changeset f629b66a235f (bug 1492014)
Backed out changeset 0a8510efbba3 (bug 1492014)
Backed out changeset 2798792623cf (bug 1492014)
Backed out changeset 8818f5ae0d13 (bug 1492014)
Backed out changeset 0c6b469c9618 (bug 1492014)
Backed out changeset d1654231ffb8 (bug 1492014)
Backed out changeset 5a3967f37d3f (bug 1492014)
Backed out changeset ac095c2fdd8b (bug 1492014)
Backed out changeset 4d1ba44e30ab (bug 1492014)
Backed out changeset e34938a11fab (bug 1492014)
Backed out changeset 3e142ea44140 (bug 1492014)
Backed out changeset b0f2fafdba8c (bug 1492014)
Backed out changeset d77330a1cbfa (bug 1492014)
2018-09-25 16:26:04 +03:00
Karl Tomlinson 18b9edd04f Bug 1492014 remove now-unused WorkletThread::mWorkletLoadInfo r=baku
Depends on D6107

Differential Revision: https://phabricator.services.mozilla.com/D6108

--HG--
extra : moz-landing-system : lando
2018-09-18 09:28:28 +00:00
Karl Tomlinson 89c6ae2a56 Bug 1492014 introduce WorkletImpl as an object to identify a worklet from parent and execution threads r=baku
Depends on D6100

Differential Revision: https://phabricator.services.mozilla.com/D6101

--HG--
rename : dom/worklet/Worklet.cpp => dom/worklet/WorkletImpl.cpp
rename : dom/worklet/Worklet.h => dom/worklet/WorkletImpl.h
extra : moz-landing-system : lando
2018-09-18 09:36:38 +00:00
Karl Tomlinson 5ca777a6b5 Bug 1492014 remove declaration for non-existant WorkletThread::GetWorkerPrincipal() r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6099

--HG--
extra : moz-landing-system : lando
2018-09-18 09:36:44 +00:00
Karl Tomlinson cabef87937 bug 1328964 terminate worklet thread during xpcom shutdown r=baku
The final CC does not happen until after threads are shutdown and so we can't
depend on CC to trigger termination.

This management of the worklet thread by worklet code is an intermediate
situation until worklets run on the threads managed by other objects.

MozReview-Commit-ID: 8hWsdRCppC2

--HG--
extra : rebase_source : 1a0bfdc80ffa2d8beaff6249f40d033a0f319d2e
2018-04-12 16:26:08 +12:00
Andrea Marchesini 2e8f885142 Bug 1328964 - part 3 - Console API exposed to worklets r=baku
Initial version r=smaug.
Rebased to c616a6fd5e4b by Jan-Ivar Bruaroey <jib@mozilla.com> r=karlt.
Rebased to 83de58ddda20 by Karl Tomlinson <karlt+@karlt.net> r=baku.

MozReview-Commit-ID: G5E5OXydj3a

--HG--
extra : rebase_source : 4c6c9d396debce92299496c86bb6f55fbbb15a8a
2018-04-12 16:21:20 +12:00
Andrea Marchesini 6bcc1f6196 Bug 1328964 - part 2 - WorkletThread r=baku
Initial version r=smaug.
Rebased to c616a6fd5e4b by Jan-Ivar Bruaroey <jib@mozilla.com> r=karlt.
Rebased to 83de58ddda20 by Karl Tomlinson <karlt+@karlt.net> r=baku.

MozReview-Commit-ID: Lo8TWtN8qyz

--HG--
extra : rebase_source : ffcb7b835ea49cda3e25dfa94a91b3725fdbfb29
2018-04-12 15:14:48 +12:00