Bug 224365 - Use 3D points to map the WebXRBoundedReferenceSpace bounds transform
Summary: Use 3D points to map the WebXRBoundedReferenceSpace bounds transform
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebXR (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Imanol Fernandez
URL:
Keywords: InRadar
Depends on:
Blocks: 208988
  Show dependency treegraph
 
Reported: 2021-04-09 04:41 PDT by Imanol Fernandez
Modified: 2021-04-16 04:42 PDT (History)
2 users (show)

See Also:


Attachments
Patch (2.36 KB, patch)
2021-04-09 04:51 PDT, Imanol Fernandez
ifernandez: review?
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Imanol Fernandez 2021-04-09 04:41:59 PDT
WebXRBoundedReferenceSpace is currently using Point2D mapping to transfom the bounds geometry. This is not correct because the originOffset is a 3D transform and it expects the bounds depth coordinates to be on the z axis instead of the y axis.

There is a WPT test to reproduce this but we can't enable it yet until we fetch it from upstream (https://github.com/web-platform-tests/wpt/pull/28024), currently blocked by WebGL 2 support in WPE.
Comment 1 Imanol Fernandez 2021-04-09 04:51:20 PDT
Created attachment 425610 [details]
Patch
Comment 2 Sergio Villar Senin 2021-04-09 07:56:41 PDT
Comment on attachment 425610 [details]
Patch

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

> Source/WebCore/ChangeLog:13
> +        currently blocked by WebGL 2 support in WPE.

WebGL2 shouldn't be a blocker for the testing of this kind of stuff. Why don't we just add a new small test to WPT to check this?
Comment 3 Radar WebKit Bug Importer 2021-04-16 04:42:13 PDT
<rdar://problem/76754927>