William McKinnon
74a7d2562d
improved performance
2024-02-25 17:15:55 -05:00
William McKinnon
e5587312a8
added animation manager
2024-02-24 22:32:13 -05:00
William McKinnon
d741e2415a
fixed focus issues
2024-02-19 14:25:36 -05:00
William McKinnon
b1c8ff5f58
cleaned up some comments + print debug statements
2024-02-07 02:20:39 -05:00
William McKinnon
9de0237b20
added back save buffer on fade out
2024-02-07 01:01:18 -05:00
William McKinnon
a3ef0be4fc
added cleanup
2024-02-06 02:03:19 -05:00
William McKinnon
30e18aae07
fixed many segfaults
2024-02-02 02:46:48 -05:00
William McKinnon
a27fa243ad
render saved buffer on fade-out
2024-02-01 01:26:49 -05:00
William McKinnon
d7cf2986fa
view_close now works as intended
2024-01-03 00:30:08 -05:00
William McKinnon
2c57e2af46
moved to fb approach, much broken
2023-12-27 10:14:24 -05:00
William McKinnon
71fa52f695
started the switch to a fb approach
2023-12-22 01:00:10 -05:00
William McKinnon
e20b8860da
blur texture fades in / out with con
2023-09-20 21:46:07 -04:00
William McKinnon
1390f9d3cf
blur texture fades in / out with con
2023-09-20 21:46:05 -04:00
William McKinnon
f119e9e9ee
add shadow fade in / out with animation
2023-09-20 21:40:53 -04:00
William McKinnon
638373120b
fixed fade-in delay
2023-09-20 21:40:53 -04:00
William McKinnon
87f33da112
added fade out
2023-09-20 21:40:53 -04:00
William McKinnon
07665971dc
fixed con kill issue
2023-09-20 21:40:53 -04:00
William McKinnon
3cb407e65c
moved animation to timer
2023-09-20 21:40:53 -04:00
William McKinnon
1c3b4a12ee
fixed animation duration of 0 bug
2023-09-20 21:40:53 -04:00
William McKinnon
e51fda46d3
initial fade-out groundwork
2023-09-20 21:40:53 -04:00
William McKinnon
6084ea42ec
fade-out skeleton
2023-09-20 21:40:53 -04:00
William McKinnon
5bfa2e030e
added animation config
2023-09-20 21:40:50 -04:00
William McKinnon
4c6826386d
optimized math of alpha_step
2023-09-20 21:40:15 -04:00
William McKinnon
2d14d1eaa4
fixed fade in for children cons
2023-09-20 21:40:15 -04:00
William McKinnon
f721ef703d
renamed container alpha vars
2023-09-20 21:40:13 -04:00
William McKinnon
3f5511d09e
ensured alpha isn't exceeded, added calculation for alpha_step from animation_duration
2023-09-20 21:38:40 -04:00
William McKinnon
b5410a123c
initial fade-in work
2023-09-20 21:38:38 -04:00
Erik Reider
d89c365106
Add layer effect option to ignore transparent regions when blurring ( #159 )
2023-09-20 21:35:49 -04:00
William McKinnon
6f6991a1b3
refactor: simplify blur ( #219 )
...
* refactor: removed surface_width + surface_height from render_blur()
* Fixed scaling issues
* Minor refactors
* removed scaled_dst box
* removed uneeded fb bind
* removed unneeded src_box
* removed unneeded wlr_fbox_from_box function
* removed src_box
* Don't scale the blur translucent region twice
* Renamed extended_damage to original_damage to reflect better what it actually is
* Removed unneeded clearing of the wlr fbo before rendering onto it
* Removed the need for our own main FBO, also fixes some damage bugs
* Simplified detection of blur on workspace
* cleaned up comments
---------
Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
2023-09-06 00:32:08 -04:00
Erik Reider
c47aa61c64
fix: not being able to build without xwayland support ( #209 )
2023-07-29 13:13:26 -04:00
Erik Reider
fade58b6be
fix: floating child always using blur xray ( #210 )
2023-07-29 13:12:21 -04:00
Yaroslav
7b7f060552
fix: crash when moving to scratchpad tiled window ( #202 )
2023-07-18 23:37:23 -04:00
Evy Garden
061dfaa2e7
Fix toplevel borders ( #171 )
...
* added check for smart
* expose gaps_to_edge
* add smart variable
2023-07-06 23:11:21 -04:00
Erik Reider
cda17aee16
Fixed blur/surfaces dst_box not being offset by the titlebar height ( #185 )
2023-07-03 18:45:26 +02:00
RAR27
edd7aa72bc
fix: crash when splitting inside stacking container ( #187 )
2023-06-07 00:22:46 -04:00
rti
3e6626d6c3
fix: consider dim introduced transparency for blur ( #184 )
...
The blur rendering logic includes the optimization to render blur only
for transparent surfaces. This patch considers surfaces as transparent
also when the transparency is only introduced by the dim color.
We can now have windows, that are opaque by default become transparent
with blurred background as soon as they loose focus.
Example configuration:
```
blur on
blur_passes 3
blur_radius 5
default_dim_inactive 0.15
dim_inactive_colors.unfocused #00000000
```
2023-06-04 15:48:19 -04:00
RAR27
6a6cf2841c
fix: crash when moving tabbed container to scratchpad ( #182 )
...
when `scratchpad_minimize` enabled
2023-06-02 20:19:25 -04:00
William McKinnon
588fca381e
default scratchpad_minimize to false and add warning
2023-06-02 18:56:43 -04:00
Erik Reider
212c51f62c
fix: update stencil if the output size changes ( #178 )
2023-06-02 18:53:41 -04:00
RAR27
22327ef300
fix: crash when splitting inside tabbed container ( #180 )
2023-06-02 18:46:39 -04:00
Erik Reider
c95306fcdf
fix: blur not being able to blur edges of damage ( #168 )
2023-05-30 00:18:58 -04:00
William McKinnon
3c2e38be03
upstream: ipc: add LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM entry
2023-05-21 00:23:40 -04:00
William McKinnon
0ca4062d6d
fix: layer old damage not being offset by the monitor layout coords
2023-05-21 00:13:31 -04:00
Erik Reider
c4a0bb268a
Fix layer surface damage not being extended if using effects ( #160 )
2023-05-20 17:21:02 -04:00
William McKinnon
d2ad352c7f
fix: maybe-uninitialized error
2023-05-20 17:03:20 -04:00
Erik Reider
415e072a3a
Add blur, shadow, and corner radius to layer-shell surfaces ( #144 )
...
Co-authored-by: Will McKinnon <contact@willmckinnon.com>
2023-05-19 21:14:06 +02:00
William McKinnon
6707842942
improved blur optimization checks
2023-05-19 13:24:37 -04:00
Erik Reider
aa6b2fcd79
Fix damage being extended after clearing the previous frame ( #158 )
...
* Fix damage being extended after clearing the previous frame
* Ensure that damage expansion only occurs if it's smaller than the monitor
2023-05-18 23:14:37 -04:00
Erik Reider
a160b2c850
Flipped the order of which the stencil add function is called ( #157 )
2023-05-18 09:47:14 -04:00
Erik Reider
acafb20b11
Move stencil into each framebuffer ( #156 )
...
* Move stencil into each framebuffer
Also fixes the stencil being added to the wrong framebuffer
* Initialize texture members on framebuffer init
* removed bind arg
* renamed init to create, changed existing create to update
* moved stencil buffer creation to new function
* removed some now misleading comments
---------
Co-authored-by: William McKinnon <contact@willmckinnon.com>
2023-05-17 19:39:48 -04:00