From 5cfc4b69fcb1e5f6dc16ae07a849b222641f03fd Mon Sep 17 00:00:00 2001 From: Imanol Fernandez Date: Fri, 18 Oct 2019 16:56:17 +0200 Subject: [PATCH] Bump GV to 71.0.20191018095340 --- app/src/main/cpp/moz_external_vr.h | 22 +++++++++++++++++++++- versions.gradle | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/app/src/main/cpp/moz_external_vr.h b/app/src/main/cpp/moz_external_vr.h index a60653f31..fdc704f16 100644 --- a/app/src/main/cpp/moz_external_vr.h +++ b/app/src/main/cpp/moz_external_vr.h @@ -40,7 +40,15 @@ enum class GamepadCapabilityFlags : uint16_t; #endif // MOZILLA_INTERNAL_API namespace gfx { -static const int32_t kVRExternalVersion = 9; +// If there is any change of "SHMEM_VERSION" or "kVRExternalVersion", +// we need to change both of them at the same time. + +// TODO: we might need to use different names for the mutexes +// and mapped files if we have both release and nightlies +// running at the same time? Or...what if we have multiple +// release builds running on same machine? (Bug 1563232) +#define SHMEM_VERSION "0.0.3" +static const int32_t kVRExternalVersion = 10; // We assign VR presentations to groups with a bitmask. // Currently, we will only display either content or chrome. @@ -430,6 +438,15 @@ struct VRSystemState { VRControllerState controllerState[kVRControllerMaxCount]; }; +enum class VRFxEventType : uint8_t { + FxEvent_NONE = 0, + FxEvent_IME, + FxEvent_SHUTDOWN, + FxEvent_TOTAL +}; + +enum class VRFxIMEState : uint8_t { Blur, Focus }; + // Data shared via shmem for running Firefox in a VR windowed environment struct VRWindowState { // State from Firefox @@ -437,6 +454,9 @@ struct VRWindowState { uint32_t widthFx; uint32_t heightFx; VRLayerTextureHandle textureFx; + uint32_t windowID; + VRFxEventType eventType; + VRFxIMEState imeState; // State from VRHost uint32_t dxgiAdapterHost; diff --git a/versions.gradle b/versions.gradle index 937672f7f..d2fbb2dbc 100644 --- a/versions.gradle +++ b/versions.gradle @@ -24,7 +24,7 @@ ext.deps = [:] def versions = [:] // GeckoView versions can be found here: // https://maven.mozilla.org/?prefix=maven2/org/mozilla/geckoview/ -versions.gecko_view = "71.0.20191014095234" +versions.gecko_view = "71.0.20191018095340" versions.android_components = "4.0.0" versions.mozilla_speech = "1.0.6" versions.openwnn = "1.3.7"