Wonderland Engine used in SpraySpace VR requires the XRSpace parameters and updates XR frames if these parameters are valid. We couldn't get any XRframe since we delivered the null value for it.
This patch sets them when GetFrameData's callback is called.
And, |stage_parametersid| increments the count only when there is an actual change, so that Blink uses the cached values if there is no change.
Wonderland Engine used in SpraySpace VR requires the XRSpace parameters and updates XR frames if these parameters are valid. We couldn't get any XRframe since we delivered the null value for it.
This patch sets them when GetFrameData's callback is called.
And, |stage_parametersid| increments the count only when there is an actual change, so that Blink uses the cached values if there is no change.
Fixes https://github.com/Igalia/wolvic-chromium/issues/58