summaryrefslogtreecommitdiff
path: root/src/render
Commit message (Collapse)AuthorAgeFilesLines
* renderer: more FP16 fixes (#14070)UjinT342026-05-0719-236/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix fp16 blur with invalidation * restore tonemap code * fix fade outs * add sdr compat for unaware surfaces * use a better work space, not linear, only for sdr * fix hl tf -> wp tf * cache workbuffer descriptions * linear not normalised WIP * clear offload fb * CM math * fix includes * use precalculated cm for shadows * inner glow cm * quad cm * fix unmodified copy * codegen * cache color CM * mark blur dirty when CM/DS changes * avoid icc workbuffer * fp16 blur finish hack * fix output hdr luminances * use srgb for mirroring/sharing with fp16 * defaults people --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* groups: add groupbar middle_click_close option (#14242)Maxim Andreev2026-05-051-3/+7
|
* render: scale background to monitor resolution (#14250)davc0n2026-05-041-5/+51
| | | | | | | | | | | | | * render: scale background to monitor resolution Currently the background is not scaled, e.g. 8k size image always uses ~128Mb of VRAM. We could reduce the consumption for low-end devices and monitors with lower resolution: - ~8Mb for 1080p - ~16Mb for 2k - ~32Mb for 4k * render: use gpu to scale bgtex and fix missing reset on size change
* renderer: only set presentationmode when required (#14252)Tom Englund2026-05-021-2/+3
| | | | if guard the setPresentationMode with the current state, shows up in profiling as minor waste on each frame.
* desktop/window: refactor over fullscreen stateVaxry2026-04-291-3/+6
|
* desktop/window: expand hidden into proper statesVaxry2026-04-292-1/+4
|
* desktop/window: add alpha container for alpha calculationsVaxry2026-04-292-12/+19
|
* renderer: swizzle on shm screencopy (#14167)fazzi2026-04-261-14/+10
| | | | | | in ds format (XBGR8888) the swizzle was pretty much being ignored. It would cause screenshots taken within DS, or apps which use screencopy like hyprpicker, wayfreeze, and still, to come out with the red and blue channels flipped.
* config/lua: init lua config manager, use lua if available (#13817)Vaxry2026-04-268-161/+162
| | | Adds a new lua config manager, which will automatically be used if there is a lua config present.
* opengl/shadow: fix shadow offset rendering (#14156)Vaxry2026-04-245-36/+74
|
* opengl: minor egl changes (#14147)Tom Englund2026-04-232-6/+10
| | | | | | | | | | | | | * opengl: explicitly set stencil mask set stencil mask to 0xFF to allow writes, when done set it back to 0x00 to become readonly, avoids potential mishaps. also at the end set the stencil op to GL_KEEP and it will certainly be read only until next time its changed. * opengl: use modern glClearBufferfv over glClear use more modern glClearBufferfv instead, and also clear the entire buffer if a clearpass has been added but no renderdamage exist.
* errorOverlay: modernize, refactor, use GPU rendering (#14122)Vaxry2026-04-193-12/+12
| | | | | | | Improves the overlay's rendering: - GPU accelerated - supports gradients - wraps - cleaner code a bit
* renderer: simplify shadows (#14047)UjinT342026-04-186-132/+78
|
* debug/overlay: optimize rendering, cleanup and nicetify (#14097)Vaxry2026-04-163-8/+22
| | | | optimizes the rendering, drops direct cairo, fixes up api. Also improves the visuals etc of the overlay
* renderer: Various CM fixes, part 8 of refactors (#13860)UjinT342026-04-1613-89/+139
| | | Part 8 of Ujin's refactors.
* notifications: move and small refactor (#14094)Vaxry2026-04-162-8/+8
| | | moves to notification/, and adds a new style manager getter.
* renderer: extract window skip conditions into named booleans (#14005)Visal Vijay2026-04-081-5/+13
|
* decoration/border: simplify damage callbackVaxry2026-04-071-1/+7
|
* pass/surface: cache texBoxVaxry2026-04-072-1/+11
|
* config: move misc:vfr to debug: (#14021)Vaxry2026-04-071-1/+1
| | | this is a debug-only option and should never be turned off
* egl: move over to use hyprgraphics (#12988)Tom Englund2026-04-052-12/+14
| | | use the hyprgraphics helpers instead.
* renderer: add a cm settings cacheVaxry2026-04-042-6/+37
|
* render/decorations: improve cache performanceVaxry2026-04-042-62/+57
|
* render/opengl: optimize getShaderVariant's map accessVaxry2026-04-042-12/+15
|
* render/decoration: cache input extents as wellVaxry2026-04-042-14/+12
|
* render/decoration: improve extent calculationsVaxry2026-04-042-14/+52
|
* renderer/groupbar: fix a group indicator rounding bug (#13975)Emre Bener2026-04-041-2/+2
| | | single tab edge case handled
* renderer: simplify renderWorkspaceWindowsFullscreenVaxry2026-04-041-10/+14
|
* render/pass: optimize simplification and blur calculationsVaxry2026-04-043-45/+39
|
* renderer: don't damage decos individually in damageWindowVaxry2026-04-041-3/+0
|
* render: fix SIGFPE in `addWindowToRenderUnfocused` when ↵vyfor2026-04-041-0/+3
| | | | `misc:render_unfocused_fps` is 0 (#13973)
* renderer: skip redundant render-path workPppp11162026-04-041-6/+10
|
* monitor: centralize solitary and scanout eligibility checksPppp11162026-04-041-12/+15
|
* render: fix layer blur_popups ignoring ignore_alpha when blur is off (#13947)Mihai Fufezan2026-04-021-4/+13
|
* renderer: refactor part 7: api fixes (#13631)UjinT342026-03-2851-1908/+2332
| | | | | | | Part 7 of ujin's refactors --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* renderer/groupbar: fix gradients rendering (#13875)UjinT342026-03-281-18/+13
|
* renderer/deco: add glow decoration (#13862)Vaxry2026-03-2715-13/+433
|
* render/pass: fix debug:pass renderingVaxry2026-03-261-10/+7
|
* renderer: small fixes in OpenGL.cpp and OpenGL.hpp (#13842)Pppp11162026-03-262-10/+22
| | | | | * render: add EGL error details to dmabuf query failures * linux-dmabuf: tighten plane modifier checks and feedback safety
* renderer: guard against null monitor in renderMonitor (#13823)Visal Vijay2026-03-231-0/+2
|
* config: cleanup the entire config infrastructure (#13785)Vaxry2026-03-207-49/+48
| | | | Massively refactors the config infrastructure, sorely needed and will be req'd for the lua stuff
* renderer: fix crash when shader path isn't a file (#13756)nikitax442026-03-191-2/+13
|
* source: c-f for new clang versionVaxry2026-03-152-19/+19
|
* renderer: fix blockBlurOptimization check (#13685)staz2026-03-131-1/+1
|
* internal: fix relative path header locations (#13650)ItsOhen2026-03-1310-43/+43
| | | Or plugins can't build.
* renderer: fix share window projection (#13695)UjinT342026-03-112-1/+5
|
* shader: delete shader on success path (#13682)Tom Englund2026-03-101-0/+1
| | | dont leak glsl shader on success path.
* renderer: fix crash on null blur framebuffer during monitor disconnectmatjam2026-03-103-2/+9
| | | | Guard all m_blurFB dereferences against null. The blur framebuffer is reset during monitor disconnect but layer surface snapshots use a simple render path that skips framebuffer allocation.
* renderer: fix crash with nullptr FBs (#13641)UjinT342026-03-091-8/+16
|
* renderer: fix sdr mod (#13630)UjinT342026-03-071-1/+1
|