Erik Reider
be1d93b2cd
Simplified detection of blur on workspace
2023-08-12 14:45:43 +02:00
Erik Reider
657da122ab
Removed the need for our own main FBO, also fixes some damage bugs
2023-08-10 21:18:47 +02:00
Erik Reider
cf463ee9a3
Removed unneeded clearing of the wlr fbo before rendering onto it
2023-08-01 19:35:03 +02:00
Erik Reider
8962d460d6
Renamed extended_damage to original_damage to reflect better what it actually is
2023-08-01 19:29:10 +02:00
Erik Reider
4cf404c189
Don't scale the blur translucent region twice
2023-08-01 15:07:13 +02:00
Erik Reider
be750ae707
Merge branch 'master' into render_blur_cleanup
2023-08-01 15:06:40 +02: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
William McKinnon
5ffa10eede
moved more into fx_renderer
2023-07-26 01:02:03 -04:00
William McKinnon
51fde22616
moved fx_framebuffer binds to fx_renderer
2023-07-26 00:25:23 -04:00
Erik Reider
da8c83d803
Fixed blur not switching FB
2023-07-26 00:25:46 +02:00
William McKinnon
a5a38efc00
moved more to fx_renderer
2023-07-25 17:55:43 -04:00
William McKinnon
0e4a8d0c00
restructured blur pipeline into fx_renderer
2023-07-25 17:54:29 -04:00
William McKinnon
2ed02c90a8
removed src_box
2023-07-23 23:40:09 -04:00
William McKinnon
b03ca3b50d
removed unneeded wlr_fbox_from_box function
2023-07-23 23:29:17 -04:00
William McKinnon
e9f14c748c
removed unneeded src_box
2023-07-23 23:25:38 -04:00
William McKinnon
27e7a9b4ff
Merge remote-tracking branch 'origin' into render_blur_cleanup
2023-07-23 23:03:01 -04:00
Yaroslav
7b7f060552
fix: crash when moving to scratchpad tiled window ( #202 )
2023-07-18 23:37:23 -04:00
William McKinnon
27f1bf4e75
removed uneeded fb bind
2023-07-18 23:27:39 -04:00
William McKinnon
4cc7ca6ff1
Merge remote-tracking branch 'origin' into render_blur_cleanup
2023-07-18 23:14:58 -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
William McKinnon
c1a1d80764
removed scaled_dst box
2023-06-05 20:35:20 -04:00
Erik Reider
abd42739a0
Minor refactors
2023-06-05 17:42:54 +02:00
Erik Reider
76b94341ed
Fixed scaling issues
2023-06-05 16:44:01 +02:00
Erik Reider
2fe9f2336f
Merge branch 'master' into render_blur_cleanup
2023-06-05 16:41:46 +02: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
William McKinnon
54bb0d154f
refactor: removed surface_width + surface_height from render_blur()
2023-06-02 18:39:55 -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
William McKinnon
2c4fe20456
Blur damage tracking simplification ( #155 )
...
* suplified conditional in find_con_effect_iterator
* removed has_blur
* simplified optimized blur check
* moved damage expansion to output.c
* removed extraneous fx_renderer_scissor
* cleaned up render_output
* removed unneeded damage scale
* moved workspace optimized check function to workspace.c
* renamed ws iterator function
* added back region expansion
* removed uneeded parameter from get_main_buffer_blur
* returned extended damage
* moved get_blur_size back to original spot (reduce diff size)
* Fixed blur artifacting
* Fixed damage highlight not clearing correct framebuffer
* removed unneeded conditional
* moved initial damage expansion to output.c
* moved extended damage to the top of output_render
* moved blur damage to damage_surface_iterator
* ensure damage doesnt expand beyond output size
* removed stdint import
---------
Co-authored-by: Erik Reider <ereider20010103@gmail.com>
2023-05-16 02:26:01 -04:00
William McKinnon
479cc4e745
style: simplified render_whole_output
2023-05-15 01:11:09 -04:00
William McKinnon
6e53c04abf
fix: shadow clipping & shadow corners ( #153 )
2023-05-05 16:07:50 -04:00
Will McKinnon
74e7012b21
fix: smart_corners with shadow and titlebars
2023-04-30 14:51:04 -04:00
Will McKinnon
15db638ccb
improved stenciling region
2023-04-30 14:06:57 -04:00
Will McKinnon
d86e349290
fix: blurred region is rounded below titlebars
2023-04-30 14:03:51 -04:00
Will McKinnon
ace9a222b8
style: created struct for each shader type
2023-04-30 13:35:01 -04:00