[Webkit-unassigned] [Bug 222173] Implement OpenXR port graphics binding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 26 02:12:20 PST 2021


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

Sergio Villar Senin <svillar at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |svillar at igalia.com
 Attachment #421406|review?, commit-queue?      |review+, commit-queue-
              Flags|                            |

--- Comment #5 from Sergio Villar Senin <svillar at igalia.com> ---
Comment on attachment 421406
  --> https://bugs.webkit.org/attachment.cgi?id=421406
Patch

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

> Source/WebCore/platform/xr/openxr/OpenXRExtensions.cpp:78
> +        reinterpret_cast<PFN_xrVoidFunction*>(&m_methods.xrGetOpenGLGraphicsRequirementsKHR));

Use a single line here

> Source/WebCore/platform/xr/openxr/OpenXRUtils.h:30
> +typedef __eglMustCastToProperFunctionPointerType (*PFNEGLGETPROCADDRESSPROC)(const char *proc);

Seems superweird having to add this.

Style wise the asterisk should go always next to the type, void *EGL -> void* EGL, char *... etc

> Source/WebCore/platform/xr/openxr/PlatformXROpenXR.cpp:265
> +    return features;

So this is how we avoid having to create the session too early. nice! I should have researched a bit more about it.

-- 
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/20210226/cd9575e1/attachment-0001.htm>


More information about the webkit-unassigned mailing list