Commit graph

187 commits

Author SHA1 Message Date
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
vaxerski
08ee14b4a0 Added dynamic monitor rules 2022-04-19 19:01:23 +02:00
vaxerski
cbf0d366b4 fixed discardopaque with custom alpha 2022-04-18 18:23:10 +02:00
vaxerski
8a8877e739 Added active/inactive opacity 2022-04-17 21:44:06 +02:00
vaxerski
b0f5e4ab56 store scale and scale windows with monitor 2022-04-17 18:47:10 +02:00
vaxerski
748a787ba2 Don't blur behind opaque pixels 2022-04-17 13:15:56 +02:00
vaxerski
1789facddb fixed some nested render bugs 2022-04-14 17:45:18 +02:00
vaxerski
3e36f1c42c renderer fixes 2022-04-14 17:00:35 +02:00
vaxerski
75af34da96 added basic damage tracking 2022-04-14 16:43:29 +02:00
vaxerski
402c11d341 respect texture size and not mon size in BGTex 2022-04-13 18:49:15 +02:00
vaxerski
46a95afafd oops, fixed regular renderer 2022-04-13 17:51:18 +02:00
vaxerski
084e922642 Added legacy GLES2 renderer option 2022-04-13 17:34:13 +02:00
vaxerski
6911ed3176 log more in begin() 2022-04-12 21:49:35 +02:00
vaxerski
b6a93b2f03 Added window grouping for dwindle
furthermore, added LayoutRenderHints.
2022-04-12 16:44:18 +02:00
vaxerski
a8e8729230 Added zext_workspace protocol support 🎉 2022-04-11 19:51:37 +02:00
vaxerski
b56343133d fixed blur rendering, stencil and gles3 2022-04-11 16:39:48 +02:00
vaxerski
2973860b25 do not round fullscreen windows 2022-04-10 19:04:38 +02:00
vaxerski
2cf4480969 fix fadeout blinking transparent windows 2022-04-10 18:25:45 +02:00
vaxerski
3753f83f69 Added default background as a PNG 2022-04-10 14:32:18 +02:00
vaxerski
91a6c53197 Added blur_passes config 2022-04-09 17:06:09 +02:00
vaxerski
7996abc8ed fix C++20 deprecation warning 2022-04-09 16:51:36 +02:00
vaxerski
969bebbd06 Added blurring 🎉 2022-04-09 16:51:08 +02:00
vaxerski
b7094200f6 Rendering now to a HyprFramebuffer 2022-04-09 15:01:28 +02:00
vaxerski
7347a72ba6 Added HyprError for showing config errors 2022-04-08 21:40:41 +02:00
vaxerski
a49bbf4508 fadeout done 🎉 2022-04-05 20:49:15 +02:00
vaxerski
f8e0b0b448 fadein and prep for fadeout 2022-04-05 19:28:10 +02:00
vaxerski
f5562941f7 fixed rounding of things not to be rounded 2022-04-05 18:32:06 +02:00
vaxerski
dcb6fc269a support all shaders rounded and fix RGBX borders 2022-04-05 17:01:44 +02:00
vaxerski
3385269dca Added rounded borders. 2022-04-05 16:47:03 +02:00
vaxerski
27c06758e4 basic window rounded corners 2022-04-05 15:50:47 +02:00
vaxerski
19d9465042 Rendering textures 2022-04-05 14:33:54 +02:00
vaxerski
67343898ff fixed rendering rects 2022-04-04 22:06:57 +02:00
vaxerski
334f5a59b0 added broken rect renderer 2022-04-04 21:45:35 +02:00