Mitchell Hashimoto
|
7e24faac72
|
metal: implement font size changing
|
2022-11-15 20:18:39 -08:00 |
|
Mitchell Hashimoto
|
dad4923901
|
hook up all the keyboard actions
|
2022-11-15 20:10:50 -08:00 |
|
Mitchell Hashimoto
|
3ce554462a
|
window cell size event for changing cell size
|
2022-11-15 19:54:05 -08:00 |
|
Mitchell Hashimoto
|
657c8540c8
|
renderer: font size changed event, OpenGL impl
|
2022-11-15 19:48:32 -08:00 |
|
Mitchell Hashimoto
|
6ec5684c27
|
window caches all sizing so it doesn't depend on renderer state
|
2022-11-15 19:30:15 -08:00 |
|
Mitchell Hashimoto
|
78fbf9cb06
|
remove stage1 workarounds
|
2022-11-15 13:19:01 -08:00 |
|
Mitchell Hashimoto
|
4727fa9b7b
|
move opengl to renderer dir
|
2022-11-15 13:12:30 -08:00 |
|
Mitchell Hashimoto
|
18de7cd2ef
|
Move shaders into the renderer dir
|
2022-11-15 13:10:43 -08:00 |
|
Mitchell Hashimoto
|
334743e8a7
|
Don't crash on huge padding, warn users if padding is absurd
|
2022-11-14 17:41:15 -08:00 |
|
Mitchell Hashimoto
|
e6c7fd0214
|
metal: understand explicit padding
|
2022-11-14 17:35:10 -08:00 |
|
Mitchell Hashimoto
|
d7d12d9469
|
explicit padding works
|
2022-11-14 17:13:56 -08:00 |
|
Mitchell Hashimoto
|
c515cb9b5f
|
initial padding options
|
2022-11-14 16:19:20 -08:00 |
|
Mitchell Hashimoto
|
184b43ebd6
|
opengl: padding is done via ortho matrix rather than viewport
|
2022-11-14 13:13:50 -08:00 |
|
Mitchell Hashimoto
|
4cab24a3da
|
extract auto-padding code to shared logic
|
2022-11-14 13:10:12 -08:00 |
|
Mitchell Hashimoto
|
024cd65ac8
|
metal: implement auto padding
|
2022-11-14 12:37:29 -08:00 |
|
Mitchell Hashimoto
|
f73753ac6f
|
opengl: automatically pad render area to balance non-grid space
|
2022-11-14 12:24:38 -08:00 |
|
Mitchell Hashimoto
|
019f1e34bb
|
metal: copy screen data (see opengl commit for why)
|
2022-11-13 17:29:23 -08:00 |
|
Mitchell Hashimoto
|
333ff1e634
|
opengl: handle screen resize outside of critical area
|
2022-11-13 16:19:38 -08:00 |
|
Mitchell Hashimoto
|
f1c69343d3
|
opengl: copy screen data instead of sharing state
Through benchmarking I've determined this lowers lock contention by
about 50% on the critical data.
|
2022-11-13 16:16:08 -08:00 |
|
Mitchell Hashimoto
|
5b52333e51
|
name threads and add more tracing
|
2022-11-07 07:45:46 -08:00 |
|
Mitchell Hashimoto
|
fd304c9338
|
Deinit devmode more cleanly
|
2022-11-06 17:26:01 -08:00 |
|
Mitchell Hashimoto
|
e0db46ac97
|
clean up some resources better on error
|
2022-11-06 16:23:36 -08:00 |
|
Mitchell Hashimoto
|
ecbd119654
|
Hook up new window, modify renderers
|
2022-11-06 10:34:43 -08:00 |
|
Mitchell Hashimoto
|
746858cea6
|
implement cursor reset when data comes in pty
|
2022-11-05 19:31:28 -07:00 |
|
Mitchell Hashimoto
|
aa98e3ca3a
|
Move cursor timer to renderer
|
2022-11-05 19:31:28 -07:00 |
|
Mitchell Hashimoto
|
e2d8ffc3c1
|
renderer mailbox, focus message
|
2022-11-05 19:31:28 -07:00 |
|
Mitchell Hashimoto
|
9b3d22e55e
|
IO thread has more state setup
|
2022-11-05 19:31:02 -07:00 |
|
Mitchell Hashimoto
|
8dd68ea5fe
|
metal: reallocate textures if they grow
|
2022-10-31 10:42:27 -07:00 |
|
Mitchell Hashimoto
|
20adaa7b66
|
metal: disable v-sync
|
2022-10-31 10:25:49 -07:00 |
|
Mitchell Hashimoto
|
1d1f161b03
|
metal: fix double wide cell width
|
2022-10-31 09:44:37 -07:00 |
|
Mitchell Hashimoto
|
ddc0d60ea2
|
metal: set contentsScale and handle screen scale factor for retina
|
2022-10-31 09:44:37 -07:00 |
|
Mitchell Hashimoto
|
c1b70cb788
|
metal: devmode
|
2022-10-31 09:44:37 -07:00 |
|
Mitchell Hashimoto
|
666833f12f
|
metal: color textures
|
2022-10-31 09:44:37 -07:00 |
|
Mitchell Hashimoto
|
ee45d363a9
|
metal: cursor and underline
|
2022-10-31 09:44:37 -07:00 |
|
Mitchell Hashimoto
|
4b5174d2c6
|
metal: blending
|
2022-10-31 09:44:37 -07:00 |
|
Mitchell Hashimoto
|
178418834c
|
metal: glyphs show up (poorly)
|
2022-10-31 09:44:37 -07:00 |
|
Mitchell Hashimoto
|
0058906035
|
metal: handle HiDPI scaling
|
2022-10-31 09:44:37 -07:00 |
|
Mitchell Hashimoto
|
fb49595904
|
metal: pass colors in
|
2022-10-31 09:44:37 -07:00 |
|
Mitchell Hashimoto
|
a7c1f63ad8
|
metal: populate the greyscale texture, prep ubershader
|
2022-10-31 09:44:37 -07:00 |
|
Mitchell Hashimoto
|
89610f9b8d
|
metal: setup vertex data
|
2022-10-31 09:44:37 -07:00 |
|
Mitchell Hashimoto
|
6b7ed3fefb
|
metal: use content scale when resizing
|
2022-10-31 09:44:37 -07:00 |
|
Mitchell Hashimoto
|
ea0265f021
|
projection matrix, render cell
|
2022-10-31 09:44:37 -07:00 |
|
Mitchell Hashimoto
|
a17a7426a3
|
draw a square, handle resize
|
2022-10-31 09:44:37 -07:00 |
|
Mitchell Hashimoto
|
4d4c1790cb
|
draw a triangle
|
2022-10-31 09:44:36 -07:00 |
|
Mitchell Hashimoto
|
fc7e457098
|
add first pass metal shader
|
2022-10-31 09:44:36 -07:00 |
|
Mitchell Hashimoto
|
90a284e176
|
boilerplate for rendering
|
2022-10-31 09:44:36 -07:00 |
|
Mitchell Hashimoto
|
090bab6798
|
metal: setup the render loop, draw the background color
|
2022-10-31 09:44:36 -07:00 |
|
Mitchell Hashimoto
|
07271a6cfd
|
Initial metal abstraction (noop)
|
2022-10-31 09:44:36 -07:00 |
|
Mitchell Hashimoto
|
f89b5d12f6
|
fixed bugs
|
2022-10-29 09:48:57 -07:00 |
|
Mitchell Hashimoto
|
b4a83d98c4
|
window no longer makes any OpenGL calls
|
2022-10-28 09:24:40 -07:00 |
|