gecko-dev/gfx
Kearwood "Kip" Gilbert b3787eec77 Bug 1603825 - Suppress the VR permission UI when no VR runtimes are detected r=daoshengmu,bzbarsky
This patch suppresses VR device access permission prompts for users that do not have any VR runtimes installed.

We could not depend on the existing VR device enumeration functions to suppress the permission prompts, as the
act of enumerating VR devices will result in some hardware physically powering on and software starting up (and staying running)
in the background.

This patch includes logic to spawn the VR process with an additional flag indicating that it should attempt only to detect the
runtimes, without proceeding to enumerate and activate hardware and software.

VRManager now includes an enum to more clearly organize it's state machine model, which now must ensure that the runtime detection
happens on-demand when the VR session support capabilities are first determined.

There is a new pref to disable the suppression of permission prompts for use within permission UI tests on machines without VR runtimes.
Renamed some variables and added comments to make code in nsGlobalWindowInner and Navigator clearer and better represent the updated logic -- to allow the separate detection of VR runtimes and VR session activation. Both the runtime detection and VR
session activity uses VREventObserver to send events to nsGlobalWindowInner.

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

--HG--
extra : moz-landing-system : lando
2020-01-03 22:47:26 +00:00
..
2d Bug 1604535 - Avoid copying image surfaces when used with OMTP. r=tnikkel 2019-12-25 21:27:46 +00:00
angle Bug 1601703 - Cherry-pick lost no-error context fix for GetProgramiv. r=lsalzman 2019-12-27 05:43:03 +00:00
cairo Bug 1584639 - silence Cairo shift warnings. r=aosmond 2019-11-19 11:49:35 +00:00
config Bug 1604380 - Disable partial present when picture caching is disabled r=gw 2019-12-17 05:05:30 +00:00
docs Bug 1605508 - Write new on-boarding document with rendering overview r=jbonisteel 2019-12-22 12:44:09 +00:00
gl Bug 1592038 - Allow sharing depth and stencil buffers between multiple MozFramebuffers. r=jgilbert 2019-12-19 03:26:19 +00:00
graphite2 Bug 1569369 - Add RLBox verifications to tainted data from sandboxed libGraphite r=jfkthame 2019-12-19 16:05:47 +00:00
harfbuzz Bug 1592165 - Update HarfBuzz to 2.6.4. r=jfkthame 2019-11-07 15:52:22 +00:00
ipc Bug 1600491 - Try not to crash if we fail to allocate memory in MemStream. r=bobowen 2019-12-16 08:13:06 +00:00
layers Bug 1606661 - Fix the race condition in AsyncPanZoomController::RecordScrollPayload r=botond 2020-01-03 21:34:02 +00:00
ots Bug 1577799 - Update OTS to 8.0.0. r=jfkthame 2019-09-13 09:47:50 +00:00
qcms Bug 1600911 - Implement AVX variant of QCMS ICCv2 algorithm. r=jrmuizel 2019-12-17 19:22:36 +00:00
sfntly Bug 1583192 - Re-apply bug 1330495 after bug 1581145. r=froydnj 2019-11-11 13:41:11 +00:00
skia Bug 1600470 - Reduce the emboldening strength used for synthetic-bold faces with FreeType. r=lsalzman 2019-12-17 15:51:57 +00:00
src Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan 2019-12-06 09:16:44 +00:00
tests Bug 1600911 - Implement AVX variant of QCMS ICCv2 algorithm. r=jrmuizel 2019-12-17 19:22:36 +00:00
thebes Bug 1604761 - Do not round away font-scaling accessibility settings in GTK. r=stransky,karlt 2019-12-31 10:36:29 +00:00
vr Bug 1603825 - Suppress the VR permission UI when no VR runtimes are detected r=daoshengmu,bzbarsky 2020-01-03 22:47:26 +00:00
webrender_bindings Bug 1592026 - When using the OS compositor with WebRender on macOS, use NativeLayerRootSnapshotter for reftest readback. r=jrmuizel 2019-12-29 12:41:58 +00:00
wgpu Bug 1606077 - Address clippy safety error in device_create_buffer_mapped r=jrmuizel 2020-01-03 00:56:31 +00:00
wr Bug 1605380 - Avoid calculating snapped bounds for some display items twice r=aosmond 2019-12-26 13:24:28 +00:00
ycbcr Bug 1439659 - Make |MOZ_{LITTLE,BIG}_ENDIAN| into function macros so that invoking them inside |#if| conditions when they haven't been defined yet is a compile error. r=froydnj 2019-12-13 20:51:04 +00:00
moz.build Bug 1594907 - Fix some duplicate URL segments in firefox-source-docs, r=sylvestre 2019-11-07 23:07:20 +00:00