summaryrefslogtreecommitdiff
path: root/src/render/decorations/CHyprGroupBarDecoration.cpp
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-261-70/+70
| | | Adds a new lua config manager, which will automatically be used if there is a lua config present.
* renderer/groupbar: fix a group indicator rounding bug (#13975)Emre Bener2026-04-041-2/+2
| | | single tab edge case handled
* renderer/groupbar: fix gradients rendering (#13875)UjinT342026-03-281-18/+13
|
* 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
* renderer: refactor resources and flags (#13471)UjinT342026-03-071-1/+1
|
* renderer: refactor Texture, Framebuffer and Renderbuffer (#13437)UjinT342026-03-061-24/+23
| | | Part 1 of the renderer refactors
* layout: rethonk layouts from the ground up (#12890)Vaxry2026-02-211-93/+29
| | | | | 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.
* groupbar: added group:groupbar:text_padding (#12818)wbg2026-01-071-6/+8
| | | Co-authored-by: Roman Weinberger // ACL <roman.weinberger@acl.at>
* 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-171-1/+1
| | | | | | | 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
|
* decoration: reduce virtual callsTom Englund2025-09-281-1/+1
| | | | | | | | 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: Add rounding power setting to groupbar and gradient roundness. ↵Martin2025-08-161-0/+4
| | | | (#11420)
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-11/+11
|
* renderpass: use unique ptr instead of shared ptrTom Englund2025-07-101-7/+7
| | | | | 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-161-8/+24
| | | | (#10667)
* internal: refactor to use empty() (#10599)Kamikadze2025-05-311-1/+1
|
* groupbar: force recalc on visibility changesvaxerski2025-05-281-5/+12
| | | | fixes #10566
* 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-051-68/+68
| | | | | * render: refactor class member vars * render: fix clang format
* 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-301-14/+14
|
* windows: refactor class member vars (#10168)davc0n2025-04-281-41/+41
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-1/+1
|
* groupbar: Add options for setting group bar title font weight (and indicator ↵M Matthew Hydock2025-04-241-14/+22
| | | | gap) (#9617)
* compositor: refactor class member vars (#10141)davc0n2025-04-221-5/+5
|
* config: Refactor class member vars (#10124)davc0n2025-04-201-4/+4
| | | | | * 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
|
* 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
* 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-301-4/+0
| | | | | | | * declare dtor once + DMABBUF typo fix * dup include + clang moment * linux-dmabuf: last minute nit change
* renderer/internal: stop using box pointersVaxry2025-01-261-1/+1
| | | | 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-231-6/+6
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+2
| | | Cleanup some unneeded includes to speed up compilation
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-5/+5
| | | | | | | | | | | | | * 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
* groupbar: fix missing ellipsize for textvaxerski2025-01-041-1/+1
| | | | fixes #8938
* groupbar: unify title renderingvaxerski2025-01-021-68/+7
| | | | moves the text renderer to the unified opengl impl