summaryrefslogtreecommitdiff
path: root/src/render/decorations
Commit message (Collapse)AuthorAgeFilesLines
* groups: add groupbar middle_click_close option (#14242)Maxim Andreev2026-05-051-3/+7
|
* config/lua: init lua config manager, use lua if available (#13817)Vaxry2026-04-263-77/+77
| | | Adds a new lua config manager, which will automatically be used if there is a lua config present.
* renderer: simplify shadows (#14047)UjinT342026-04-182-107/+10
|
* decoration/border: simplify damage callbackVaxry2026-04-071-1/+7
|
* render/decorations: improve cache performanceVaxry2026-04-042-62/+57
|
* render/opengl: optimize getShaderVariant's map accessVaxry2026-04-041-7/+7
|
* 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: refactor part 7: api fixes (#13631)UjinT342026-03-283-37/+38
| | | | | | | 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-273-0/+140
|
* config: cleanup the entire config infrastructure (#13785)Vaxry2026-03-201-11/+11
| | | | Massively refactors the config infrastructure, sorely needed and will be req'd for the lua stuff
* internal: fix relative path header locations (#13650)ItsOhen2026-03-131-1/+1
| | | Or plugins can't build.
* renderer: refactor gl renderer (#13488)UjinT342026-03-073-50/+134
|
* renderer: move m_renderData to renderer (#13474)UjinT342026-03-071-10/+10
|
* renderer: refactor resources and flags (#13471)UjinT342026-03-072-5/+5
|
* deco/border: fix damage regionVaxry2026-03-071-0/+1
|
* renderer: refactor Texture, Framebuffer and Renderbuffer (#13437)UjinT342026-03-063-34/+33
| | | Part 1 of the renderer refactors
* deco/border: fix damageEntireVaxry2026-02-281-17/+6
|
* event: refactor HookSystem into a typed event bus (#13333)Vaxry2026-02-222-11/+3
| | | | | Refactors the old HookSystem into a typed event bus with clear separation, discovery and types.
* layout: rethonk layouts from the ground up (#12890)Vaxry2026-02-212-95/+31
| | | | | Rewrites layouts to be much smaller, and deal with much less annoying BS. Improves the overall architecture, unifies handling of pseudotiling, and various other improvements.
* decorations/border: fix damage scheduling after #12665Vaxry2026-02-051-1/+1
|
* renderer: fix mouse motion in VRR (#12665)Szwagi2026-01-311-1/+1
|
* decoration: take desiredExtents on all sides into account (#12935)zacoons2026-01-101-15/+15
|
* groupbar: added group:groupbar:text_padding (#12818)wbg2026-01-071-6/+8
| | | Co-authored-by: Roman Weinberger // ACL <roman.weinberger@acl.at>
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-3/+3
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-084-5/+1
|
* compositor: Configurable behavior when window to be focused conflicts with ↵Nikolai Nechaev2025-11-251-9/+10
| | | | | | | | | | fullscreen (#12033) Renames `misc:new_window_takes_over_fullscreen` into `misc:on_focus_under_fullscreen` and implements the following behavior: - By default, when a tiling window is being focused on a workspace where a fullscreen/maximized window exists, respect the `misc:on_focus_under_fullscreen` config variable.
* windowrules: rewrite completely (#12269)Vaxry2025-11-173-5/+4
| | | | | | | Reworks the window rule syntax completely --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* groupbar: fix rounding logic for edge cases (#12366)Jochim2025-11-171-7/+9
|
* deco/groupbar: add groupbar blur (#12310)Jochim2025-11-161-37/+24
|
* deco: reduce virtual calls in drop shadowTom Englund2025-09-281-10/+12
| | | | | | | | damageEntire() in CHyprdDropShadow is pretty much called per window per frame, instead of all the PWINDOW-> virtual calls, store pos and size once and move the duplicated code to a lambda. reducing it a bit. shows up in profiling as minor waste.
* decoration: reduce virtual callsTom Englund2025-09-284-10/+15
| | | | | | | | this shows up as top contender in idle cpu usage, because decos in animations keeps locking weak pointers to shared pointers per window per frame when its not really needed, use weakpointers all the way and it drops to a bottom contender. marginal gains in the big picture. but gains is gains.
* renderer: fix inconsistent border thickness for roundingPower < 2 (#11752)REVO92025-09-192-8/+14
|
* windows: fix no decorate not disabling borders (#11673)ItsOhen2025-09-131-1/+2
|
* renderer: Add rounding power setting to groupbar and gradient roundness. ↵Martin2025-08-161-0/+4
| | | | (#11420)
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-142-15/+15
|
* opengl: improve render fn arg clarity (#11286)Vaxry2025-07-311-4/+5
|
* renderpass: use unique ptr instead of shared ptrTom Englund2025-07-103-9/+9
| | | | | lets use unique ptrs instead of refcounting shared ptr when its not needed, use rvalue reference to construct in vector directly.
* pass: overload TexPass constructorTom Englund2025-07-071-1/+1
| | | | | overload it with a rvalue to allow us to move the data directly avoiding an extra copy. because SRenderData is not trivially copyable.
* renderer: reduce a lot of glcalls and cache various states (#10757)Tom Englund2025-06-251-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * opengl: cache viewport state according to nvidia docs calling glViewPort unnecessarily on the same already set viewport is wasteful and can cause state changes when not needed. cache it in a struct and only call it when the viewport is actually changing. * opengl: cache glenable/gldisable state avoid making multiple glenable/gldisable calls on already set caps, can cause state changes and incur driver overhead. * opengl: cache glscissor box only call glscissor if the box actually has changed, try to avoid state changes. * opengl: cache gluniform calls cache the gluniform calls, the uniform values are cached in driver per program only the drawcalls setting the uniform yet again with the same value on same location is causing more overhead then caching it ourself and just no oping on it if no changes. * shader: rewrite handling of uniforms and state this is way faster as we don't need to mess with maps (hashing, etc) and instead can just use an array * opengl: stuff and 300 shaders * opengl: typo * opengl: get the uniform locations properly now that the legacy shaders are gone get the uniformlocations for SKIP_CM etc, so they can be properly set and used depending on if cm_enabled is set to false or true, before it was falling back to a legacy shader that didnt even have those uniforms. * opengl: check epsilon on float and remove extra glcall seems an extra unset glcall was added, remove it. and check the float epsilon on the glfloat. * opengl: remove instanced shader draw remove the instanced boolean from the vertex shader, might be neglible differences, needs more benchmark/work to see if its even worth it. * texture: cache texture paramaters parameters where occasionally set twice or more on same texture, short version wrap it and cache it. and move gpu churn to cpu churn. add a bind/unbind to texture aswell. * texture: use fast std::array caching cache the texparameter values in fast array lookups and incase we dont want it cached, apply it anyways. * shader: fix typo and hdr typo actually use Matrix4x2fv in the 4x2fv cache function, and send the proper float array for hdr. * texture: make caching not linear lookup make caching of texture params not linear. * minor style changes * opengl: revert drawarrays revert the mostly code style reduce loc change of drawarrays, and focus on the caching. its a if else case going wrong here breaking blur/contrast amongst others drawing. --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* grpupbar: Add config options to color inactive and locked groupbar titles ↵Jacob Ilias Komissar2025-06-162-8/+26
| | | | (#10667)
* opengl: use a stack for storing monitor transform enabledVaxry2025-06-151-2/+2
| | | | fixes #10487
* internal: refactor to use empty() (#10599)Kamikadze2025-05-311-1/+1
|
* refactor: use std::ranges whenever possible (#10584)Kamikadze2025-05-301-9/+7
|
* groupbar: force recalc on visibility changesvaxerski2025-05-282-5/+15
| | | | fixes #10566
* internal: added error log when getEdgeDefinedPoint is impossible (#10462)zacoons2025-05-181-3/+1
|
* core: drop the legacy renderer (#10408)Tom Englund2025-05-151-3/+0
| | | | | | | | | | | * 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>
* render: refactor class member vars (#10292)davc0n2025-05-0510-189/+184
| | | | | * render: refactor class member vars * render: fix clang format