summaryrefslogtreecommitdiff
path: root/src/render
Commit message (Collapse)AuthorAgeFilesLines
* shaders: support changing the outer radius of borders independentlyVaxry2023-10-194-8/+21
|
* renderer: cast std::clamp args to be of the same type (#3589)Jan Beich2023-10-171-1/+1
| | | | | | | | | | | src/render/OpenGL.cpp:1769:41: error: no matching function for call to 'clamp' const auto FORCEWALLPAPER = std::clamp(*PFORCEWALLPAPER, -1L, 2L); ^~~~~~~~~~ /usr/include/c++/v1/__algorithm/clamp.h:38:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('int64_t' (aka 'long long') vs. 'long') clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi) ^ /usr/include/c++/v1/__algorithm/clamp.h:27:1: note: candidate function template not viable: requires 4 arguments, but 3 were provided clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi, _Compare __comp) ^
* cleanup: Replace find() with C++20 starts_with(), ends_with() and contains() ↵Philip Damianik2023-10-151-1/+1
| | | | | | | (#3572) * Replace find() with C++20 starts_with() and ends_with() * Replace find() with C++20 contains()
* render: stop locking SWC on tearingVaxry2023-10-131-4/+0
|
* groups: create group and groupbar config sections (#3522)MightyPlaza2023-10-101-17/+17
| | | | | | | | | | | | | | | | | | | | * config: create group section modified: src/Compositor.cpp modified: src/config/ConfigManager.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * separate group border and groupbar colors modified: src/Compositor.cpp modified: src/config/ConfigManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * add new line modified: config/ConfigManager.cpp
* renderer: add force_wallpaper instead of no_hypr_chan (#3459)DaniD3v2023-10-071-15/+19
|
* layershell: avoid configure on unchanged sizevaxerski2023-10-061-7/+8
| | | | fixes #3496
* renderer: extract solitary check into frame handlervaxerski2023-10-041-1/+0
|
* renderer: fixup solitary conditionsvaxerski2023-10-041-1/+1
|
* renderer: add further conditions to solitary recheckvaxerski2023-10-041-0/+8
|
* renderer: fix missing check for surfaceCount in rechecking solitaryvaxerski2023-10-021-0/+3
| | | | closes #3470
* renderer: remove old debug logvaxerski2023-10-021-3/+0
|
* tearing: cleanup vars and avoid rendering before drm is readyvaxerski2023-09-301-13/+7
|
* renderer: avoid spamming software cursor locksvaxerski2023-09-301-2/+8
|
* shaders: Remove redundant clamp of smoothsteps return value. (#3456)Dickby2023-09-302-5/+5
|
* renderer: lock software cursors while tearingvaxerski2023-09-301-0/+3
|
* renderer: nuke multisample_edges in favor of a faster algorithmvaxerski2023-09-304-94/+65
|
* shaders: improve border roundingvaxerski2023-09-301-23/+12
|
* renderer: optimize render pipeline when there is a solitary clientvaxerski2023-09-292-51/+78
|
* renderer: Tearing implementation (#3441)Vaxry2023-09-282-52/+105
|
* renderer: fix missing dontRound check in renderSurfacevaxerski2023-09-231-0/+3
| | | | fixes 3296
* renderer: cleanup drm format selectionvaxerski2023-09-221-18/+21
|
* logging: implement std::formatter for some types (#3380)memchr2023-09-201-39/+29
|
* logging/format: use std::format_string to catch formatting string errors at ↵memchr2023-09-201-2/+2
| | | | | | | compile time (#3377) * fix(log): use constexpr format string * deprecate getFormat
* misc: add disable_hypr_chan option (#3343)Mihai Fufezan2023-09-171-3/+7
|
* internal: Fix wlr output management (#3234)Philip Damianik2023-09-101-12/+9
|
* internal: Remove all `.c_str()` calls when using `std::vformat` (#3198)Philip Damianik2023-09-062-14/+14
| | | Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
* internal: Formatter rework (#3186)Vaxry2023-09-063-53/+53
|
* monitor: minor adjustmentsvaxerski2023-09-051-0/+1
|
* renderer: Fix blur for passes set to 0. (#3181)Dickby2023-09-051-5/+2
|
* refactor: replace manual iteration of CWindow with existing methods (#3147)memchr2023-09-041-8/+3
|
* renderer: separate workspace window render logicvaxerski2023-09-042-129/+79
| | | | Makes the logic used to render stuff over the windows (special, popups, ime, lockscreen) unified by yeeting the workspace window logic (which is separate cuz fullscreen windows) into their own funcs. Fixes #2053
* internal: Revert rounding of window size (#3153)staz2023-09-031-3/+3
| | | | | | | | | * Revert "renderer: round coords and size in renderWindow" This reverts commit fc0c1896e097b3c3b2170ae69d38724e43960fe1. * Revert "xwaylandmgr: round reported sizes" This reverts commit 2985e20e6a5868e710aa3bdaa2789a2023010611.
* renderer: don't set enabled in applyMonitorRulevaxerski2023-09-031-2/+0
|
* renderer: render IME popups in fullscreenvaxerski2023-09-021-0/+5
| | | | fixes #1353
* renderer: fixup occlusion conditionsvaxerski2023-09-012-1/+3
| | | | fixes #3123 I fucking hate yall
* refactor: raise SIGABRT instead of write to null address (#3124)memchr2023-08-311-1/+1
|
* renderer: round coords and size in renderWindowvaxerski2023-08-311-3/+3
|
* decos: groupbar mouse interaction (#3102)MightyPlaza2023-08-305-5/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow groupbar clicking modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.hpp * remove setting pos inside insertWindowToGroup() modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp * add group window by index and group size functions modified: src/Window.cpp modified: src/Window.hpp modified: src/managers/input/InputManager.cpp * allow dragging into groupbar modified: src/Window.cpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * allow dragging from groupbar modified: src/managers/KeybindManager.cpp * try groupbar clicking before border resize modified: src/managers/input/InputManager.cpp * block grabbing groupbar on floating (crash) remove later when crashing is fixed modified: src/managers/KeybindManager.cpp * remove redundant { } modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp * implement getWindowDecorationBox() modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * fix crash when moveoutofgroup in floating windows also removes dragging from floating windows limitation modified: src/layout/IHyprLayout.cpp modified: src/managers/KeybindManager.cpp * use CRegion in getWindowDecorationBox() modified: src/helpers/Region.cpp modified: src/helpers/Region.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * add groupbar scrolling modified: src/config/ConfigManager.cpp modified: src/managers/input/InputManager.cpp * change name to getWindowDecorationRegion() modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/managers/KeybindManager.cpp modified: src/managers/input/InputManager.cpp modified: src/render/decorations/IHyprWindowDecoration.cpp modified: src/render/decorations/IHyprWindowDecoration.hpp * make dragging from group less hacky for floating modified: src/managers/KeybindManager.cpp
* opengl: cleanup framebuffer stylevaxerski2023-08-291-4/+2
|
* renderer: make contrast and brightness adjustments before renderingvaxerski2023-08-281-9/+51
|
* renderer: don't blur special on disabled blurvaxerski2023-08-261-1/+2
|
* internal: allow opening empty special workspacesvaxerski2023-08-251-17/+16
| | | | Fixes point 2 of #2596
* renderer: add decoration:blur:specialvaxerski2023-08-253-13/+66
| | | | will blur behind the special ws
* renderer: track fade alpha for blur if ignore opacity is truevaxerski2023-08-233-43/+44
| | | | with ignore_opacity, blur would stay at 1 opacity during a fadeOut animation on layers, making it look wrong. Fixes #3051
* shaders: minor premultiplication fixesvaxerski2023-08-182-5/+6
|
* renderer: Border improvements (#2986)MightyPlaza2023-08-172-30/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * simplify getting border size modified: src/Window.cpp modified: src/Window.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/render/decorations/CHyprGroupBarDecoration.cpp * fix border damage and input box modified: src/Window.cpp modified: src/managers/AnimationManager.cpp * add border size in resize_on_border box modified: src/managers/input/InputManager.cpp * simplify border (fixes possible typo) modified: src/Window.cpp * use updateSpecialRenderData() modified: Window.cpp modified: Window.hpp modified: events/Windows.cpp modified: layout/DwindleLayout.cpp modified: layout/IHyprLayout.cpp modified: layout/MasterLayout.cpp modified: render/Renderer.cpp * update window workspace rule data on reload modified: src/config/ConfigManager.cpp * use rounding() modified: src/Window.cpp
* internal: allow negative monitor offsetsvaxerski2023-08-161-1/+1
|
* compositor: don't apply offsets in renderervaxerski2023-08-141-18/+0
|
* internal: add a new monitor auto systemvaxerski2023-08-141-2/+1
|