[Webkit-unassigned] [Bug 220979] Complete XRSession::requestAnimationFrame implementation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 1 03:06:29 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=220979

--- Comment #5 from Sergio Villar Senin <svillar at igalia.com> ---
Comment on attachment 418423
  --> https://bugs.webkit.org/attachment.cgi?id=418423
Add co-authors to the changelog messages

View in context: https://bugs.webkit.org/attachment.cgi?id=418423&action=review

>> Source/WebCore/Modules/webxr/WebXRFrame.h:63
>> +    bool m_animationFrame;
> 
> `m_animationFrame` is set but never used. This can trigger an unused private field warning.

It actually is, see below

if (m_callbacks.size() == 1 && !m_animationFrame->isActive())

>> Source/WebCore/platform/xr/PlatformXR.h:81
>> +    };
> 
> To what space are the position and orientation relative to? Any thoughts on how to handle getting poses relative to different reference spaces later?

The user must request a reference space with requestRerefenceSpace(). https://immersive-web.github.io/webxr/#dom-xrsession-requestreferencespace

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210201/eba9d973/attachment.htm>


More information about the webkit-unassigned mailing list