gecko-dev/gfx/vr
Chris Peterson f4ef8ec8c7 Bug 1803504 - Fix C++20 -Wdeprecated-volatile warnings in gfx/vr. r=gfx-reviewers,lsalzman
C++20 deprecated decrement/increment of object of volatile-qualified types, e.g. v++.

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1152r3.html

`warning: gfx/vr/VRShMem.cpp:420:21: '++' expression of 'volatile'-qualified type is deprecated [-Wvolatile]`

C++20 is warning that incrementing the volatile int64_t variables `mExternalShmem->geckoGenerationA` and `geckoGenerationB` is not an atomic operation. Replacing the postfix increment with explicit addition makes the warnings go away without changing the semantics of this code.

Differential Revision: https://phabricator.services.mozilla.com/D163558
2022-12-02 05:14:37 +00:00
..
external_api Bug 1771515 - [webxr] Support Oculus Quest2 controllers. r=jgilbert 2022-06-02 05:10:17 +00:00
ipc Bug 1779792 - Part 4: Deduplicate ProcessChild subclass constructors, r=ipc-reviewers,necko-reviewers,media-playback-reviewers,alwu,mccr8 2022-08-10 14:55:23 +00:00
service Bug 1784812 - Use common JSONWriteFuncs when writing to a string - r=canaltinova,media-playback-reviewers,alwu 2022-08-17 07:07:54 +00:00
components.conf
FxROutputHandler.cpp
FxROutputHandler.h
FxRWindowManager.cpp
FxRWindowManager.h
gfxVR.cpp
gfxVR.h
gfxVRMutex.h Bug 1766561 - Use %p for pointer types. r=gfx-reviewers,rkraesig,nika,jrmuizel 2022-05-03 20:49:06 +00:00
moz.build Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi 2021-12-23 20:29:07 +00:00
nsFxrCommandLineHandler.cpp
nsFxrCommandLineHandler.h
VRDisplayClient.cpp Bug 1771515 - [webxr] Support Oculus Quest2 controllers. r=jgilbert 2022-06-02 05:10:17 +00:00
VRDisplayClient.h
VRDisplayPresentation.cpp Bug 1749059 - Remove Quantum DOM support from IPDL, r=ipc-reviewers,mccr8 2022-01-25 20:29:46 +00:00
VRDisplayPresentation.h
VRManager.cpp Bug 1758549, part 2 - Guard a few more entry points into VRManager. r=jgilbert 2022-03-12 15:30:37 +00:00
VRManager.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
VRPuppetCommandBuffer.cpp
VRPuppetCommandBuffer.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
VRServiceHost.cpp
VRServiceHost.h
VRShMem.cpp Bug 1803504 - Fix C++20 -Wdeprecated-volatile warnings in gfx/vr. r=gfx-reviewers,lsalzman 2022-12-02 05:14:37 +00:00
VRShMem.h
VRThread.cpp
VRThread.h