mirror-ghostty/pkg
Julia 9c8c53bffb
use main buffer and copy data to fbo texture (opengl) (#5294)
NEEDS REVIEW

continuation of #5037
resolves #4729 

renders all shaders to the default buffer and then copies it to the
designated custom shader texture.

this is a draft pr because:
- it introduces a new shader "pipeline" which doesnt fit in with how the
system was designed to work (which is only rendering to the fbo)
- im not sure if this is the best way to achieve shaders being able to
sample their output while also drawing to the screen. the cusom fbo
(previous implementation) was useful in that it modularized the custom
shader stage in rendering

---------

Co-authored-by: Mitchell Hashimoto <m@mitchellh.com>
2025-01-23 20:57:14 +00:00
..
apple-sdk pkg/apple-sdk: more descriptive error when SDK not found 2024-02-14 08:56:11 -08:00
breakpad pkg/breakpad: add linux_syscall_support.h to the vendored files 2024-08-28 21:43:18 -07:00
cimgui Fix cimgui version string to match pkg/cimgui/vendor/ and the upstream version 2025-01-03 17:47:50 +11:00
fontconfig don't make library building logic public 2025-01-03 22:42:29 +01:00
freetype don't build freetype2 when system integration is enabled 2025-01-03 22:41:15 +01:00
glslang pkg/glslang: yeet usingns 2024-08-16 15:36:31 -07:00
harfbuzz don't make library building logic public 2025-01-03 22:42:29 +01:00
highway begin 0.13 update process -- very broken 2024-06-24 15:16:22 -07:00
libpng build: use Zig system packaging options 2024-10-24 14:46:37 -07:00
libxml2 begin 0.13 update process -- very broken 2024-06-24 15:16:22 -07:00
macos Metal: blend in Display P3 color space, add option for linear blending 2025-01-13 13:50:29 -08:00
oniguruma don't make library building logic public 2025-01-03 22:42:29 +01:00
opengl use main buffer and copy data to fbo texture (opengl) (#5294) 2025-01-23 20:57:14 +00:00
sentry crash: beforeSend needs to add contexts to the event directly 2024-09-02 09:55:57 -07:00
simdutf Fix: Update pkg/simdutf/build.zig.zon to match vendored version 2025-01-03 18:22:24 +11:00
spirv-cross pkg: yeet more usingns 2024-08-16 16:52:28 -07:00
utf8proc pkg/utf8proc: yeet usingns 2024-08-16 16:28:39 -07:00
utfcpp working on more zig breaking changes 2024-04-17 20:50:50 -07:00
wuffs fix(wuffs): don't premul alpha when loading images 2025-01-17 14:38:38 -05:00
zlib pkg/zlib: update 2024-05-09 21:01:08 -07:00
README.md pkg: add README and license 2024-09-13 19:55:11 -07:00

README.md

Packages

This folder contains packages written for and used by Ghostty that could potentially be useful for other projects. These are in-tree with Ghostty because I don't want to maintain them as separate projects (i.e. get dedicated issues, PRs, etc.). If you want to use them, you can copy and paste them into your project.

License

This license only applies to the contents of the pkg folder within the Ghostty project. This license does not apply to the rest of the Ghostty project.

Copyright © 2024 Mitchell Hashimoto

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.