summaryrefslogtreecommitdiff
path: root/src/helpers/Format.cpp
Commit message (Collapse)AuthorAgeFilesLines
* egl: move over to use hyprgraphics (#12988)Tom Englund2026-04-051-251/+0
| | | use the hyprgraphics helpers instead.
* renderer: shader variants refactor (#13434)UjinT342026-03-061-16/+0
| | | Part 0 of renderer reworks.
* format: safeguard drmGetFormat functions (#13416)Tom Englund2026-02-281-2/+10
| | | they can return null if not found.
* protocols/toplevelExport: Support transparency in toplevel export (#12824)ArchSav2026-01-201-0/+14
|
* renderer/gl: add internal gl formats and reduce internal driver format ↵Tom Englund2026-01-071-130/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | conversions (#12879) * format: add internal formats for drm formats cross referenced with weston and added internal formats and types for a lot of missing ones. also added a isFormatYUV helper. * framebuffer: ensure we use right internalformat ensure we use the right internal format to avoid internal driver blitting, also since we only attach the GL_STENCIL_ATTACHMENT we might just aswell only use the GL_STENCIL_INDEX8 to not confuse drivers that we want a depth aswell. * texture: use external on yuv or non linear mods using external makes us use the gpu's internal detiler. and this is makes intel a lot happier then having to format convert it to a linear format internally. * shaders: add external support to CM frag add external support to CM frag, and correct ext.frag typo. * formats: remove duplicates and fix a typo in cm.frag remove duplicate formats and a typo in cm.frag * formats: add swizzle logic to all formats add swizzle logic from weston for all formats and use it in shm texture paths. * format: more format changes use monitor drm format instead of forcing something different. * shader: remove external from cm.frag drivers want this resolved at compiletime cant use both samplerExternalOES and sampler2d and then runtime branch it. * screencopy: swizzle textures in screencopy swizzle textures in screencopy, to get the right colors when copying. * screencopy: restore old behaviour try restore old behaviour before the gles3 format changes. glReadPixels had the wrong format, so i went to far trying to mitigate it. should be like before now.
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-1/+1
|
* internal: fix clang-tidy "errors" (#11862)UjinT342025-09-291-2/+2
|
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-1/+1
|
* core: drop the legacy renderer (#10408)Tom Englund2025-05-151-81/+30
| | | | | | | | | | | * core: drop the legacy renderer the legacy renderer is broken and barely used, drop it. * Nix: drop support for legacyRenderer --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* core: Add clang-tidy (#8664)Vaxry2024-12-071-12/+12
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-2/+2
| | | now we roll loops at blazing constified speed.
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-0/+16
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* format: include macros for unreachableVaxry2024-06-201-0/+1
|
* egl: fixup format modifier lookups with implicit modifiersVaxry2024-06-141-2/+2
| | | | ref #6485
* format: fix flipped r/b channels on legacy_rendererVaxry2024-06-141-4/+12
| | | | | | We don't wanna use an extension, but for gles2 there is no other option. fixes #6465
* formats: fixup for legacy_renderer buildsVaxry2024-06-121-32/+62
|
* build: include missing header: "debug/Log.hpp" in Format.cpp (#6365)memchr2024-06-081-0/+1
|
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-0/+271
* wayland/core/dmabuf: move to new impl it's the final countdown