Mitchell Hashimoto
e0afa442c4
renderer/opengl: better organization of custom shader state
2023-11-17 21:51:06 -08:00
Mitchell Hashimoto
47971e7663
renderer/opengl: setup uniform buffer objects for custom shaders
2023-11-17 21:51:06 -08:00
Mitchell Hashimoto
5fc91401f2
renderer/opengl: draw custom shaders, simplified
2023-11-17 21:51:06 -08:00
Mitchell Hashimoto
da600fee8f
renderer/opengl: pull out cell program drawing to dedicated func
2023-11-17 21:51:06 -08:00
Mitchell Hashimoto
aff5090362
renderer/opengl: simplifying the custom shader to get things working
2023-11-17 21:51:06 -08:00
Mitchell Hashimoto
1fedc912f0
renderer/opengl: create ubos
2023-11-17 21:51:05 -08:00
Mitchell Hashimoto
3502db0f5f
renderer/opengl: start custom program work
2023-11-17 21:51:05 -08:00
Mitchell Hashimoto
cc630f10ac
renderer/opengl: only one GPUCell
2023-11-17 21:51:05 -08:00
Mitchell Hashimoto
fb0929a11b
renderer/opengl: extract cell program state to dedicated struct
2023-11-17 21:51:05 -08:00
Mitchell Hashimoto
46dd084ee9
renderer/opengl: wip
2023-11-17 21:51:05 -08:00
Mitchell Hashimoto
8576acb89e
renderer/opengl: move opengl API to pkg/opengl
2023-11-17 21:51:04 -08:00
Mitchell Hashimoto
76a88e3fbe
renderer: spirv binary must be aligned to u32
2023-11-17 21:50:53 -08:00
Mitchell Hashimoto
4742cd308d
renderer: animation timer if we have custom shaders
2023-11-17 21:50:53 -08:00
Mitchell Hashimoto
17de73f802
renderer: log shadertoy compile errors
2023-11-17 21:50:53 -08:00
Mitchell Hashimoto
3a17ac48cf
prettier: ignore shaders
2023-11-17 21:50:53 -08:00
Mitchell Hashimoto
244e7266a1
renderer/metal: don't recreate custom shader resources per frame
2023-11-17 21:50:53 -08:00
Mitchell Hashimoto
d3bc1ab6da
renderer/metal: reuse an intermediate texture for custom shaders
2023-11-17 21:50:53 -08:00
Mitchell Hashimoto
bc70d19257
renderer/metal: set valid sampler properties
2023-11-17 21:50:53 -08:00
Mitchell Hashimoto
01a73994cb
renderer/metal: setup sampler state
2023-11-17 21:50:53 -08:00
Mitchell Hashimoto
1e572fb10b
renderer/metal: load custom shaders
2023-11-17 21:50:52 -08:00
Mitchell Hashimoto
9fbee7e6d1
renderer: turn assertion into error
2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
dba78b20ca
renderer: shadertoy convert to MSL
2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
1bd92619b1
renderer: shadertoy functions
2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
c347148fd7
renderer/metal: CRT effect, ugly hacky code
2023-11-17 21:50:34 -08:00
Mitchell Hashimoto
28246a80b8
renderer/metal: release some of our shader initialization objects
2023-11-17 21:50:34 -08:00
Mitchell Hashimoto
3095dce685
renderer/metal: wip for loading custom shader pipelines
2023-11-17 21:50:34 -08:00
Mitchell Hashimoto
389712a698
renderer/opengl: switch to new update vs draw
2023-11-17 21:50:34 -08:00
Mitchell Hashimoto
0e92f68228
renderer: separate update frame data from draw
2023-11-17 21:50:34 -08:00
Mitchell Hashimoto
67dce5ce0e
update zig-objc
2023-11-17 21:50:34 -08:00
Mitchell Hashimoto
45dfbfe53c
renderer: address issue with inverted cells
2023-11-17 21:47:24 -08:00
Raiden1411
fd444b6d05
renderer: add support for metal
2023-11-18 01:08:18 +00:00
Raiden1411
7a239835d2
core: add config option to invert fg and bg of cell when selected
2023-11-18 01:04:14 +00:00
Krzysztof Wolicki
44a48f62f1
change unmodified var
s to const
s in anticipation of zig changes
2023-11-17 15:46:46 +01:00
Mitchell Hashimoto
b5bf7e9d3b
Merge pull request #890 from mitchellh/faint-bg
...
renderer: faint should not be applied to bg alpha
2023-11-15 11:41:35 -08:00
Mitchell Hashimoto
ed3e3764d9
renderer: faint should not be applied to bg alpha
...
Fixes #889
2023-11-15 11:38:16 -08:00
Mitchell Hashimoto
ad24e5e687
renderer/opengl: use new preedit format
2023-11-15 09:59:08 -08:00
Mitchell Hashimoto
7457b40a45
renderer/metal: handle preedit wider than our screen
2023-11-15 09:53:51 -08:00
Mitchell Hashimoto
50f0aaf26b
renderer/metal: support multi-codepoint preedit text
2023-11-15 09:49:28 -08:00
Mitchell Hashimoto
5c8c4bb06e
renderer/opengl: handle wide preedit
2023-11-10 17:30:14 -08:00
Mitchell Hashimoto
ce4541dd61
core, renderer: handle wide preedit chars
...
Fixes #855
2023-11-10 17:26:36 -08:00
Gregory Anders
171292a063
core: implement OSC 12 and OSC 112 to query/set/reset cursor color
2023-11-09 16:21:07 -06:00
Gregory Anders
33753f59c8
core: implement OSC 104, 110, and 111 to reset colors
2023-11-09 16:17:21 -06:00
Gregory Anders
1c0b79c40f
core: separate default colors from modifiable colors
...
Default colors are those set by the user in the config file, or an
actual default value if unset. The actual colors are modifiable and can
be changed using the OSC 4, 10, and 11 sequences.
2023-11-09 14:08:14 -06:00
Gregory Anders
006e93bd08
core: implement setting colors with OSC 4, 10, and 11
2023-11-09 11:59:20 -06:00
Nawaf
b3dd363e3b
fix macos font being drawn thicker when updating font size
2023-11-06 00:25:38 -05:00
Lukáš Dvořák
bca7140248
balanced padding cleanup
2023-10-30 14:56:02 +01:00
Lukáš Dvořák
6887ea7e53
fix window-padding-balance in combination with explicit padding
2023-10-30 13:46:19 +01:00
Mitchell Hashimoto
06edc311a1
renderer/opengl: reclaim cell buffer memory when resizing
2023-10-28 11:38:20 -07:00
Mitchell Hashimoto
95f0b4779d
renderer/metal: reclaim cell buffer memory when resizing
2023-10-28 11:30:02 -07:00
Mitchell Hashimoto
a162c7c47f
inspector: move inspector to dedicated folder
2023-10-24 15:27:16 -07:00