Commit graph

7030 commits

Author SHA1 Message Date
William McKinnon
30bd277a2e updated branding 2023-07-23 23:01:00 -04:00
Erik Reider
12f40a396b Fixed blur/surfaces dst_box not being offset by the titlebar height (#185) 2023-07-23 23:01:00 -04:00
RAR27
20a4be295e fix: crash when splitting inside stacking container (#187) 2023-07-23 23:01:00 -04:00
rti
8f0b76ac72 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-07-23 23:01:00 -04:00
RAR27
8a83db8edd fix: crash when moving tabbed container to scratchpad (#182)
when `scratchpad_minimize` enabled
2023-07-23 23:01:00 -04:00
William McKinnon
ba8da50fe0 ver: bump to 0.3.1 2023-07-23 23:01:00 -04:00
William McKinnon
9e00c176c5 added layer namespace information 2023-07-23 23:01:00 -04:00
William McKinnon
eb94643f03 default scratchpad_minimize to false and add warning 2023-07-23 23:01:00 -04:00
Erik Reider
141be09611 fix: update stencil if the output size changes (#178) 2023-07-23 23:01:00 -04:00
RAR27
44312080f4 fix: crash when splitting inside tabbed container (#180) 2023-07-23 23:01:00 -04:00
Erik Reider
b24f012edf fix: blur not being able to blur edges of damage (#168) 2023-07-23 23:01:00 -04:00
William McKinnon
27039feedd Update README.md 2023-07-23 23:01:00 -04:00
William McKinnon
868c995ee5 added blur-xray explanation 2023-07-23 23:01:00 -04:00
Ricardo Steijn
4ba271e2ce flake: remove libinput patch (#163)
This was backported to SwayFX in 3c2e38b
2023-07-23 23:01:00 -04:00
William McKinnon
527ecb056a upstream: ipc: add LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM entry 2023-07-23 23:01:00 -04:00
William McKinnon
e0907376fc fix: layer old damage not being offset by the monitor layout coords 2023-07-23 23:01:00 -04:00
William McKinnon
085f37d6d1 bump version to 0.3 2023-07-23 23:01:00 -04:00
William McKinnon
8cce675a08 updated README to reflect 0.3 2023-07-23 23:01:00 -04:00
Erik Reider
f2b5518196 Fix layer surface damage not being extended if using effects (#160) 2023-07-23 23:01:00 -04:00
William McKinnon
62b22d757d fix: maybe-uninitialized error 2023-07-23 23:01:00 -04:00
Erik Reider
9f4f88b0cd Add blur, shadow, and corner radius to layer-shell surfaces (#144)
Co-authored-by: Will McKinnon <contact@willmckinnon.com>
2023-07-23 23:01:00 -04:00
William McKinnon
e469583b0d improved blur optimization checks 2023-07-23 23:01:00 -04:00
William McKinnon
2054450dd2 add link to fedora copr package, remove extra lines about discord server 2023-07-23 23:01:00 -04:00
Erik Reider
6b94df785b 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-07-23 23:01:00 -04:00
Erik Reider
61f208e414 Flipped the order of which the stencil add function is called (#157) 2023-07-23 23:01:00 -04:00
Erik Reider
177c631ced 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-07-23 23:01:00 -04:00
William McKinnon
5e503231ac removed stdint import 2023-05-15 01:20:27 -04:00
William McKinnon
00213d548a Merge remote-tracking branch 'origin/master' into blur_simplify 2023-05-15 01:13:03 -04:00
William McKinnon
479cc4e745 style: simplified render_whole_output 2023-05-15 01:11:09 -04:00
William McKinnon
f94e24709f ensure damage doesnt expand beyond output size 2023-05-14 21:04:17 -04:00
William McKinnon
e6d1ee8b4d moved blur damage to damage_surface_iterator 2023-05-14 21:03:58 -04:00
William McKinnon
690f5c37ff moved extended damage to the top of output_render 2023-05-14 18:21:15 -04:00
William McKinnon
13d368544d moved initial damage expansion to output.c 2023-05-12 12:18:42 -04:00
William McKinnon
b8c668bb44 removed unneeded conditional 2023-05-12 12:15:48 -04:00
Erik Reider
74ee0b7d26 Fixed damage highlight not clearing correct framebuffer 2023-05-10 12:28:57 +02:00
Erik Reider
57b2e2f90a Fixed blur artifacting 2023-05-10 12:11:24 +02:00
William McKinnon
e0415f15bf moved get_blur_size back to original spot (reduce diff size) 2023-05-10 01:34:18 -04:00
William McKinnon
58fd78f389 returned extended damage 2023-05-10 01:32:37 -04:00
William McKinnon
e065838dd9 removed uneeded parameter from get_main_buffer_blur 2023-05-10 00:27:06 -04:00
William McKinnon
2b286dfe8f added back region expansion 2023-05-07 12:42:09 -04:00
William McKinnon
139c33f7c5 renamed ws iterator function 2023-05-07 00:54:19 -04:00
William McKinnon
00694dd059 moved workspace optimized check function to workspace.c 2023-05-07 00:51:03 -04:00
William McKinnon
171e6c59b1 removed unneeded damage scale 2023-05-07 00:19:24 -04:00
William McKinnon
c0d72c357b cleaned up render_output 2023-05-07 00:19:24 -04:00
William McKinnon
88a41baa30 removed extraneous fx_renderer_scissor 2023-05-07 00:19:24 -04:00
William McKinnon
f7851c21ae moved damage expansion to output.c 2023-05-07 00:19:24 -04:00
William McKinnon
434f3ddfce simplified optimized blur check 2023-05-07 00:19:24 -04:00
William McKinnon
1dff31248b removed has_blur 2023-05-07 00:19:24 -04:00
William McKinnon
621906481a suplified conditional in find_con_effect_iterator 2023-05-07 00:19:24 -04:00
William McKinnon
6e53c04abf
fix: shadow clipping & shadow corners (#153) 2023-05-05 16:07:50 -04:00