Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: df0854f91d14477a6b649ad31940ed551d029f1a
      
https://github.com/WebKit/WebKit/commit/df0854f91d14477a6b649ad31940ed551d029f1a
  Author: Sergio Villar Senin <[email protected]>
  Date:   2026-01-19 (Mon, 19 Jan 2026)

  Changed paths:
    M Source/WebKit/UIProcess/XR/openxr/OpenXRHitTestManager.cpp

  Log Message:
  -----------
  [OpenXR] Hit testing returns empty results mixed with actual data
https://bugs.webkit.org/show_bug.cgi?id=305641

Reviewed by Fujii Hironori and Dan Glastonbury.

The OpenXRHitTestManager can call xrRaycastANDROID with specific
parameters to first determine how many results are available and then
use that number to size the Vector where the actual results will be
stored. This way we don't need to ask always for the max allowed number
of results (most of them would be empty/zero) but instead for the exact
number of available hit test results.

No new tests as this is specific to OpenXR.

* Source/WebKit/UIProcess/XR/openxr/OpenXRHitTestManager.cpp:
(WebKit::OpenXRHitTestManager::requestHitTest):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to