Commit graph

319 commits

Author SHA1 Message Date
vaxerski
ac8e5fef10 even more damage scaled fixes 2022-07-29 11:52:56 +02:00
vaxerski
429a9bc6c3 hide only XWayland on incorrect size 2022-07-29 11:45:32 +02:00
vaxerski
0f19bd99f8 more scaled surface damage fixes 2022-07-28 23:21:35 +02:00
vaxerski
f0cd784f79 fixes to surface damaging on scaled 3 2022-07-28 22:41:59 +02:00
vaxerski
7a2f296c93 surface damage fixes 2 2022-07-28 22:23:27 +02:00
vaxerski
0b0cd85085 surface damage fixes 2 2022-07-28 22:23:00 +02:00
vaxerski
3f62a386bf surface damage fixes 2022-07-28 22:15:56 +02:00
vaxerski
13d9c85e4e fix alpha with xwl opacity 2022-07-28 18:17:47 +02:00
vaxerski
9afa3953e9 fix crash oopsie 2022-07-28 17:56:11 +02:00
vaxerski
0e2038fedf minor fullscreen anim fixes 2022-07-28 16:33:45 +02:00
vaxerski
6d35d642ea fix fullscreen workspace slide anims 2022-07-28 15:56:55 +02:00
vaxerski
9dd17a4be6 Added toggleopaque dispatcher 2022-07-28 12:07:41 +02:00
vaxerski
ee15ad1215 render ls popups correctly 2022-07-27 18:02:20 +02:00
vaxerski
c9c4b14ef2 optimize xwayland has_alpha blur 2022-07-27 13:30:55 +02:00
vaxerski
cb1a36faf0 missed 2 structs 2022-07-27 12:36:56 +02:00
vaxerski
31a079b347 added DPMS 2022-07-27 12:32:00 +02:00
vaxerski
1626707b7f make layerSurfaces into RAII 2022-07-23 15:48:08 +02:00
vaxerski
9463e3eb0a fix transformed snapshots a bit 2022-07-20 16:28:05 +02:00
vaxerski
e6b151b6c3 fix memory read after free in damageSurface 2022-07-20 12:06:14 +02:00
vaxerski
0281caa8e0 fix ASan error 2022-07-19 13:36:54 +02:00
vaxerski
10a83853ac added ls noprocess 2022-07-18 21:16:01 +02:00
vaxerski
90d07d7b52 fix shadows on unmanaged and noborder 2022-07-18 12:39:57 +02:00
vaxerski
f5bd30569f fix borders on scaled 2022-07-16 23:29:42 +02:00
vaxerski
cb2989cec5 fix fade corner artifacts 2022-07-16 21:10:16 +02:00
vaxerski
16afa2c422 fix border rendering on certain windows
oversized subsurfaces had a tendency to be above borders, now they wont be
2022-07-16 20:57:59 +02:00
vaxerski
48e5bd96bc Added shadow colors animations and inactive col 2022-07-16 12:44:45 +02:00
vaxerski
1441856811 fix blur on oversized, default to enabled 2022-07-15 19:21:13 +02:00
vaxerski
19c646ab47 Minor changes to the renderer's overflow behavior
Won't squish base layers anymore
2022-07-15 19:07:06 +02:00
Vaxry
6708f3b133
Fixed TTY switching (#364) 2022-07-13 18:18:23 +02:00
vaxerski
bf762f566f Fix VRAM memory leak when releasing snapshots 2022-07-12 23:11:34 +02:00
vaxerski
a4f82491b7 active opacity is now animated 2022-07-12 13:40:55 +02:00
vaxerski
2f3b2db83d fixed tiled popups going behind windows 2022-07-12 09:49:56 +02:00
vaxerski
f461ea3105 squish oversized subsurfaces while animating 2022-07-11 23:38:10 +02:00
vaxerski
4b334594dc Added splashes 2022-07-10 15:41:26 +02:00
vaxerski
06c0be5ea6 clear with 17 2022-07-10 11:45:50 +02:00
Fernando Ayats
c8c5e0b90a
nix: fix wallpaper location (#334) 2022-07-08 17:46:42 +03:00
vaxerski
3278db67a2 added general:disable_hyprland_logo 2022-07-07 20:16:40 +02:00
Vaxry
3f43f94dc4
Merge pull request #318 from hyprwm/swipes
Added swipe workspace gestures
2022-07-07 13:49:43 +02:00
vaxerski
4b796d30c1 Added swipe workspace gestures 2022-07-07 13:49:04 +02:00
vaxerski
5762e3b9e2 fix stretched ls 2022-07-07 12:40:32 +02:00
vaxerski
1cf2f378d4 added ls blurring 2022-07-06 22:12:03 +02:00
vaxerski
6f5b8425cb fix invalidating the deque in CHyprGroupBarDeco 2022-07-05 17:31:47 +02:00
vaxerski
beef23cee5 fix vfr frame scheduling 2022-07-04 17:55:33 +02:00
vaxerski
7e38de37a7 fix crash 2022-07-04 17:48:04 +02:00
vaxerski
c71b76a9e0 fix chromium part 1 2022-07-04 15:58:12 +02:00
vaxerski
01228fbc9c fix some bugs 2022-07-03 22:54:47 +02:00
vaxerski
91d68513de fix possible segfault by realloc 2022-06-30 23:55:28 +02:00
vaxerski
3970b43ea2 fix disabling monitor while hyprland is running 2022-06-30 23:50:57 +02:00
vaxerski
4510764f34 finally fix scaled snapshots 2022-06-30 20:02:04 +02:00
vaxerski
328b3fa4bc mordernize pointers 2022-06-30 15:44:26 +02:00
vaxerski
a7ebf0ddc3 added CPU uniform location lookup optimization 2022-06-30 12:39:10 +02:00
vaxerski
b0cd90a43c refactor a bunch of layout code 2022-06-30 12:09:05 +02:00
vaxerski
6ce2678970 fix snapshot scaling issue 2022-06-29 22:26:34 +02:00
vaxerski
6ec16fdcda damage drag and drop 2022-06-29 14:15:08 +02:00
vaxerski
697ce96d62 temp fix for snapshot size on scaled 2022-06-29 13:08:28 +02:00
vaxerski
8820f7f210 optimization + revert one oopsie 2022-06-29 12:54:53 +02:00
vaxerski
73663a8ba5 fix incorrect snapshot calc for scaled outputs 2022-06-29 12:36:50 +02:00
vaxerski
5636d2031e simplify damageWindow 2022-06-29 11:21:42 +02:00
vaxerski
9388bb5d55 fix shadows on scaled 2022-06-29 11:13:30 +02:00
vaxerski
f7db5eaf50 don't render decos on fullscreen windows 2022-06-28 15:45:38 +02:00
vaxerski
9fcef41d66 mutliple fixes to subsurface handling 2022-06-28 15:30:46 +02:00
vaxerski
8b4a373efa update wlroots dep 2022-06-28 11:30:07 +02:00
vaxerski
c6f7eecf0f set custom if mode not found 2022-06-28 11:12:01 +02:00
vaxerski
dfe06cb060 fix crash with decos with null workspaces 2022-06-27 14:07:33 +02:00
vaxerski
5ad8cead7c prevent failed assert 2022-06-27 13:54:33 +02:00
vaxerski
bc5fc7fad6 guard shadow w/h 2022-06-27 11:27:02 +02:00
vaxerski
3d48469cb4 fix decos with workspace offset 2022-06-27 00:25:37 +02:00
vaxerski
0b1459ef04 typo + fix shadow on multimon 2022-06-26 22:27:03 +02:00
vaxerski
b7b4853301 fix deco on fullscreen 2022-06-26 22:26:13 +02:00
vaxerski
44aeb1fc90 added decoration:shadow_offset 2022-06-26 22:15:06 +02:00
vaxerski
1a0b2c4ade rewritten borders, fixed msaa 2022-06-26 19:39:56 +02:00
vaxerski
f5c2dfc706 a bit of fixes to cursor hiding 2022-06-26 13:43:32 +02:00
vaxerski
2955698f28 fix fade with deco 2022-06-25 20:31:54 +02:00
vaxerski
747ff3369d added drop shadows 2022-06-25 20:28:40 +02:00
vaxerski
72c86b99eb added general:cursor_inactive_timeout 2022-06-24 23:27:02 +02:00
vaxerski
eb13be1240 fix one of the stupidest things i've ever written I am embarrassed. 2022-06-24 22:45:30 +02:00
vaxerski
45a44f9690 added noblur 2022-06-24 22:28:54 +02:00
vaxerski
3e8842e1f8 fix janky pixel maths with scaled textures 2022-06-24 15:59:59 +02:00
vaxerski
81e36298bf dont scale thick in border 2022-06-24 15:52:42 +02:00
vaxerski
770bada5d5 Fixed oversized apps' incorrect layout 2022-06-22 15:45:56 +02:00
vaxerski
4c2459861b fix borders sometimes disappearing on certain windows 2022-06-21 23:09:20 +02:00
vaxerski
0f1ad16aec added general:no_border_on_floating 2022-06-21 22:54:41 +02:00
vaxerski
1642b1ff66 optimize config calls in often called areas 2022-06-07 20:41:40 +02:00
vaxerski
cc80b68545 fixed a typo, will boost performance on opaque windows with blur 2022-06-07 20:10:14 +02:00
vaxerski
d743ac7bb1 added forcerendererreload and some more vt changes 2022-06-06 13:48:17 +02:00
vaxerski
10c2bd0686 make shaders cleaner 2022-06-03 18:45:18 +02:00
vaxerski
e11cb8b328 Added antialiasing to outer edges
simplified, stupidly fast MSAA for rounded edges
2022-06-02 22:58:54 +02:00
vaxerski
970018248f Don't damage surfaces coming from not rendered windows 2022-05-31 22:16:13 +02:00
vaxerski
679e36d82e fix border size on scaled outputs 2022-05-31 20:38:45 +02:00
vaxerski
8de7cc5a8d opacity windowrule support 2 values 2022-05-31 17:35:50 +02:00
vaxerski
d2e0b7c22a render special over fullscreen 2022-05-31 14:20:41 +02:00
vaxerski
0055efc4f1 Added a special workspace 2022-05-31 14:01:00 +02:00
vaxerski
b1c11f3d2e consider the full bb with deco in rendering 2022-05-30 14:55:42 +02:00
vaxerski
9842730f57 Added fullscreen types, maximize and full 2022-05-29 15:44:30 +02:00
vaxerski
d0ff0c0990 Added basic monitor transforms, has bugs
blur doesnt work on transformed outputs
full damage tracking issues
2022-05-29 12:27:45 +02:00
vaxerski
894ae2d742 Use C++-styled pointers for decorations 2022-05-28 23:43:11 +02:00
vaxerski
685cf1e00d remove unused PMONITOR var 2022-05-28 20:50:50 +02:00
vaxerski
bdf1c16195 Added IHyprWindowDecoration and Group Bars 2022-05-28 20:46:20 +02:00
vaxerski
9ede0f1c7d Added blur_ignore_opacity 2022-05-28 18:57:32 +02:00
vaxerski
10a9325a6a Fix buggy slide out on multimon 2022-05-28 18:52:22 +02:00
vaxerski
5c911df351 Fix closing anims on multimon 2022-05-28 18:33:47 +02:00
vaxerski
15553804d6 Added closing animations (reverse of open) 2022-05-28 18:28:55 +02:00
vaxerski
7f1f14fe85 Added a rounding rule 2022-05-28 17:48:01 +02:00
vaxerski
8c10857f14 Added a debug overlay 2022-05-28 17:32:19 +02:00
vaxerski
d8c5e53c08 Fix dynamic monitor offset changes 2022-05-27 10:27:06 +02:00
vaxerski
74990e1e58 fix for latest wlroots 2022-05-25 23:29:36 +02:00
vaxerski
2c907e0540 include egl in includes.hpp 2022-05-25 23:13:13 +02:00
vaxerski
9af95492f8 clamp surface sizes 2022-05-22 11:42:18 +02:00
vaxerski
2511d8981a fix a lil oopsie 2022-05-19 20:49:37 +02:00
vaxerski
464c4aa395 fixed borders on no blur 2022-05-19 20:16:08 +02:00
vaxerski
e225d949e7 And now fix the placeholder 2022-05-18 20:35:24 +02:00
vaxerski
198fc90df5 What the fuck is going on with git, fix the entire scaling merge
This reverts commit 5b15d3b4f4.
2022-05-18 20:33:54 +02:00
vaxerski
5b15d3b4f4 Revert "Merge pull request #88 from vaxerski/scaling"
This reverts commit f68ddc382a, reversing
changes made to ba573a529a.
2022-05-18 14:42:00 +02:00
vaxerski
6c437763f6
Merge branch 'main' into scaling 2022-05-18 13:10:22 +02:00
vaxerski
c2922b6b09 fix surface effective damage scale 2022-05-18 13:08:49 +02:00
vaxerski
5fa4b9a777 fix border geometry 2022-05-17 19:31:42 +02:00
vaxerski
df2215cef7 fix fade blur 2022-05-17 13:26:14 +02:00
vaxerski
cad71218c0 borders are now gangsta 2022-05-17 13:16:37 +02:00
Four_Griffins
3fd2ef2107 added opacity setting for fullscreen windows 2022-05-16 23:52:48 +02:00
vaxerski
f09de365d5 Added workspace fade transition 2022-05-16 23:13:32 +02:00
vaxerski
244be92d11 fix fadeout 2022-05-16 22:25:05 +02:00
vaxerski
0503835ee6 fixed blur and shit 2022-05-16 21:30:11 +02:00
vaxerski
bf8ebfc631 added scaling (dt broken)
damage tracking on full is broken
2022-05-16 20:45:27 +02:00
vaxerski
cba4693d39 Fix certain layersurfaces crashing 2022-05-15 11:25:42 +02:00
vaxerski
e8a432e979 oops forgot about this 2022-05-14 20:12:29 +02:00
vaxerski
f7214114d4 adjust blur radius 2022-05-14 20:11:34 +02:00
vaxerski
109136af97 Fadein/out now applies to layersurfaces too 2022-05-14 17:23:46 +02:00
vaxerski
ff0f535c28 Added workspace animations 2022-05-12 11:27:31 +02:00
vaxerski
ddab8e60dc optimized texture rendering 2022-05-10 09:56:58 +02:00
vaxerski
9a699ab153 fix yesterday's commit 2022-05-10 09:19:54 +02:00
vaxerski
ef21baaf88 Optimize blur massively and some fixes 2022-05-09 21:37:41 +02:00
vaxerski
034192650f respect outputMgrApplyTest 2022-05-06 17:18:24 +02:00
vaxerski
ff86f723b2 Fix blur leaving strokes on full damage tracking 2022-05-06 16:06:21 +02:00
vaxerski
b67eae7228 fix kb stuff 2022-05-06 14:30:35 +02:00
vaxerski
8fb3ad8bf1 log damage debug opt 2022-05-05 15:09:26 +02:00
vaxerski
77d37cd72a optimization: dont damage entire window on border anim 2022-05-05 14:02:30 +02:00
vaxerski
c7fd3d46fd damage mon on arrange 2022-05-04 15:23:30 +02:00
vaxerski
8e1abb6540 render border with damage 2022-05-04 15:16:50 +02:00
vaxerski
6bfe9162e1 Reject blur rendering on empty damage 2022-05-02 23:03:22 +02:00
vaxerski
42c77b01ed fix kawase oopsie 2022-05-02 17:02:00 +02:00
vaxerski
43fc7662cc Major blur rework: optimization & fixes
Blur should be considerably faster now and work on full damage tracking
2022-05-02 16:54:40 +02:00
vaxerski
d284aaa2ca Added custom reserved area per mon 2022-04-27 17:46:07 +02:00
vaxerski
cabab409e6 fixed overlay layers being on bottom of fullscreen windows 2022-04-25 21:49:45 +02:00
vaxerski
e5f8bca41c Switched old blur to dual kawase 2022-04-24 16:41:01 +02:00
vaxerski
3b3718df3d some fixes for full damage tracking 2022-04-24 12:04:16 +02:00
vaxerski
1afc8329bc
Merge branch 'main' into animation-system-rework 2022-04-24 11:18:30 +02:00
vaxerski
fc14157d76 Fixed damaging multimon 2022-04-23 23:53:12 +02:00
vaxerski
0147975faf New animation system 2022-04-23 14:16:02 +02:00
vaxerski
94811485c9 added opacity rule 2022-04-22 14:37:38 +02:00
vaxerski
5fa916e6f2 fix monitor reload crash 2022-04-21 18:11:28 +02:00