[webkit-changes] [WebKit/WebKit] 44e258: [WebXR] Helpers for working with simd types

Dan Glastonbury noreply at github.com
Wed Nov 15 20:52:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 44e258dc653d66642a736bab26b8df7f209d12ff
      https://github.com/WebKit/WebKit/commit/44e258dc653d66642a736bab26b8df7f209d12ff
  Author: Dan Glastonbury <djg at apple.com>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M Source/WebCore/SourcesCocoa.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    A Source/WebCore/platform/xr/cocoa/PlatformXRPose.cpp
    A Source/WebCore/platform/xr/cocoa/PlatformXRPose.h

  Log Message:
  -----------
  [WebXR] Helpers for working with simd types
https://bugs.webkit.org/show_bug.cgi?id=264910
rdar://118482297

Reviewed by Tim Horton.

PlatformXRPose is a helper for working with transforms as simd4_float4x4.

* Source/WebCore/SourcesCocoa.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/platform/xr/cocoa/PlatformXRPose.cpp: Added.
(PlatformXRPose::position const):
(PlatformXRPose::orientation const):
(PlatformXRPose::pose const):
(PlatformXRPose::distanceToPose const):
(PlatformXRPose::verticalTransformPose const):
(PlatformXRPose::PlatformXRPose):
* Source/WebCore/platform/xr/cocoa/PlatformXRPose.h: Added.

Canonical link: https://commits.webkit.org/270803@main




More information about the webkit-changes mailing list