Commit graph

657 commits

Author SHA1 Message Date
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
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
vaxerski
374491ee63 progress 2022-04-04 19:44:25 +02:00
vaxerski
df6a3c6877 fix non-gdk popups on multimon 2022-04-03 10:32:21 +02:00
vaxerski
c923b4f075 XDG popup tweaks 2022-04-02 13:41:15 +02:00
vaxerski
586e2a98ed Added animated borders 2022-03-31 17:50:00 +02:00
vaxerski
3e614f2c1e Draw the drag icon 2022-03-31 17:25:23 +02:00
vaxerski
f794c91293 windows on top of fullscreen, lastmonitor fixes 2022-03-30 20:16:23 +02:00
vaxerski
5d93fdfd8f fix XDG surfaces being too XD 2022-03-24 19:14:44 +01:00
vaxerski
411a050169 didnt mean to comment that out 2022-03-23 22:38:54 +01:00
vaxerski
bcf7ee6dc2 Added basic animations for windows 2022-03-23 22:01:59 +01:00
vaxerski
2bc29f32ec finally fixed XWayland popups 2022-03-22 21:28:57 +01:00
vaxerski
90bb8e6441 minor changes 2022-03-22 20:04:39 +01:00
vaxerski
8fe1cec87c fixed floating window dragging and rendering 2022-03-22 17:14:07 +01:00
vaxerski
295a0c4a69 Added fullscreen 2022-03-21 19:18:33 +01:00
vaxerski
30ae4be181 added drag and drop functionality
barebones but functioning
2022-03-21 17:50:28 +01:00
vaxerski
546fff6aa6 fix log 2022-03-21 17:26:02 +01:00
vaxerski
51ce922ae1 properly calc layers 2022-03-21 17:00:17 +01:00
vaxerski
bcb02b9307 handle subsurfaces 2022-03-21 16:13:43 +01:00
vaxerski
0b2bf23d69 fixed multimon render again 2022-03-20 18:49:40 +01:00
vaxerski
50370e4216 added workspaces 2022-03-20 15:55:47 +01:00
vaxerski
45addfb31d arrange properly layers with no anchors 2022-03-20 14:52:23 +01:00
vaxerski
f8a731b10b focus to layers 2022-03-20 14:36:55 +01:00
vaxerski
281cb9fd04 fix floating rendering on multimon 2022-03-20 11:18:01 +01:00
vaxerski
1a298257c9 fix xwaylabnd too, stuff 2022-03-19 20:56:19 +01:00
vaxerski
cf76b90606 multimon fixes 2022-03-19 20:30:21 +01:00
vaxerski
0c88c0310e fix bars 2022-03-19 16:48:47 +01:00
vaxerski
9e735ad2f5 added borders 2022-03-19 16:13:19 +01:00
vaxerski
61e10e2048 added a layoutmanager and basic dwindle 2022-03-19 15:59:53 +01:00
vaxerski
e664b0b692 layers should work now 2022-03-19 14:37:40 +01:00
vaxerski
bc9d9c9c8d outputmgr applytest 2022-03-19 14:07:18 +01:00
vaxerski
86b6d7f938 handle layersurfaces better 2022-03-19 14:00:24 +01:00
vaxerski
d615033526 layers 2022-03-19 13:35:04 +01:00
vaxerski
625e4ce264 fixed rendering 2022-03-18 23:52:36 +01:00
vaxerski
a1a8f3b6d5 change to lists, titles etc 2022-03-18 22:35:51 +01:00
vaxerski
00098aef4f handle buttons 2022-03-18 20:42:49 +01:00
vaxerski
d086fa3faa fixes minor 2022-03-18 20:20:49 +01:00
vaxerski
a9773bd91a XWayland and moved managers 2022-03-18 20:03:39 +01:00
vaxerski
bc937e3e71 Renderer 2022-03-17 20:22:29 +01:00