Mitchell Hashimoto
0a718ec3eb
pkg/macos: do not use bitCast through a function
...
workaround Zig issue: https://github.com/ziglang/zig/issues/16290
2023-07-01 13:38:10 -07:00
Mitchell Hashimoto
d39e3f5428
coretext: improved baseline calculation
2023-07-01 09:23:40 -07:00
Mitchell Hashimoto
a74e49833b
coretext: colored glyph rendering
2023-07-01 09:23:40 -07:00
Mitchell Hashimoto
552a1b51d0
coretext: rasterization looking cleaner
2023-07-01 09:23:39 -07:00
Mitchell Hashimoto
45da58188c
fix up for new zig
2023-07-01 09:23:39 -07:00
Mitchell Hashimoto
2a1cbb4f21
coretext: calculate units per em/point
2023-07-01 09:23:39 -07:00
Mitchell Hashimoto
314f9287b1
Update Zig ( #164 )
...
* 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-30 12:15:31 -07:00
Mitchell Hashimoto
56f8e39e5b
Update zig, mach, fmt
2023-06-25 11:08:20 -07:00
Mitchell Hashimoto
7116ce0806
update zig version
2023-05-29 08:24:12 -07:00
Mitchell Hashimoto
b196e43ee4
fix some issues for future Zig update
2023-05-19 08:34:07 -07:00
Mitchell Hashimoto
97d9157d22
update zig version
2023-05-07 20:50:51 -07:00
Mitchell Hashimoto
5dc98da9a0
build compiles at least
2023-03-24 19:39:50 -07:00
Mitchell Hashimoto
2b73fbaa0d
iterating on the new for loop syntax
2023-02-27 21:53:09 -08:00
Mitchell Hashimoto
8db30107ae
pkg: fmt
2023-02-27 21:46:59 -08:00
Mitchell Hashimoto
ff9af8a07b
lots of progress running a surface but still crashes
2023-02-19 10:44:56 -08:00
Mitchell Hashimoto
be75109a1d
new build system
2023-02-14 20:58:33 -08:00
Mitchell Hashimoto
18f20add34
pkg/libuv: delete
2023-02-06 13:07:47 -08:00
Mitchell Hashimoto
e9bf2a5680
pkg/objc: extract to zig-objc repo
2023-01-02 21:35:32 -08:00
Mitchell Hashimoto
6f3bc5186d
update to latest zig
2022-12-21 18:30:21 -08:00
Mitchell Hashimoto
e210c91d10
update zig version, update @call for newer zig version
2022-12-16 22:34:54 -08:00
Mitchell Hashimoto
b21e18a9e6
font: start converting Box font to our abstract canvas interface
2022-12-13 16:16:56 -08:00
Mitchell Hashimoto
c8252133a3
update zig version
2022-12-12 22:10:52 -08:00
Mitchell Hashimoto
6ad45f0237
update zig
2022-11-30 16:54:04 -08:00
Mitchell Hashimoto
abfffdcabe
pkg/pixman: more getters
2022-11-27 13:54:30 -08:00
Mitchell Hashimoto
120dfb4043
more wedges
2022-11-25 15:12:34 -08:00
Mitchell Hashimoto
2c9b3e2f9b
wedge triangles
2022-11-25 15:02:12 -08:00
Mitchell Hashimoto
88ff221d6d
pkg/pixman: fill rects
2022-11-25 14:10:25 -08:00
Mitchell Hashimoto
f1a052640c
pkg/pixman: rasterize trapezoids
2022-11-25 13:36:17 -08:00
Mitchell Hashimoto
336d2c4e13
pkg/pixman: more image APIs
2022-11-25 11:34:31 -08:00
Mitchell Hashimoto
433d41fa9a
pkg/pixman: add more types
2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
ac4a45bdf3
pkg/pixman: fix math for bpp calculation
2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
5f77ac145c
pkg/pixman: some drawing
2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
699370bd4a
pkg/pixman: starting API
2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
ef65b261de
vendor/pixman and basic building
2022-11-24 10:21:27 -08:00
Mitchell Hashimoto
9b0fbde838
put some config in the devmode UI
2022-11-21 09:09:25 -08:00
Mitchell Hashimoto
1bce3d8e72
pkg/objc: make ptrcast var so that LLVM backend sees sig
2022-11-20 08:19:50 -08:00
Mitchell Hashimoto
2100523822
pkg/objc: correct objc_msgSend call on x86_64 depending on return type
...
On x86_64, we have to use specialized forms of `objc_msgSend` depending
on the return type (and the byte size of the return type). If we don't
do this, the calling convention is wrong and we'll get a segfault when
objc_msgSend tries to read a register that is [rightly] not set.
On aarch64, we do not have this issue because the calling convention is
different and objc_msgSend handles all cases.
2022-11-19 21:45:38 -08:00
Mitchell Hashimoto
da2942e083
font: specific codepoint lookup in internals
2022-11-17 15:49:14 -08:00
Mitchell Hashimoto
b91cd8e41c
pkg/macos: character set in range
2022-11-17 15:15:09 -08:00
Mitchell Hashimoto
843dc8ae14
pkg/macos: support CFCharacterSet
2022-11-17 15:09:53 -08:00
Mitchell Hashimoto
7703873142
pkg/fontconfig: charset can add chars
2022-11-17 14:37:36 -08:00
Mitchell Hashimoto
69b91a951b
pkg/objc: autorelease pools
2022-11-14 09:59:09 -08:00
Mitchell Hashimoto
46a9998762
tracy: support naming threads
2022-11-07 07:33:36 -08:00
Mitchell Hashimoto
7b94153458
libuv: Prepare handles
2022-11-07 07:33:29 -08:00
Mitchell Hashimoto
afd4800da4
pkg/imgui: support context current
2022-11-06 16:03:03 -08:00
Mitchell Hashimoto
9e3bbc1598
macos: send logs to unified logging
2022-10-31 15:16:29 -07:00
Mitchell Hashimoto
7608d7921f
pkg/macos: OS Log support
2022-10-31 14:47:10 -07:00
Mitchell Hashimoto
c1b70cb788
metal: devmode
2022-10-31 09:44:37 -07:00
Mitchell Hashimoto
090bab6798
metal: setup the render loop, draw the background color
2022-10-31 09:44:36 -07:00
Mitchell Hashimoto
6d0b8a24d9
pkg/objc: shortcut for set/get property
2022-10-28 14:38:50 -07:00