feat(libSceFreeTypeOt): forward renderer selection #19415
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/19415"
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 THEMANnt on 2026-11-13T08:56:24Z.
What
Implement libSceFreeTypeOt NID
Yu9oXRVmTToby forwardingFT_Set_Rendererto libSceFreeType. This lets callers use renderers returned by the existing guest module lookup and shares the guest parameter conversion.Tested
Windows (GCC 15.2.0 MinGW, Ninja, Release) on
e50198993f. Bothguest_freetype_otandguest_freetype_ot_patchedpassed. The patched test creates a guest library, obtains the smooth renderer from the existing module lookup and selects it through the NID. It also compares missing-renderer and missing-library errors with the native backend. Conventions and diff checks passed. The overlap tool hit a GitHub API EOF. Exact-name searches and inspection of #16122 found no competing implementation.Review follow-up on
5aeebb6d88. Both Ot wrappers use C linkage and call uniquely named libSceFreeType adapters. The raw and patchedguest_freetype_ottests now resolve the Ot exports on both platforms. Both tests passed three consecutive runs on Ubuntu 24.04.5 (GCC 13.3, Release, WSL2) and Windows (GCC 15.2, Release). The patched Ot module defines4RRjK-Wd1lUandYu9oXRVmTToon both platforms.Rebased in
6fabc0e0abas a standalone renderer-selection change. The renderer wrapper retains C linkage and calls the uniquely named adapter. The raw and patched Ot tests each passed three consecutive runs on Windows.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)