Commit Graph

  • 59cb774cdd pkg/objc: properties Mitchell Hashimoto 2022-10-25 21:25:07 -07:00
  • aaaae38fa1 pkg/objc: more message send stuff Mitchell Hashimoto 2022-10-25 20:55:41 -07:00
  • f587b222e7 don't need fstage1 Mitchell Hashimoto 2022-10-25 20:55:34 -07:00
  • 7d48e564b5 pkg/objc: message send Mitchell Hashimoto 2022-10-25 20:30:42 -07:00
  • 10ee05b435 pkg/objc: selectors Mitchell Hashimoto 2022-10-25 16:33:45 -07:00
  • dd8fde52d9 pkg/objc starting Mitchell Hashimoto 2022-10-25 16:21:11 -07:00
  • e7ffb823af propertly deinit the GPA so we can detect leaks in debug Mitchell Hashimoto 2022-10-25 15:49:21 -07:00
  • d8cdd5d8fe Fix the primary leak with config Mitchell Hashimoto 2022-10-25 15:48:13 -07:00
  • 233ee2b3eb fixing more memory leaks Mitchell Hashimoto 2022-10-25 15:40:26 -07:00
  • bcf485342e fix a couple more memory leaks Mitchell Hashimoto 2022-10-24 16:17:18 -07:00
  • ef57e1e56a free memory in cells LRU Mitchell Hashimoto 2022-10-24 16:09:08 -07:00
  • 8dd9e7b325 Fix memory leak forgetting to clean up fontconfig Mitchell Hashimoto 2022-10-24 15:55:57 -07:00
  • 9ef431c632 use the c allocator when running under valgrind Mitchell Hashimoto 2022-10-24 15:34:30 -07:00
  • cf14ea506f update zig Mitchell Hashimoto 2022-10-24 14:35:42 -07:00
  • d346309cb3 pkg/libuv: generate cimport.zig for specific platforms Mitchell Hashimoto 2022-10-24 14:35:30 -07:00
  • 672e0d1d63 Multi-threaded Rendering Mitchell Hashimoto 2022-10-24 11:17:43 -07:00
  • c2ce158342 remove the max timer Mitchell Hashimoto 2022-10-24 10:54:38 -07:00
  • c0f96f591b remove render timer from window Mitchell Hashimoto 2022-10-24 10:50:42 -07:00
  • 536f5c4487 set proper opengl background Mitchell Hashimoto 2022-10-24 10:04:40 -07:00
  • b4859625bf bring back out of focus no blink Mitchell Hashimoto 2022-10-24 10:01:38 -07:00
  • dc908cb73d support screen size, rip out shared state Mitchell Hashimoto 2022-10-24 09:52:08 -07:00
  • 45ff936ddf no longer store grid size on the renderer Mitchell Hashimoto 2022-10-24 09:32:51 -07:00
  • ce384c2356 renderer: extract the size structs to a shared file Mitchell Hashimoto 2022-10-24 09:27:09 -07:00
  • aa3d132947 run rendering on another real thread (still bugs) Mitchell Hashimoto 2022-10-24 09:02:11 -07:00
  • 77b981950c pkg/libuv: Idle handles Mitchell Hashimoto 2022-10-23 21:15:58 -07:00
  • aeb592bae9 move to new renderstate, new render method Mitchell Hashimoto 2022-10-23 21:04:52 -07:00
  • b347ff458b prepare our render state on the window Mitchell Hashimoto 2022-10-23 20:55:04 -07:00
  • 9913bba2e8 introduce renderer thread logic (not starting it yet) Mitchell Hashimoto 2022-10-23 20:18:10 -07:00
  • 89a4c59f3c make opengl loader context-aware Mitchell Hashimoto 2022-10-23 19:39:02 -07:00
  • de9731da1f rename grid to a renderer, extract to subfolder Mitchell Hashimoto 2022-10-23 16:47:34 -07:00
  • c3d9ee1d85 pkg/libuv: get rid of sleep state, it did nothing Mitchell Hashimoto 2022-10-23 16:15:47 -07:00
  • 34e1c96dd7 workaround for https://github.com/ziglang/zig/issues/13277 Mitchell Hashimoto 2022-10-23 11:39:21 -07:00
  • bc3762e85b update zig to latest, fix todos Mitchell Hashimoto 2022-10-23 10:54:39 -07:00
  • 79f69885ca update to latest zig which renames @min/@max Mitchell Hashimoto 2022-10-19 10:42:31 -07:00
  • 366ea2ff4c cell under cursor always remains visible by inverting fg colors Mitchell Hashimoto 2022-10-18 15:28:31 -07:00
  • fa0028f104 coretext: rasterize glyph with a padding to prevent artifacting Mitchell Hashimoto 2022-10-18 14:57:44 -07:00
  • c00c8f52b5 coretext: render glyph on its own bounding box, calculate bearings Mitchell Hashimoto 2022-10-18 14:49:23 -07:00
  • 38e0c258d0 coretext: we do want to smooth and anti-alias glyphs Mitchell Hashimoto 2022-10-18 12:56:02 -07:00
  • 4669032e56 face: coretext zero the bitmap before render Mitchell Hashimoto 2022-10-18 12:52:37 -07:00
  • 58c107dceb freetype: resize glyphs that are too tall prior to storing in texture Mitchell Hashimoto 2022-10-17 19:04:39 -07:00
  • c103a278f1 render font info in dev mode Mitchell Hashimoto 2022-10-17 14:47:51 -07:00
  • 7cb3f2267f use our built-in font for dev mode Mitchell Hashimoto 2022-10-17 11:56:46 -07:00
  • 20f1077e86 enable freetype with imgui Mitchell Hashimoto 2022-10-17 11:41:46 -07:00
  • ab721b5b26 disable inputs when they're captured by dev mode Mitchell Hashimoto 2022-10-17 11:19:35 -07:00
  • 15a57983a6 pkg/freetype: remove unused API Mitchell Hashimoto 2022-10-16 21:03:17 -07:00
  • a39fe6baed Use scalable check rather than fixed size check for setting char size Mitchell Hashimoto 2022-10-16 20:55:06 -07:00
  • 2e1bc7bb01 Bring back freetype font bitmap conversion Mitchell Hashimoto 2022-10-16 20:47:21 -07:00
  • 9d37458ed8 update zig Mitchell Hashimoto 2022-10-16 19:47:43 -07:00
  • f29393bca6 Imgui (#20) Mitchell Hashimoto 2022-10-16 16:20:08 -07:00
  • ddfb1dec4b Switch to stage2 primarily for builds Mitchell Hashimoto 2022-10-15 15:00:41 -07:00
  • 5b6eb2736a pkg/libpng: name the lib png, so its not "liblibpng" Mitchell Hashimoto 2022-10-15 14:55:11 -07:00
  • 53d00ee8a2 update zig which fixes test on wide terminals Mitchell Hashimoto 2022-10-15 14:36:15 -07:00
  • 2d10ac0a77 opengl: setting buffer data with array must get proper pointer Mitchell Hashimoto 2022-10-15 11:29:25 -07:00
  • c681a197d2 use old version of mach Mitchell Hashimoto 2022-10-15 10:56:23 -07:00
  • 846c9db0c3 get rid of stage2 workaround for now Mitchell Hashimoto 2022-10-15 10:43:39 -07:00
  • 56c9979db5 run tests against both stage1 and stage2 Mitchell Hashimoto 2022-10-14 10:05:13 -07:00
  • 33f51f1f3d update zig Mitchell Hashimoto 2022-10-14 10:04:26 -07:00
  • 6c84199b84 fix more stage2 build errors Mitchell Hashimoto 2022-10-14 10:01:41 -07:00
  • 83c9390ac9 pkg/libuv: workaround stage2 issue Mitchell Hashimoto 2022-10-14 09:57:14 -07:00
  • a1087af7c8 Workaround stage2 compile issue with issue link Mitchell Hashimoto 2022-10-14 09:56:53 -07:00
  • e324e38352 workaround stage2 translate-c issue with link to issue Mitchell Hashimoto 2022-10-14 09:53:23 -07:00
  • b28b04d710 pkg/libuv: fix stage2 compilation issues Mitchell Hashimoto 2022-10-14 09:44:22 -07:00
  • 2d3febac0e fix invalid ptrcast Mitchell Hashimoto 2022-10-14 09:19:58 -07:00
  • c99fb89738 new opengl function calls for stage2 Mitchell Hashimoto 2022-10-14 09:18:33 -07:00
  • e73db24f0e move shaders into src/ tree for stage2 Mitchell Hashimoto 2022-10-14 09:18:20 -07:00
  • 8decfa6452 I think this gets us on master zig... Mitchell Hashimoto 2022-10-13 11:31:02 -07:00
  • 225de43062 update mach to fix stage2 issue Mitchell Hashimoto 2022-10-13 11:06:43 -07:00
  • 699da6fcfe update mach Mitchell Hashimoto 2022-10-13 11:03:23 -07:00
  • e493a722a3 fix some issues that fail nightly stage2 compiler Mitchell Hashimoto 2022-10-13 10:54:30 -07:00
  • a6c3ee3bc2 pkg/macos: fix zig C ABI issue Mitchell Hashimoto 2022-10-10 09:18:57 -07:00
  • 1e23779337 pkg/macos: more stuff Mitchell Hashimoto 2022-10-10 09:03:03 -07:00
  • c75e54fca0 update to API Mitchell Hashimoto 2022-10-09 16:30:26 -07:00
  • 1cf390729e pkg/macos: bitmap info arg Mitchell Hashimoto 2022-10-09 16:29:19 -07:00
  • 276ae4f788 font: fix some coretext rendering issues Mitchell Hashimoto 2022-10-09 11:45:02 -07:00
  • 9c99a49ac5 font: deferred face can load core text backend Mitchell Hashimoto 2022-10-09 11:28:28 -07:00
  • 97e989daa8 font: coretext initial render glyph Mitchell Hashimoto 2022-10-09 11:23:57 -07:00
  • 1b7bc052d4 font: coretext calculate cell metrics Mitchell Hashimoto 2022-10-09 10:57:19 -07:00
  • 150b0a4d51 font: calculate cell height Mitchell Hashimoto 2022-10-09 08:51:30 -07:00
  • 8b3959dceb macos: frames, attributed strings, stylized strings Mitchell Hashimoto 2022-10-09 08:07:56 -07:00
  • 1e2e4169a5 pkg/macos: starting frames Mitchell Hashimoto 2022-10-08 17:52:01 -07:00
  • cc14344bf8 pkg/macos: path Mitchell Hashimoto 2022-10-08 17:39:25 -07:00
  • 061f7f6a30 pkg/macos: text framesetter Mitchell Hashimoto 2022-10-08 17:29:50 -07:00
  • 26280d4fe5 macos: AttributedString Mitchell Hashimoto 2022-10-08 17:24:33 -07:00
  • a97f997f9a font: start working on core text cell height calcs Mitchell Hashimoto 2022-10-08 17:03:09 -07:00
  • 22f437aac6 font: coretext cell width calculation Mitchell Hashimoto 2022-10-08 11:49:23 -07:00
  • c9a335646e pkg/macos: some font metrics functions Mitchell Hashimoto 2022-10-08 11:34:45 -07:00
  • f393049988 fix compilation Mitchell Hashimoto 2022-10-08 11:25:54 -07:00
  • 0e167ae24c font: coretext initialize face from memory Mitchell Hashimoto 2022-10-08 11:21:24 -07:00
  • 26629bcb6e pkg/macos: create fonts from data Mitchell Hashimoto 2022-10-08 10:21:33 -07:00
  • d0e269df6a macos: data Mitchell Hashimoto 2022-10-08 10:20:48 -07:00
  • 240c560720 macos: create descriptors from URL Mitchell Hashimoto 2022-10-08 10:16:35 -07:00
  • 175ff0f777 macos: url from path Mitchell Hashimoto 2022-10-08 10:13:30 -07:00
  • a21dda2b08 font: lower interface requirement for face Mitchell Hashimoto 2022-10-08 10:07:35 -07:00
  • 0ff79a0623 font: coretext glyphIndex Mitchell Hashimoto 2022-10-08 10:04:17 -07:00
  • 723db8be2f font: coretext face presentation Mitchell Hashimoto 2022-10-08 09:55:22 -07:00
  • 90f3b9391c font: begin coretext Face Mitchell Hashimoto 2022-10-08 09:43:54 -07:00
  • 71ec509930 Make font face a compile time interface, stub for coretext Mitchell Hashimoto 2022-10-08 09:19:21 -07:00
  • 833fd0e49a pkg/macos: bounding rects for text Mitchell Hashimoto 2022-10-07 21:23:34 -07:00
  • 67bb68b39f pkg/macos: RGB color space Mitchell Hashimoto 2022-10-07 21:07:11 -07:00
  • c48ddcecd7 pkg/macos: font draw glyphs Mitchell Hashimoto 2022-10-07 21:04:30 -07:00