RESOLVED FIXED 220732
Complete WebXRRigidTransform implementation
https://bugs.webkit.org/show_bug.cgi?id=220732
Summary Complete WebXRRigidTransform implementation
Imanol Fernandez
Reported 2021-01-19 08:31:53 PST
- Implement inverse() - Expose raw matrix to be used in XRRigitTransform and XRPose math operations - Correctly reuse the Float32Array matrixData
Attachments
Patch (14.24 KB, patch)
2021-01-22 04:48 PST, Imanol Fernandez
no flags
Patch (14.71 KB, patch)
2021-01-22 06:16 PST, Imanol Fernandez
no flags
Patch (14.61 KB, patch)
2021-01-25 02:25 PST, Imanol Fernandez
svillar: review+
ews-feeder: commit-queue-
Patch (16.36 KB, patch)
2021-01-25 04:29 PST, Imanol Fernandez
no flags
Patch (14.49 KB, patch)
2021-01-25 04:55 PST, Imanol Fernandez
no flags
Patch (14.81 KB, patch)
2021-01-26 01:32 PST, Imanol Fernandez
svillar: review+
ews-feeder: commit-queue-
Patch for landing (14.71 KB, patch)
2021-01-27 02:10 PST, Imanol Fernandez
no flags
Imanol Fernandez
Comment 1 2021-01-22 04:48:31 PST
Sergio Villar Senin
Comment 2 2021-01-22 05:45:43 PST
Comment on attachment 418139 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=418139&action=review Looking pretty good, just one question... > Source/WebCore/Modules/webxr/WebXRRigidTransform.cpp:153 > + m_inverse->m_inverse = this; Aren't we creating a reference loop here? > Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp:585 > +// in TransformationMatrix::recompose4(). Nit: you can put everything in a single line
Imanol Fernandez
Comment 3 2021-01-22 06:16:42 PST
Sergio Villar Senin
Comment 4 2021-01-25 01:32:47 PST
Comment on attachment 418143 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=418143&action=review > Source/WebCore/Modules/webxr/WebXRRigidTransform.cpp:131 > + // If the operation IsDetachedBuffer on internal matrix is false, return transformâs internal matrix. Nit: I think the code is self explanatory here, maybe we don't need the comment. > Source/WebCore/platform/graphics/transforms/TransformationMatrix.cpp:584 > +// TODO: Once https://bugs.webkit.org/show_bug.cgi?id=220856 is addressed we can reuse this function in TransformationMatrix::recompose4(). Nit: in WebKit we normally use FIXME instead of TODO
Imanol Fernandez
Comment 5 2021-01-25 02:25:23 PST
Imanol Fernandez
Comment 6 2021-01-25 02:26:08 PST
Thanks for the review, I fixed the nits in the last patch
EWS
Comment 7 2021-01-25 03:29:05 PST
ChangeLog entry in Source/WebCore/ChangeLog is not at the top of the file.
Imanol Fernandez
Comment 8 2021-01-25 04:29:08 PST
Imanol Fernandez
Comment 9 2021-01-25 04:55:42 PST
Imanol Fernandez
Comment 10 2021-01-26 01:32:36 PST
Radar WebKit Bug Importer
Comment 11 2021-01-26 08:32:25 PST
EWS
Comment 12 2021-01-26 12:26:33 PST
Downloading mechanize-0.4.5... Installing mechanize-0.4.5... Installed mechanize-0.4.5! Sergio Villar found in /Volumes/Data/worker/Commit-Queue/build/LayoutTests/ChangeLog does not appear to be a valid reviewer according to contributors.json. /Volumes/Data/worker/Commit-Queue/build/LayoutTests/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).
Imanol Fernandez
Comment 13 2021-01-27 02:10:23 PST
Created attachment 418519 [details] Patch for landing
EWS
Comment 14 2021-01-27 03:04:22 PST
Committed r271941: <https://trac.webkit.org/changeset/271941> All reviewed patches have been landed. Closing bug and clearing flags on attachment 418519 [details].
Note You need to log in before you can comment on or make changes to this bug.