thomasmo
5f5804e41b
Bug 1562777 - Refactor ShMem code from VR classes into separate class r=kip
...
This change brings the related ShMem code from VRManager and VRService into a
new class, VRShMem. This is to support future work where this ShMem will be used
for other efforts. Having this code in the same class will enable it to be more
easily shared in these efforts.
Until the new class replaces the code in VRManager and VRService, it can be
exercised and validated with two instances of vrtesthost, with the -testmgr and
-testsvc parameters.
Differential Revision: https://phabricator.services.mozilla.com/D36649
--HG--
extra : moz-landing-system : lando
2019-07-03 15:50:28 +00:00
Daosheng Mu
8ed8b572cb
Bug 1559843 - Replace VR code endling to LF. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D36673
--HG--
extra : moz-landing-system : lando
2019-07-02 23:40:27 +00:00
Kearwood "Kip" Gilbert
816af12bb5
Bug 1466702 - Refactor / reimplement gfxVRPuppet and VRServiceTest to use gfxVRExternal r=daoshengmu,thomasmo,bzbarsky
...
gfxVRPuppet will be replaced with a fully asynchronous puppet automation that runs in the VR process.
Differential Revision: https://phabricator.services.mozilla.com/D26263
--HG--
extra : moz-landing-system : lando
2019-06-28 21:19:54 +00:00
Coroiu Cristina
057f20d982
Merge mozilla-central to autoland a=merge on a CLOSED TREE
2019-06-27 12:42:29 +03:00
Nicholas Nethercote
84b32d3654
Bug 1561491
- Make browser.* and dom.vr.* static prefs follow the naming convention. r=KrisWright
...
The patch also removes the dom.vr.oculus.quit.timeout pref, because it's
unused.
Differential Revision: https://phabricator.services.mozilla.com/D35973
--HG--
extra : rebase_source : bd16ed5ff0b7c2b4f8e653e9835610b25b14a39f
2019-06-25 16:32:29 +10:00
Daosheng Mu
a2e31cbc26
Bug 1558952 - Vive cosmos controller binding for OpenVR. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D35209
--HG--
rename : gfx/vr/service/binding/OpenVRKnucklesBinding.h => gfx/vr/service/binding/OpenVRCosmosBinding.h
extra : moz-landing-system : lando
2019-06-26 18:26:16 +00:00
Sylvestre Ledru
f1fbd2ff00
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D33456
--HG--
extra : moz-landing-system : lando
2019-06-08 08:26:37 +00:00
Boris Zbarsky
d2959ecb98
Bug 1553018 part 2. Make various gfx preferences bindings use in Pref annotations on interfaces follow the StaticPrefs naming convention for getters. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D32943
--HG--
extra : moz-landing-system : lando
2019-05-30 17:21:57 +00:00
Daosheng Mu
21043eccbc
Bug 1523351 - Part 3: Handling GamepadTouch and GamepadLightIndicator events in Gamepad service. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29290
--HG--
extra : moz-landing-system : lando
2019-05-29 22:15:23 +00:00
Daniel Varga
b173205f5e
Backed out 5 changesets (bug 1523351) for build bustage at builds/worker/workspace/build/src/dom/gamepad/GamepadRemapping.cpp on a CLOSED TREE
...
Backed out changeset 723d0a919d71 (bug 1523351)
Backed out changeset 13dcba81ff07 (bug 1523351)
Backed out changeset 6209717410be (bug 1523351)
Backed out changeset 80b34e6ce876 (bug 1523351)
Backed out changeset 7bdb7982c3af (bug 1523351)
2019-05-30 01:10:11 +03:00
Daosheng Mu
fdcc151ea4
Bug 1523351 - Part 3: Handling GamepadTouch and GamepadLightIndicator events in Gamepad service. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29290
--HG--
extra : moz-landing-system : lando
2019-05-29 20:48:27 +00:00
Daniel Varga
943f938b03
Backed out 5 changesets (bug 1523351) for causing build bustage at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/StaticPrefList.h on a CLOSED TREE
...
Backed out changeset 607b23dcc62a (bug 1523351)
Backed out changeset b8169dcf0631 (bug 1523351)
Backed out changeset 982cd43dc8d9 (bug 1523351)
Backed out changeset 053540f0b00a (bug 1523351)
Backed out changeset cac2a77abd09 (bug 1523351)
2019-05-29 23:45:15 +03:00
Daosheng Mu
c41523ff67
Bug 1523351 - Part 3: Handling GamepadTouch and GamepadLightIndicator events in Gamepad service. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29290
--HG--
extra : moz-landing-system : lando
2019-05-22 23:02:26 +00:00
Imanol Fernandez
af6ca83271
Bug 1554626 - Add surface size to external_vr struct. r=kip,daoshengmu,rbarker
...
Add surface size to external_vr struct
Differential Revision: https://phabricator.services.mozilla.com/D32704
--HG--
extra : moz-landing-system : lando
2019-05-29 14:27:38 +00:00
Jean-Yves Avenard
e1a34d08eb
Bug 1554597 - Deregister Preferences observer on destructor. r=daoshengmu a=nightly-ifx
...
Remove unecessary Unregister method.
The method is called only once and right prior the parent object gets deleted.
There could be a case where the VRProcessManager destructor gets called before xpcom's shutdown. This would have lead to the now deleted object being called by the Preferences.
Differential Revision: https://phabricator.services.mozilla.com//D32688
--HG--
extra : amend_source : 20b8b4740030ab141856d753a3801b55d607eea3
2019-05-27 14:43:10 +02:00
Jean-Yves Avenard
022c57caf3
Bug 1550422
- P23. Remove now unused gfxPrefs. r=jrmuizel
...
And with some tidying some comments and removing stray #include "gfxPrefs.h"
Differential Revision: https://phabricator.services.mozilla.com/D31468
--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:53 +00:00
Jean-Yves Avenard
2b100af8bf
Bug 1550422
- P21. Remove gfxPref sync with VR process. r=daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D31466
--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:12 +00:00
Jean-Yves Avenard
23436e1811
Bug 1550422
- P15. Move Skip and Once gfxPrefs to StaticPrefs. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D31259
--HG--
extra : moz-landing-system : lando
2019-05-26 14:30:14 +00:00
Jean-Yves Avenard
04a34db033
Bug 1550422
- P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
...
gfxPrefs Live preferences are almost identical to StaticPrefs.
We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs.
Differential Revision: https://phabricator.services.mozilla.com/D31256
--HG--
extra : moz-landing-system : lando
2019-05-26 14:29:42 +00:00
Jean-Yves Avenard
70d5224c8b
Bug 1550422
- P9. Sync preferences in VR process when they change. r=daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D31017
--HG--
extra : moz-landing-system : lando
2019-05-25 10:12:40 +00:00
Jean-Yves Avenard
fec74fbc4b
Bug 1550422
- P8. Add shared pref serializer/deserializer to VR process. r=kmag,daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D31016
--HG--
extra : moz-landing-system : lando
2019-05-25 10:12:45 +00:00
Gurzau Raul
967bc2a754
Backed out 31 changesets (bug 1552643, bug 1550422
) for xpcshell crash on a CLOSED TREE.
...
Backed out changeset e30c1aa75529 (bug 1552643)
Backed out changeset caadcd7e02d3 (bug 1552643)
Backed out changeset aa7086ab09be (bug 1552643)
Backed out changeset 0b4029671710 (bug 1550422
)
Backed out changeset a16295296035 (bug 1550422
)
Backed out changeset 3b70307c0db5 (bug 1550422
)
Backed out changeset 69df7818d4a3 (bug 1550422
)
Backed out changeset d98dfc565927 (bug 1550422
)
Backed out changeset 6f0997976944 (bug 1550422
)
Backed out changeset 0edd264464c2 (bug 1550422
)
Backed out changeset 9ea6da7a74ec (bug 1550422
)
Backed out changeset f855f9309c8b (bug 1550422
)
Backed out changeset 1033546224a7 (bug 1550422
)
Backed out changeset ade7384c6186 (bug 1550422
)
Backed out changeset 75b04de7e99c (bug 1550422
)
Backed out changeset 91c3acdb2454 (bug 1550422
)
Backed out changeset 77d2f80257d1 (bug 1550422
)
Backed out changeset e0cd10d35327 (bug 1550422
)
Backed out changeset 097091082423 (bug 1550422
)
Backed out changeset 2f328853c1ab (bug 1550422
)
Backed out changeset f92f2cc29cb1 (bug 1550422
)
Backed out changeset 6dc82f88333d (bug 1550422
)
Backed out changeset c20f66494d69 (bug 1550422
)
Backed out changeset 2ba22cddeb6f (bug 1550422
)
Backed out changeset 3aa72f89e295 (bug 1550422
)
Backed out changeset ab4c4e806977 (bug 1550422
)
Backed out changeset 72e5de040dda (bug 1550422
)
Backed out changeset 7d3c2d486706 (bug 1550422
)
Backed out changeset 132e0b8d8468 (bug 1550422
)
Backed out changeset 54c85ac75dd0 (bug 1550422
)
Backed out changeset d7ba4a18dd54 (bug 1550422
)
2019-05-25 09:07:49 +03:00
Jean-Yves Avenard
074aea57fe
Bug 1550422
- P23. Remove now unused gfxPrefs. r=jrmuizel
...
And with some tidying some comments and removing stray #include "gfxPrefs.h"
Differential Revision: https://phabricator.services.mozilla.com/D31468
--HG--
extra : moz-landing-system : lando
2019-05-24 11:37:50 +00:00
Jean-Yves Avenard
3e3e986f19
Bug 1550422
- P21. Remove gfxPref sync with VR process. r=daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D31466
--HG--
extra : moz-landing-system : lando
2019-05-24 11:37:32 +00:00
Jean-Yves Avenard
8d5f292ab5
Bug 1550422
- P15. Move Skip and Once gfxPrefs to StaticPrefs. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D31259
--HG--
extra : moz-landing-system : lando
2019-05-24 11:32:54 +00:00
Jean-Yves Avenard
af5790cf9b
Bug 1550422
- P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
...
gfxPrefs Live preferences are almost identical to StaticPrefs.
We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs.
Differential Revision: https://phabricator.services.mozilla.com/D31256
--HG--
extra : moz-landing-system : lando
2019-05-25 00:03:32 +00:00
Jean-Yves Avenard
1ba7652612
Bug 1550422
- P9. Sync preferences in VR process when they change. r=daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D31017
--HG--
extra : moz-landing-system : lando
2019-05-23 04:13:07 +00:00
Jean-Yves Avenard
92e6d6a079
Bug 1550422
- P8. Add shared pref serializer/deserializer to VR process. r=kmag,daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D31016
--HG--
extra : moz-landing-system : lando
2019-05-23 04:13:07 +00:00
Gurzau Raul
74c555539e
Backed out 28 changesets (bug 1550422
) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE.
...
Backed out changeset 5dd10a365ba9 (bug 1550422
)
Backed out changeset 529f5be01ab9 (bug 1550422
)
Backed out changeset b6861d3badf8 (bug 1550422
)
Backed out changeset 059cff1a3dde (bug 1550422
)
Backed out changeset 6ada1116b241 (bug 1550422
)
Backed out changeset ca67e8e45262 (bug 1550422
)
Backed out changeset a1961a51ae44 (bug 1550422
)
Backed out changeset 1c90b9cb3ad4 (bug 1550422
)
Backed out changeset 285fa46e4f26 (bug 1550422
)
Backed out changeset e2938a444234 (bug 1550422
)
Backed out changeset 7a930fc51125 (bug 1550422
)
Backed out changeset 898ed02804fe (bug 1550422
)
Backed out changeset e1b7abc99ae9 (bug 1550422
)
Backed out changeset f781d415cef6 (bug 1550422
)
Backed out changeset 2fef10a7cce5 (bug 1550422
)
Backed out changeset ea64b4d8d4ff (bug 1550422
)
Backed out changeset 86a8ba1b755c (bug 1550422
)
Backed out changeset 9c0c9e80f309 (bug 1550422
)
Backed out changeset 10c153ddbaea (bug 1550422
)
Backed out changeset 60fe635ec2c9 (bug 1550422
)
Backed out changeset a38796266b28 (bug 1550422
)
Backed out changeset 2db647dcdf1c (bug 1550422
)
Backed out changeset 952ddac02972 (bug 1550422
)
Backed out changeset ba46b53643ec (bug 1550422
)
Backed out changeset ca47ef6c59f7 (bug 1550422
)
Backed out changeset f45f471a1a40 (bug 1550422
)
Backed out changeset 371b4da5b771 (bug 1550422
)
Backed out changeset 02fc78890032 (bug 1550422
)
2019-05-23 05:59:44 +03:00
Jean-Yves Avenard
d59781ac33
Bug 1550422
- P23. Remove now unused gfxPrefs. r=jrmuizel
...
And with some tidying some comments and removing stray #include "gfxPrefs.h"
Differential Revision: https://phabricator.services.mozilla.com/D31468
--HG--
extra : moz-landing-system : lando
2019-05-22 12:46:30 +00:00
Jean-Yves Avenard
642b9705d8
Bug 1550422
- P21. Remove gfxPref sync with VR process. r=daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D31466
--HG--
extra : moz-landing-system : lando
2019-05-22 12:46:21 +00:00
Jean-Yves Avenard
2412878bd9
Bug 1550422
- P15. Move Skip and Once gfxPrefs to StaticPrefs. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D31259
--HG--
extra : moz-landing-system : lando
2019-05-22 22:27:37 +00:00
Jean-Yves Avenard
2c0ce1b3ca
Bug 1550422
- P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
...
gfxPrefs Live preferences are almost identical to StaticPrefs.
We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs.
Differential Revision: https://phabricator.services.mozilla.com/D31256
--HG--
extra : moz-landing-system : lando
2019-05-22 12:43:42 +00:00
Jean-Yves Avenard
18b28890b3
Bug 1550422
- P9. Sync preferences in VR process when they change. r=daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D31017
--HG--
extra : moz-landing-system : lando
2019-05-22 12:42:33 +00:00
Jean-Yves Avenard
60ef31c466
Bug 1550422
- P8. Add shared pref serializer/deserializer to VR process. r=kmag,daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D31016
--HG--
extra : moz-landing-system : lando
2019-05-22 13:23:07 +00:00
thomasmo
5436d3561e
Bug 1550757
- Create new DLL for sharing VR code r=kip
...
This change introduces a new dll, vrhost, to make it easier to share
VR code across multiple process.
An executable, vrtesthost, is also added for testing purposes to
validate the DLL loads in a minimal environment.
Differential Revision: https://phabricator.services.mozilla.com/D30653
--HG--
extra : moz-landing-system : lando
2019-05-17 04:53:16 +00:00
Bogdan Tara
11cfa0462a
Backed out changeset af0fd51dc41a (bug 1550757
) for vrhost related mingw bustages CLOSED TREE
2019-05-15 08:28:00 +03:00
thomasmo
67eb9799f5
Bug 1550757
- Create new DLL for sharing VR code r=kip
...
This change introduces a new dll, vrhost, to make it easier to share
VR code across multiple process.
An executable, vrtesthost, is also added for testing purposes to
validate the DLL loads in a minimal environment.
Differential Revision: https://phabricator.services.mozilla.com/D30653
--HG--
extra : moz-landing-system : lando
2019-05-14 18:07:26 +00:00
Sylvestre Ledru
e226046cb8
Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
...
# ignore-this-changeset
Depends on D28954
Differential Revision: https://phabricator.services.mozilla.com/D28956
--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Sylvestre Ledru
96da5036ad
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D28948
--HG--
extra : moz-landing-system : lando
2019-04-28 09:30:05 +00:00
Daosheng Mu
19d96836d5
Bug 1529105 - Replace tmpname in OpenVRSession when using action input. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D28136
--HG--
extra : moz-landing-system : lando
2019-04-22 20:41:38 +00:00
Daosheng Mu
d98d3bf269
Bug 1533197 - Pointing back to the same VR input action manifest file when the file has been existing. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D27816
--HG--
extra : moz-landing-system : lando
2019-04-17 23:08:27 +00:00
Sylvestre Ledru
7f60810d86
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D27245
--HG--
extra : moz-landing-system : lando
2019-04-12 13:14:25 +00:00
Daosheng Mu
0e6aee236e
Bug 1537967 - Skipping running refresh driver and compositing in VR mode. r=mstange,kip
...
MozReview-Commit-ID: 4L3PygFSFCB
Differential Revision: https://phabricator.services.mozilla.com/D26834
--HG--
extra : moz-landing-system : lando
2019-04-12 04:42:28 +00:00
Jean-Yves Avenard
11ac9e9cf8
Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel
...
* Remove redundant virtual keywords
* Mark all destructors of inheriting classes as virtual for clarity
* Mark all classes without virtual destructor as final (exposed errors)
* Make destructor virtual where it needed to be (some were missing)
* Replace empty ({}) code declaration in header with = default
* Remove virtual unused methods
I probably missed some, it quickly became a rabbit hole.
Differential Revision: https://phabricator.services.mozilla.com/D26060
--HG--
extra : moz-landing-system : lando
2019-04-11 12:36:51 +00:00
Jean-Yves Avenard
e5f2be092a
Bug 1540581 - P5. Add ColorSpace info to MacIOSurface. r=mattwoodrow
...
It would have been nicer and more logical to use a MacIOSurfaceImage to store the colorspace information, however the data passed around is a IOSurface Id via a SurfaceDescriptorMacIOSurface; the original data structure isn't kept; so we must transit the data at the same time as the IOSurface Id.
Also remove unnecessary test (new operator is infallible).
Differential Revision: https://phabricator.services.mozilla.com/D26058
--HG--
extra : moz-landing-system : lando
2019-04-11 12:36:31 +00:00
Dorel Luca
d285466535
Backed out changeset 553d7f3d8eed (bug 1537967) for Marionette failures in testing/firefox-ui/tests/functional/security/test_mixed_content_page.py
2019-04-11 06:31:36 +03:00
Daosheng Mu
10b30705e6
Bug 1537967 - Skipping running refresh driver and compositing in VR mode. r=mstange,kip
...
MozReview-Commit-ID: 4L3PygFSFCB
Differential Revision: https://phabricator.services.mozilla.com/D26834
--HG--
extra : moz-landing-system : lando
2019-04-10 19:44:18 +00:00
Sylvestre Ledru
03c8e8c2dd
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
Daosheng Mu
5b2db47d70
Bug 1521183 - Avoid access VR shmem when VR process is crashed accidentally. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D25170
--HG--
extra : moz-landing-system : lando
2019-04-05 18:43:09 +00:00