summaryrefslogtreecommitdiff
path: root/src/render/decorations
Commit message (Collapse)AuthorAgeFilesLines
...
* managers: refactor class member vars (#10242)davc0n2025-05-021-4/+4
|
* inputs: refactor class member vars (#10230)davc0n2025-05-011-3/+3
|
* helpers: refactor class member vars (#10218)davc0n2025-04-303-32/+32
|
* windows: refactor class member vars (#10168)davc0n2025-04-284-83/+83
|
* decorationPositioner: update posinfo on window updateVaxry2025-04-251-0/+4
| | | | fixes #10175
* workspaces: refactor class member vars (#10167)davc0n2025-04-253-9/+9
|
* groupbar: Add options for setting group bar title font weight (and indicator ↵M Matthew Hydock2025-04-242-16/+24
| | | | gap) (#9617)
* compositor: refactor class member vars (#10141)davc0n2025-04-223-7/+7
|
* config: Refactor class member vars (#10124)davc0n2025-04-202-7/+7
| | | | | * Refactor config classes vars * Fix clang format errors
* groupbar: add text offset and upper gap settings (#9733)Arkady Buryakov2025-04-021-5/+8
| | | | | * Groupbar: add keep_upper_gap setting to apply/remove outer gap offset to the upper side of groupbar * Groupbar: add text_offset setting to adjust text vertical position in a group header
* groupbar: round boxesvaxerski2025-03-261-2/+2
|
* Groupbar: apply scaling factor to text (#9731)Arkady Buryakov2025-03-261-1/+1
|
* decoration: bring back border_part_of_windowVaxry2025-03-241-1/+3
| | | | fixes #9683, now under decoration: though
* groupbar: remove 2 pixel gap above groupbar (#9664)phonetic1122025-03-191-1/+1
|
* groupbar: remove recursive window recalc (#9561)nyx2025-03-171-1/+0
|
* groupbar: add an option to adjust gap sizes (#9578)phonetic1122025-03-121-24/+30
|
* groupbar: pass alpha to title tex render passVaxry2025-03-111-0/+1
| | | | ref #9598
* hyprctl/config: fixup config descriptions, fill out missing ones, provide ↵Vaxry2025-02-251-3/+1
| | | | | | more data adds current and explicit, better parsing, and fixes missing / invalid ones
* animations: sync inactive/active border angles when using borderangle ↵Maximilian Seidler2025-02-131-0/+5
| | | | animations (#9401)
* groupbar: fix groupbar missing when indicator_height is <= 0Vaxry2025-02-091-97/+99
| | | | ref #9291 #9372
* window: move size reporting to animation begin callback (#9298)Maximilian Seidler2025-02-061-3/+0
| | | | | | | | | | | | | | | | | * window: fix resizes with an update callback * window: fixup sendWindowSize Remove the size argument from sendWindowSize, since it is now a member of the Window class and we don't want any mismatches between m_vRealSize and what we report. Remove sendWindowSize from mapWindow, since we shouldn't need it. * window: sendWindowSize on animation begin * window: move most calls to sendWindowSize to the animation begin callback * window: remove sendWindowSize in unmanaged if not fullscreen
* groupbar: various visual improvementsVaxry2025-01-311-19/+72
| | | | added rounding, round at edges, and indicator height
* core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233)Honkazel2025-01-308-17/+5
| | | | | | | * declare dtor once + DMABBUF typo fix * dup include + clang moment * linux-dmabuf: last minute nit change
* shadow: avoid drawing empty shadowsVaxry2025-01-261-0/+3
|
* renderer/internal: stop using box pointersVaxry2025-01-263-10/+10
| | | | in favor of const refs
* core: move sendWindowSize off of xwaylandmgrVaxry2025-01-251-1/+1
| | | | additionally fixes that one weird x11 issue with floating windows being mis-sized on open
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-234-16/+16
|
* core: reserve vector sizes as much as we can (#9118)Tom Englund2025-01-191-0/+3
| | | | | avoid reallocations as much as possible with a few edge cases where the reservation overshoots a tiny bit. but a few bytes of memory short term is better used then the overhead of potential reallocation.
* core: fix warning in shadowvaxerski2025-01-171-1/+0
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-174-1/+8
| | | Cleanup some unneeded includes to speed up compilation
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-074-29/+29
| | | | | | | | | | | | | * core: change animation manager to use Hyprutils::Animation * config: move animation config to hyprutils animation tree * use g_pAnimationManager->createAnimation and the new PHLANIMVAR template * core: use CGenericAnimatedVariabled::{enabled,setConfig,getStyle} and adapt callbacks * core: adapt animated variable usage (dereference the shared pointer) * misc: bump CMakeLists to hyprutils 0.3.3
* renderer: Add supercircular window corners (#8943)Pollux2025-01-053-14/+18
| | | | | | | renderer: Add supercircular shadows and borders config: Add rounding_power to default and example configs rule: add `roundingpower` window rule
* groupbar: fix missing ellipsize for textvaxerski2025-01-041-1/+1
| | | | fixes #8938
* groupbar: unify title renderingvaxerski2025-01-022-70/+8
| | | | moves the text renderer to the unified opengl impl
* Renderer: rewrite render scheduling (#8683)Vaxry2024-12-224-28/+60
| | | This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
* groups: honor group lock window rule (#8782)Aqa-Ib2024-12-211-0/+1
|
* core: drop using deques in favor of vectorsVaxry2024-12-161-15/+15
| | | | No point in most of these.
* core: Add clang-tidy (#8664)Vaxry2024-12-077-22/+16
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* core: move colorspace handling to oklab (#8635)Vaxry2024-12-034-27/+24
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* groups: add merge_groups_on_groupbar (#8362)Aqa-Ib2024-11-061-1/+7
|
* shadow: add sharp and refactor optionsVaxry2024-11-052-11/+25
| | | | options moved to decoration:shadow:
* renderer: improve api around new framebuffer changesVaxry2024-11-021-1/+1
| | | | ref #8325
* internal: more profiling less calls and local copies (#8300)Tom Englund2024-10-307-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * compositor: reduce amount of window box copies mousemoveunified can call this very frequently, the cbox copying actually shows up as an impact in such cases, move it down in the scope and only do it when necessery. * core: constify and reference frequent calls profiling shows these as frequent called functions try to reduce the amount of copies with references and const the variables. * pointermgr: remove not used local copy, const ref remove unneded local copies and const ref cursorsize. * inputmgr: reduce amount of calls to vectortowindow the amount of calls to g_pCompositor->vectorToWindowUnified fast ramps up in cpu usage with enough windows existing and moving the mouse, move the PWINDOWIDEAL up and reuse it if its already the same. * protocol: compositor remove unused local copy remove unused local copy of accumulateCurrentBufferDamage and const previousBuffer. * renderer: reduce scope of variables and refactor move a few variables down in their scopes to reduce the amount of calls and copies when not needed, also add one more for loop in renderWorkspaceWindows and store the windows in a vector with weakpointers that should be rendered, this adds a loop but reduces the amount of repeated calls to shouldRenderWindow and also makes the rest of the loops go over way smaller vector when many windows exist.
* group: fix moveWindowIntoGroup (#8297)Aqa-Ib2024-10-301-3/+3
|
* internal: few more marginal optimisations from profiling (#8271)Tom Englund2024-10-281-16/+23
| | | | | | | | | | | | | | | | | * deco: reduce local temporars and function calls profiling shows this is a high used function, reduce the amount of function calls and local temporar copies and also check if we even need to add extents at all in the loop. * popup: optimize bfhelper in popups pass nodes as const reference and reserve the size of the children node vector help reduce the reallocations. * procotol: make compositor bfhelper use const ref use const ref for nodes and reserve second nodes vector size to reduce amount of reallocation needed.
* groupbar: set locked color when groups are globally locked (#8257)Ryan2024-10-271-1/+1
|
* internal: optimize cursor move a bit (#8264)Tom Englund2024-10-271-5/+7
| | | | | | | | | | | | | | | | | | | | | * window: inline and const getWindowMainSurfaceBox getWindowMainSurfaceBox gets called a lot of times from deep down from mousemoveunified, profiling mousemoveunified it spends quite a lot of cpu time in here, let the compiler optimize the call to getWindowMainSurfaceBox by inlining and making it const. reducing the overhead. * inputmgr: return early and use std::any_of return early in mousemoveunified to reduce the amount of unnecessery calls to various pointers when not needed, also make isconstrained use std::any_of instead of for loop to use the STL optimized paths with hopes and dreams marginally faster. * decoration: return early, reduce temporar copy return earlier and reduce the temp copies by using one .lock instead of two
* groups: fix swallowing (#8223)Aqa-Ib2024-10-271-5/+2
| | | | | | | | | | | | | * fix swallowing for groups * remove unnecessary check * clang-format * clarify comment * make variables consistent * make aditional variables consistent
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-197-9/+9
| | | | | * move monitors to sp * XD
* layout: move applyGroupRules() to onWindowCreated() (#8139)Aqa-Ib2024-10-161-1/+0
|