Commit Graph

44 Commits

Author SHA1 Message Date
mars 4b46142f90 Fix use of prehash so that the RAM cache actually hits 2022-12-05 21:26:05 -07:00
mars 03e596b219 Add logging to canary crate 2022-12-05 21:17:19 -07:00
mars a9de3ddc5b Merge branch 'main' into cache-modules 2022-11-25 17:54:13 -07:00
mars d43a62dfda Clean up wasmtime caching code 2022-11-25 17:52:24 -07:00
Iris Pupo 57768d041a Added module caching 2022-11-25 19:43:58 -05:00
mars 14540db59c Add panel_send_message and PanelAbi 2022-11-16 21:08:17 -07:00
mars cedd5503e6 Use &str instead of String for protocol names 2022-11-15 21:57:52 -07:00
mars 7c738c24ec Add protocol names to host-side panel binding 2022-11-15 21:48:07 -07:00
mars d4d8cab9ad Fix typos in Canary license headers 2022-11-14 17:28:38 -07:00
Iris Pupo 05d68ab3c1 enabled wasmtime built in caching 2022-11-08 17:40:50 -05:00
mars 066430ccba Un-trait ScriptAbi + runtime shared FontStore (closes #15) 2022-11-07 12:37:47 -07:00
mars eb32163b24 Fix Rect coordinate space 2022-11-05 15:00:51 -06:00
mars 7294c0402c Add licensing info to backend files 2022-11-04 16:53:39 -06:00
lilith 27d7bdeb91 Fix styling 2022-11-03 00:40:54 -04:00
lilith 4b2396d137 Initial on_resize() implementation 2022-11-03 00:37:18 -04:00
mars 44024ccdef Refactor Canary API 2022-11-02 17:42:01 -06:00
mars 4061af264d Add backend module 2022-11-02 16:25:12 -06:00
mars 0fc2f0b76c Merge canary-types into canary-script and update all dependents 2022-11-01 03:08:57 -06:00
mars 23d699dfef Use new coordinate system in Magpie and text rendering 2022-10-31 00:06:10 -06:00
mars 25e60c683b Change color from RGBAF32 to RGBA8 2022-10-19 22:56:06 -06:00
mars 4b551b1bc6 Add license info to all source files 2022-10-07 15:52:35 -06:00
mars 81bd65cf29 on_message() and egui message editor 2022-09-23 08:31:49 -06:00
mars 237ef96dfa Add Message and bind_panel() message 2022-08-16 18:11:56 -06:00
mars 0ccf787f99 Support multiple panels per script 2022-07-31 00:15:04 -06:00
marceline-cramer e070a54bb6 EXTREMELY HACKY multifont 2022-07-26 23:32:18 -06:00
marceline-cramer da4fce3d19 Remove script access to TextLayout GlyphPositions 2022-07-23 02:39:34 -06:00
mars b7df68195a Add font_load() fn 2022-07-18 21:24:39 -06:00
marceline-cramer d617eaaf64 Text rendering offset + scale + color 2022-07-18 20:51:54 -06:00
marceline-cramer bf6228f277 Compute glyph bounding boxes from paths 2022-07-18 18:43:49 -06:00
marceline-cramer 43b6aca29a Temp draw_glyphs ABI 2022-07-18 17:51:33 -06:00
marceline-cramer 1feb3e9ef2 WIP text layout API 2022-07-18 17:44:42 -06:00
marceline-cramer f53c7ac4cb Remove compatibility fn UiPanel_drawTriangle() 2022-07-18 16:54:05 -06:00
marceline-cramer 0ead815fa1 Hacky but functional scripted text rendering 2022-07-18 16:49:33 -06:00
marceline-cramer 96eb8c2daa FontStore caching + returns Arcs 2022-07-18 16:10:58 -06:00
marceline-cramer 6b78d51e64 GlyphCache mutex-locking + Font interior mutability 2022-07-18 16:03:02 -06:00
marceline-cramer 7e15a2f6a8 Font mutex-locking 2022-07-18 15:51:18 -06:00
mars 342e8b142e Remove emoji test + panic!() format mistake 2022-07-18 15:24:47 -06:00
mars dc71971c39 System font loading + proper scaling + FontStore 2022-07-16 21:57:45 -06:00
mars feadf8fa15 Refactor text shaping 2022-07-16 19:26:02 -06:00
marceline-cramer 2975477725 Cruddy hacked-together owning Font struct 2022-07-16 15:13:55 -06:00
marceline-cramer 9cd5aa3822 GlyphCache 2022-07-16 14:39:11 -06:00
marceline-cramer d4591ddbb9 text example in linja pona font 2022-07-16 14:06:06 -06:00
mars 50543d876a WIP text rendering 2022-07-16 11:44:22 -06:00
mars bf8592b5fe Initial commit 2022-07-15 15:11:35 -06:00