feat(libSceNKWebKit): implement WebCore::AffineTransform::mapRegion #18538
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/18538"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by adriaespii on 2026-11-11T20:44:25Z.
What
WebCore::AffineTransform::mapRegionin Region.cpp and declares it in RegionExports.hpp, following the pinnedPS5-WebKit-11.xAffineTransform.cpp(L473-L485) andIntSize.h(roundedIntSize).Regionwith rounded float-narrowed offset on identity or pure translation transforms, and unitesmapRectresults acrossRegion::rects()on general affine transforms; throwsstd::invalid_argumenton a nullAffineTransformpointer.core/libs/prx/libSceNKWebKit/tests/RegionGeometry.cppand updatesdocs/dev/debt/libSceNKWebKit.md(5997 -> 5996).Tested
python tools/check_conventions.py --base origin/main->All conventions checks passed.cmake --build build --target libSceNKWebKit nkwebkit_regiongeometry_tests nkwebkit_base_tests -j 8ctest --test-dir build -R "(nkwebkit|public_headers|unbuilt_exports)" --output-on-failure->128/128passed (100% tests passed, 0 tests failed out of 128, includingnkwebkit_regiongeometry,unbuilt_exports,public_headers, and allpublic_headers_compile_*targets).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-12T06:09:41Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
b7fb8e29f6:tools/check_conventions.pypassed;git diff --checkclean.nkwebkit_regiongeometry_testsbuilt cleanly.nkwebkit_regiongeometry):core/libs/prx/libSceNKWebKit/Export.cpp,core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp,core/libs/prx/libSceNKWebKit/include/RegionExports.hpp,core/libs/prx/libSceNKWebKit/src/Region.cppreverted tomain, the new tests do not build/link without the change; restoring it makes them build and pass.Looks Good To Me