summaryrefslogtreecommitdiff
path: root/pkg/opengl/Program.zig
AgeCommit message (Collapse)Author
2024-08-16pkg/opengl: yeet usingnsMitchell Hashimoto
2024-08-03renderer: disable window-padding-color=extend in certain scenariosMitchell Hashimoto
There are scenarios where this configuration looks bad. This commit introduces some heuristics to prevent it. Here are the heuristics: * Extension is always enabled on alt screen. * Extension is disabled if a row contains any default bg color. The thinking is that in this scenario, using the default bg color looks just fine. * Extension is disabled if a row is marked as a prompt (using semantic prompt sequences). The thinking here is that prompts often contain perfect fit glyphs such as Powerline glyphs and those look bad when extended. This introduces some CPU cost to the extension feature but it should be minimal and respects dirty tracking. This is unfortunate but the feature makes many terminal scenarios look much better and the performance cost is minimal so I believe it is worth it. Further heuristics are likely warranted but this should be a good starting set.
2023-11-17renderer/opengl: setup uniform buffer objects for custom shadersMitchell Hashimoto
2023-11-17renderer/opengl: extract cell program state to dedicated structMitchell Hashimoto
2023-11-17renderer/opengl: move opengl API to pkg/openglMitchell Hashimoto