99 Commits

Author SHA1 Message Date
Mitchell Hashimoto
81d8ca5b9c render text from our terminal! 2022-04-18 17:57:08 -07:00
Mitchell Hashimoto
34cb9b2c27 setup our GPU cells based on terminal state 2022-04-18 16:21:22 -07:00
Mitchell Hashimoto
2e46612bc7 attach a terminal to the window, start hinting at renderer hookup 2022-04-18 14:12:35 -07:00
Mitchell Hashimoto
753a946fd5 terminal: C0.BS 2022-04-18 12:35:15 -07:00
Mitchell Hashimoto
fc8bd859db terminal: writing strings and multiline strings starting to work 2022-04-18 12:21:50 -07:00
Mitchell Hashimoto
20f9ad3f55 implement basic VT parser -- only print/execute handled 2022-04-18 11:01:47 -07:00
Mitchell Hashimoto
94f3c5e490 comment 2022-04-18 09:41:04 -07:00
Mitchell Hashimoto
8d389b4ea9 initial VT emulation table 2022-04-18 09:38:52 -07:00
Mitchell Hashimoto
dc788ce5b2 terminal stuff 2022-04-17 09:40:09 -07:00
Mitchell Hashimoto
d1173626ad remove freetype-gl 2022-04-16 21:18:47 -07:00
Mitchell Hashimoto
74e04355a0 improve commnts 2022-04-16 11:12:38 -07:00
Mitchell Hashimoto
82a4aef1fa TempDir implementation 2022-04-16 11:07:27 -07:00
Mitchell Hashimoto
992d52fe81 working on subprocessing 2022-04-16 10:22:18 -07:00
Mitchell Hashimoto
2cd51f0cc4 basic pty opening 2022-04-15 13:09:35 -07:00
Mitchell Hashimoto
38428f94c1 make colors more distinct for demo cells 2022-04-15 09:27:53 -07:00
Mitchell Hashimoto
8ea0299375 grid keeps track of cells 2022-04-15 09:18:57 -07:00
Mitchell Hashimoto
4d9b67fa65 model direct gpu cell 2022-04-15 09:10:32 -07:00
Mitchell Hashimoto
128d28a7bd setup a single vao, ebo, vbo for grid rendering 2022-04-15 08:35:49 -07:00
Mitchell Hashimoto
e672c9d7d5 calculate grid size in dedicated struct, tests 2022-04-15 08:16:22 -07:00
Mitchell Hashimoto
d5ab024521 fix memory leaks 2022-04-15 07:52:08 -07:00
Mitchell Hashimoto
bb902cf4e3 new Window abstraction 2022-04-14 21:07:16 -07:00
Mitchell Hashimoto
ce70efd771 render a rainbow grid 2022-04-14 17:44:40 -07:00
Mitchell Hashimoto
544286509f grid render a few cells 2022-04-14 17:14:49 -07:00
Mitchell Hashimoto
936b987871 calculate cell widt/height, cross verified with kitty 2022-04-06 13:05:53 -07:00
Mitchell Hashimoto
811b5f37f2 addGlyph returns glyph 2022-04-06 09:47:57 -07:00
Mitchell Hashimoto
263c9e4aac opengl: unbind programs 2022-04-06 08:42:39 -07:00
Mitchell Hashimoto
a9e887315a note perf todo 2022-04-05 20:17:08 -07:00
Mitchell Hashimoto
5e919cee2d remove freetype-gl 2022-04-05 19:55:30 -07:00
Mitchell Hashimoto
80490cb80d remove ftgl build 2022-04-05 19:54:48 -07:00
Mitchell Hashimoto
388c0056c9 switch to pure Zig font atlas 2022-04-05 19:54:13 -07:00
Mitchell Hashimoto
d51ed2536c font atlas creates glyph records 2022-04-05 19:21:49 -07:00
Mitchell Hashimoto
876d316cda atlas: use saturating arithmetic 2022-04-05 17:58:48 -07:00
Mitchell Hashimoto
e33aeea723 starting FontAtlas 2022-04-05 17:57:09 -07:00
Mitchell Hashimoto
c4fb335a6b zig native atlas implementation 2022-04-05 12:04:10 -07:00
Mitchell Hashimoto
a3903f45ef remove old text renderer 2022-04-05 09:28:33 -07:00
Mitchell Hashimoto
14e510fe4f draw text using ebo, some work to be done to clean that up 2022-04-05 08:57:44 -07:00
Mitchell Hashimoto
6ba0a13a9b opengl: simplify vertex attribute setting 2022-04-05 08:25:36 -07:00
Mitchell Hashimoto
684fb64705 use a font atlas! 2022-04-04 22:24:02 -07:00
Mitchell Hashimoto
7e42a0c17e Update README.md 2022-04-04 20:03:20 -07:00
Mitchell Hashimoto
07145c90a1 update README 2022-04-04 19:58:42 -07:00
Mitchell Hashimoto
c42cb58b75 gitattributes to ignore vendor 2022-04-04 15:53:09 -07:00
Mitchell Hashimoto
5d8d372517 Update README.md 2022-04-04 15:52:17 -07:00
Mitchell Hashimoto
4163d9c3e5 readme 2022-04-04 15:24:12 -07:00
Mitchell Hashimoto
530fecee4a opengl: glad helpers 2022-04-04 15:11:26 -07:00
Mitchell Hashimoto
8797c41833 output loaded OpenGL version 2022-04-04 14:59:22 -07:00
Mitchell Hashimoto
27f3e89316 Makefile with task for updating glad 2022-04-04 14:52:47 -07:00
Mitchell Hashimoto
17be18dead freetype-gl doesn't link gl 2022-04-04 14:39:34 -07:00
Mitchell Hashimoto
0e030dabd7 freetype uses glad 2022-04-04 14:38:19 -07:00
Mitchell Hashimoto
c6f1be3343 move from epoxy to glad 2022-04-04 14:35:19 -07:00
Mitchell Hashimoto
c42bf7c663 build freetype-gl 2022-04-04 14:14:20 -07:00