summaryrefslogtreecommitdiff
path: root/pkg/macos/foundation/string.zig
AgeCommit message (Collapse)Author
2024-08-16pkg/macos: foundation yeet usingnsMitchell Hashimoto
2024-06-14perf: introduce CFReleaseThread for running CoreFoundation releasesQwerasd
Some CoreFoundation objects, such as those produced by CoreText, have expensive callbacks that run when they are released. By offloading the CFRelease calls to another thread, we can avoid important threads being blocked by unexpectedly expensive callbacks. This commit also changes the way that the coretext shaper's run iterator builds its string. Rather than using a CFMutableString, an ArrayList of unichars is built which is passed to CFStringCreateWithCharactersNoCopy, which is a lot more efficient since it avoids all the CoreFoundation overhead.
2023-12-11pkg/macos: add many more text APIsMitchell Hashimoto
2023-06-30Update Zig (#164)Mitchell Hashimoto
* update zig * pkg/fontconfig: clean up @as * pkg/freetype,harfbuzz: clean up @as * pkg/imgui: clean up @as * pkg/macos: clean up @as * pkg/pixman,utf8proc: clean up @as * clean up @as * lots more @as cleanup * undo flatpak changes * clean up @as
2023-06-25Update zig, mach, fmtMitchell Hashimoto
2022-10-09font: coretext calculate cell metricsMitchell Hashimoto
2022-10-01pkg/macos: font initializes, get glyphsMitchell Hashimoto
2022-10-01pkg/macos: import headers instead of doing externs manuallyMitchell Hashimoto
2022-10-01macos/text: font descriptorsMitchell Hashimoto
2022-10-01macos/foundation: more string funcsMitchell Hashimoto
2022-09-30macos: add another string API to test it really worksMitchell Hashimoto
2022-09-30pkg/macos: start core foundation bindingsMitchell Hashimoto