Kearwood "Kip" Gilbert
8a9a8857e4
Bug 1534390 - WebVR does not properly re-initialize after the VR service has stopped r=daoshengmu
...
WebVR will not initialize correctly (VR process will not be started and the headset data is frozen) for subsequent sessions in a new tab once the VR process has been shut down due to being idle.
Differential Revision: https://phabricator.services.mozilla.com/D23027
--HG--
extra : moz-landing-system : lando
2019-03-11 21:13:39 +00:00
Daosheng Mu
c0b00b66d1
Bug 1533914 - Replace gfxVRMutex.h to LF type. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D22799
--HG--
extra : moz-landing-system : lando
2019-03-09 00:09:11 +00:00
Sebastian Hengst
806a60c6af
Bug 1532992 - Set 'Core :: WebVR' as default bugzilla product and component for gfx/vr/ r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D22298
--HG--
extra : moz-landing-system : lando
2019-03-06 14:45:43 +00:00
Kearwood "Kip" Gilbert
cbc8b87365
Bug 1530663 - Avoid running remaining VRManager tasks after mTaskTimer has been stopped r=daoshengmu
...
Differential Revision: https://phabricator.services.mozilla.com/D22188
--HG--
extra : moz-landing-system : lando
2019-03-05 22:32:58 +00:00
Ryan Hunt
85ff4bdc33
Bug 1523969 part 8 - Move method definition inline comments to new line in 'gfx/'. r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D21108
--HG--
extra : rebase_source : 48a4586f507891f3a2f0f970e9b9a0b15f0f3d61
2019-02-25 16:07:19 -06:00
Daosheng Mu
f915776a15
Bug 1530489 - Checking VRGPUParent is available before closing it. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D21064
--HG--
extra : moz-landing-system : lando
2019-02-27 22:38:58 +00:00
Daosheng Mu
1048e35c21
Bug 1530588 - Remove duplicate copy of geckoState in VRSystemManagerExternal::PushState. r=kip
...
MozReview-Commit-ID: Emmkw2CazxB
Differential Revision: https://phabricator.services.mozilla.com/D21169
--HG--
extra : moz-landing-system : lando
2019-02-27 00:02:06 +00:00
Byron Campen [:bwc]
7b480b92cd
Bug 1521879 - Part 2: Fix include-what-you-use bugs triggered by unified compilation. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D17274
--HG--
extra : moz-landing-system : lando
2019-02-25 21:51:11 +00:00
Gurzau Raul
e6740c75fc
Backed out 10 changesets (bug 1521879) for causing bug 1530107. a=backout
...
Backed out changeset f597a73a6eac (bug 1521879)
Backed out changeset 0bb76534f207 (bug 1521879)
Backed out changeset abcb8be12adf (bug 1521879)
Backed out changeset ed6c8d3bbfde (bug 1521879)
Backed out changeset 1addf1e15b55 (bug 1521879)
Backed out changeset 6b709cd9a479 (bug 1521879)
Backed out changeset 07747027c59c (bug 1521879)
Backed out changeset a6105ccc188c (bug 1521879)
Backed out changeset 48c9c643e7bb (bug 1521879)
Backed out changeset d4004105a04a (bug 1521879)
2019-02-25 12:12:15 +02:00
Daosheng Mu
dfed686aab
Bug 1523923 - Cancel VR submit frame tasks when the VRDisplayHost is destroyed. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D20692
--HG--
extra : moz-landing-system : lando
2019-02-22 22:04:00 +00:00
Byron Campen [:bwc]
a0321d2a25
Bug 1521879 - Part 2: Fix include-what-you-use bugs triggered by unified compilation. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D17274
--HG--
extra : moz-landing-system : lando
2019-02-21 20:25:19 +00:00
Brindusan Cristian
136394135f
Backed out 9 changesets (bug 1521879) for flake failures at /transforms/tests.py. CLOSED TREE
...
Backed out changeset baac167868b3 (bug 1521879)
Backed out changeset 54ac1b47b736 (bug 1521879)
Backed out changeset 94b62c6f22e2 (bug 1521879)
Backed out changeset d44f15fd4529 (bug 1521879)
Backed out changeset 761fca0514fb (bug 1521879)
Backed out changeset 0b85b1a7c1ce (bug 1521879)
Backed out changeset 5dc76e863a02 (bug 1521879)
Backed out changeset 604b9a007fe5 (bug 1521879)
Backed out changeset c414d82a5325 (bug 1521879)
2019-02-21 19:32:31 +02:00
Byron Campen [:bwc]
fb926e55b3
Bug 1521879 - Part 2: Fix include-what-you-use bugs triggered by unified compilation. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D17274
--HG--
extra : moz-landing-system : lando
2019-02-21 15:34:22 +00:00
Masatoshi Kimura
e25fbce870
Bug 1528651 - Re-enable warnings-as-errors on Windows in some directories. r=dmajor
...
--HG--
extra : source : ba86ea25070b37f4725834e1c2d9ec4c0783e119
2019-02-17 15:03:02 +09:00
Sylvestre Ledru
41d1d79094
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D19663
--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Mike Hommey
ef3ad686ee
Bug 1512504 - Remove support for MSVC. r=froydnj
...
Consequently, this removes:
- MOZ_LIBPRIO, which is now always enabled.
- non_msvc_compiler, which is now always true.
- The cl.py wrapper, since it's not used anymore.
- CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper.
- NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still
worked in non-ASCII cases.
This however keeps a large part of detecting and configuring for MSVC,
because we still do need it for at least headers, libraries, and midl.
Depends on D19614
Differential Revision: https://phabricator.services.mozilla.com/D19615
--HG--
extra : moz-landing-system : lando
2019-02-14 21:45:27 +00:00
Ryan Hunt
6315e17e86
Bug 1500257 part 1 - Fix unified build bustage. r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D17441
--HG--
extra : source : 1615df089ad3b65333f50ac845a69e37c09b529f
extra : intermediate-source : 3abe61f5dc5c5afbade56821d96fe616404ed408
2019-01-23 11:08:24 -06:00
Jan Varga
d0270542f0
Bug 1525291 - LSNG: Chrome observer notifications for session storage are not distributed to content processes; r=asuth,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D18809
2019-02-06 06:09:57 +01:00
Oana Pop Rus
f9cf535efc
Backed out changeset 04eecadabb48 (bug 1525291) for build bustages at build/src/obj-firefox/ipc/ipdl/PSessionStorageObserverChild.cpp on a CLOSED TREE
2019-02-07 11:33:00 +02:00
Jan Varga
93f5a88427
Bug 1525291 - LSNG: Chrome observer notifications for session storage are not distributed to content processes; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D18809
2019-02-06 06:09:57 +01:00
Alex Gaynor
0f01791ffc
Bug 1512990
- Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj
...
For cases where the class has direct calls (that is, we cast `this` to the
subclass before making the call) no longer declare Recv/Answer methods on the
base class at all. This should ensure that slots for them are not generated in
vtables, and also allow the derived class to choose the method signature (e.g.
whether it wants to take something by reference or by value).
Differential Revision: https://phabricator.services.mozilla.com/D18132
--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:43 +00:00
Alex Gaynor
984f0333ea
Bug 1512990
- Part 3 - remove declarations of Alloc/Dealloc methods from IPDL protocol base class; r=froydnj
...
For cases where the class has direct calls (that is, we cast `this` to the
subclass before making the call) no longer declare Alloc/Dealloc methods on the
base class at all. This should ensure that slots for them are not generated in
vtables, and also allow the derived class to choose the method signature (e.g.
whether it wants to take something by reference or by value).
Differential Revision: https://phabricator.services.mozilla.com/D18131
--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:07 +00:00
Alex Gaynor
75c7d1fa76
Bug 1512990
- Part 2 - implement direct calls in the IPDL compiler; r=froydnj
...
When calling a Recv/Alloc/Dealloc method on most types, cast `this` to the
derived class.
There is a heuristic to figure out what the correct derived type is. There is a
blacklist of types which we can't do direct calls on for the moment, as well as
an override for types that do work with direct calls but which don't match the
heuristic.
Differential Revision: https://phabricator.services.mozilla.com/D16492
--HG--
extra : moz-landing-system : lando
2019-02-06 15:57:37 +00:00
Kearwood "Kip" Gilbert
59f89dfbc5
Bug 1512429 - Ensure that VRProcessManager::Observer releases its pointer from VRProcessManager in case it outlives VRProcessManager and that only one VRProcessManager is allocatedi,r=daosheng
...
--HG--
extra : rebase_source : d4f89a919d99306032d9237c2c8c58631cf9552d
2019-01-02 14:58:14 -08:00
Jed Davis
bcff2dd108
Bug 1487287 - Synchronize GeckoChildProcessHost destruction with launching. r=mccr8
...
In order to enable asynchronous launch, destruction of
GeckoChildProcessHost (and its subclasses) has to be delayed until after
launching (or anything else that might be made asynchronous in the
future) has completed, to prevent use-after-free. However, there are
other dependencies on process hosts always being destroyed on the I/O
thread, so refcounting would be difficult to use.
Instead, GeckoChildProcessHost now may not be destroyed directly, but
must go through a method that handles the scheduling.
There are also some minor cleanups to the affected headers (removed
duplicate access modifiers, and made PluginProcessParent final).
Depends on D18010
Differential Revision: https://phabricator.services.mozilla.com/D18011
--HG--
extra : moz-landing-system : lando
2019-02-05 00:15:20 +00:00
Sylvestre Ledru
14486004b6
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D18488
--HG--
extra : moz-landing-system : lando
2019-02-04 19:10:18 +00:00
Daosheng Mu
0c42be8bd7
Bug 1523926 - Fix open VR shmem mutex failed issue when without VR process. r=kip
...
MozReview-Commit-ID: 5P7D75wAWI7
Differential Revision: https://phabricator.services.mozilla.com/D18301
--HG--
extra : moz-landing-system : lando
2019-02-04 15:19:33 +00:00
Oana Pop Rus
152993fa34
Backed out changeset 12b2328eedd1 (bug 1523926) as requested by daoshengmu. a=backout
2019-02-04 11:29:45 +02:00
Daosheng Mu
f44b229914
Bug 1523926 - Fix open VR shmem mutex failed issue when without VR process. r=kip
...
MozReview-Commit-ID: 5P7D75wAWI7
Differential Revision: https://phabricator.services.mozilla.com/D18301
--HG--
extra : moz-landing-system : lando
2019-02-03 07:19:58 +00:00
Gurzau Raul
ea4efc845c
Backed out changeset 52f541c1147e (bug 1523926) for xpcshell test crash mozilla::gfx::VR on a CLOSED TREE.
2019-02-02 01:47:26 +02:00
Daosheng Mu
033a88aff9
Bug 1523926 - Fix open VR shmem mutex failed issue when without VR process. r=kip
...
MozReview-Commit-ID: 5P7D75wAWI7
Differential Revision: https://phabricator.services.mozilla.com/D18301
--HG--
extra : moz-landing-system : lando
2019-02-01 21:10:45 +00:00
Paul Rouget
934225357e
Bug 1519035
- Add dedicated browser state for Servo. r=kip
2019-02-01 03:24:00 +02:00
Daosheng Mu
27c40bd158
Bug 1523154 - Remove SendShutdownVR() at VRProcessParent::Shutdown. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D17895
--HG--
extra : moz-landing-system : lando
2019-01-30 06:27:56 +00:00
Daosheng Mu
2328be62d7
Bug 1514417 - Using named mutex for VR threads to access Shmem on Windows. r=kip
...
MozReview-Commit-ID: FhLBI8l9SJm
Differential Revision: https://phabricator.services.mozilla.com/D17897
--HG--
extra : moz-landing-system : lando
2019-01-29 06:06:50 +00:00
Coroiu Cristina
77de4f7263
Backed out changeset e0034670b26a (bug 1514417) as requested by daoshengmu
2019-01-26 01:46:32 +02:00
Daosheng Mu
e3c0193666
Bug 1514417 - Add mutex to avoid VR shmem be deadlock when VRService and VRSubmitFrame threads are accessing it. r=kip
...
MozReview-Commit-ID: 7uXdypiXTUH
Differential Revision: https://phabricator.services.mozilla.com/D17581
--HG--
extra : moz-landing-system : lando
2019-01-25 01:04:09 +00:00
Daosheng Mu
697ae6228a
Bug 1518895 - Part 3: Removing VR system managers when VR process is shutdown. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D17037
--HG--
extra : moz-landing-system : lando
2019-01-22 21:58:51 +00:00
Daosheng Mu
9e6fcbe92a
Bug 1518895 - Part 2: Crash report support in VR process. r=kip,gsvelto
...
Differential Revision: https://phabricator.services.mozilla.com/D16759
--HG--
extra : moz-landing-system : lando
2019-01-23 01:22:39 +00:00
Cosmin Sabou
7ccc9d8b0b
Merge mozilla-inbound to mozilla-central. a=merge
2019-01-19 11:57:49 +02:00
Greg Tatum
7042c8f1c3
Bug 1520526 - Add categories to all profiler markers; r=mstange
...
This commit adds categories to all markers. This way the profiler's
marker categories and frame label categories agree. There are a few
duplicate category properties on some of the marker payloads, but
this could be cleaned up in a follow-up if needed.
Differential Revision: https://phabricator.services.mozilla.com/D16864
--HG--
extra : moz-landing-system : lando
2019-01-18 15:40:15 +00:00
Daosheng Mu
9c5723acc2
Bug 1516554 - Part 7: Resolve MessageLoop destroy before VR IPC channels close issue. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D16262
--HG--
extra : moz-landing-system : lando
2019-01-11 22:51:48 +00:00
Daosheng Mu
61804cecaf
Bug 1516554 - Part 6: Remove BackgroundHangMonitor in VRProcessChild because we will init it by XPCOM. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D16260
--HG--
extra : moz-landing-system : lando
2019-01-11 22:50:33 +00:00
Daosheng Mu
7cd30b6720
Bug 1516554 - Part 5: Allow VR using the existing shmem. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D16259
--HG--
extra : moz-landing-system : lando
2019-01-11 22:50:03 +00:00
Daosheng Mu
f5d35b145f
Bug 1516554 - Part 4: Fix Win 7 try fails when VR process enable but no GPU process. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D16258
--HG--
extra : moz-landing-system : lando
2019-01-11 22:49:20 +00:00
Daosheng Mu
2d64883f5c
Bug 1516554 - Part 3: Fix VRGPUParent memory leak in the destructor. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D16257
--HG--
extra : moz-landing-system : lando
2019-01-14 21:58:51 +00:00
Daosheng Mu
17dec4ca9f
Bug 1516554 - Part 2: Fix nsTSubstring assertion when looking for Oculus VR lib. r=kip
...
Differential Revision: https://phabricator.services.mozilla.com/D16483
--HG--
extra : moz-landing-system : lando
2019-01-14 21:27:40 +00:00
thomasmo
b16b2cbba6
Bug 1474034
- Use consistent prefixes for POD struct members in gfx/vr/external_api/moz_external_vr.h r=kip
...
This change updates the structs VRDisplayState, VRLayer_2D_Content, and VRLayer_Stereo_Immersive to not have 'm' prefix for its members.
Differential Revision: https://phabricator.services.mozilla.com/D16000
--HG--
extra : moz-landing-system : lando
2019-01-09 21:57:36 +00:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Ehsan Akhgari
06c3d29113
Bug 1521000 - Part 1: Reformat the tree to ensure everything is formatted correctly with clang-format r=sylvestre
...
Summary: # ignore-this-changeset
Reviewers: sylvestre
Reviewed By: sylvestre
Subscribers: reviewbot, emilio, jandem, bbouvier, karlt, jya
Bug #: 1521000
Differential Revision: https://phabricator.services.mozilla.com/D16936
--HG--
extra : histedit_source : 4add583bfa729ccc1aef934629ed45ff095189b0
2019-01-18 10:12:56 +01:00
Kearwood "Kip" Gilbert
fe5199bf8c
Bug 1460619 - Do not run frame request callbacks immediately after updating a VR layer
...
--HG--
extra : rebase_source : 7f3a7f0da3a64a3b2b580bf2a7b48d67530fdcb4
2019-01-02 13:32:09 -08:00