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
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
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
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
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
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
Will McKinnon
74e7012b21
fix: smart_corners with shadow and titlebars
2023-04-30 14:51:04 -04:00
Will McKinnon
d86e349290
fix: blurred region is rounded below titlebars
2023-04-30 14:03:51 -04:00
Erik Reider
5366c49b56
Fix: rotated outputs ( #112 )
2023-04-27 18:50:36 -04:00
Will McKinnon
3d1b294cc0
removed width and height parameters from fx_framebuffer_bind()
2023-04-24 00:53:55 -04:00
Will McKinnon
b61041980f
store viewport width & height in fx_renderer
2023-04-24 00:11:55 -04:00
Erik Reider
50e2422e74
Only offset view by border size if not fullscreen ( #145 )
2023-04-21 03:00:38 -04:00
William McKinnon
3f00052a90
fixed shadow corner_radius scaling
2023-04-18 19:04:00 -04:00
Will McKinnon
7e302de4c2
fix: redefinition of state
2023-04-17 17:42:14 -04:00
Erik Reider
cbfb7af7fd
Add kawase blur ( #120 )
...
Co-authored-by: Erik Reider <erik.reider@protonmail.com>
Co-authored-by: Will McKinnon <contact@willmckinnon.com>
2023-04-17 23:24:48 +02:00
Will McKinnon
7d774f769c
style: moved border_thickness out of render_shadow
2023-04-15 19:55:47 -04:00
Will McKinnon
8d3b7e13df
style: .dim_color spacing
2023-04-15 13:44:56 -04:00
Will McKinnon
f74c0fedb2
minor shadow optimization
2023-04-07 00:26:23 -04:00
Will McKinnon
420364dd19
structure: moved fx_renderer and related fuctions to a folder
2023-04-06 20:30:42 -04:00
Will McKinnon
c24fccd45c
style: moved damage creation to function
2023-04-04 09:58:41 -04:00
Will McKinnon
9a0d2899a2
fix: removed duplicate session_lock logic
2023-03-18 01:58:15 -04:00
head-gardener
ac31a61216
feature: hide separator between titlebar and content ( #91 )
2023-03-12 03:20:50 -04:00
William McKinnon
4222b98a39
feat: tabbed layout now only rounds outer titlebar corners ( #90 )
2023-02-20 22:10:01 -05:00
Will McKinnon
e9781805a7
fix: shadow alignment
2023-02-18 18:51:58 -05:00
famfo
9f20a52638
Implement for_window support for dim_inactive ( #109 )
...
* Implement for_window support for dim_inactive
* Update file names, add check if the container is null, add docs
* Fix typo
* Update meson.build
* Update commands.c
* Update render.c
* Update container.c
* Update render.c
* Update container.h
2023-02-14 20:19:02 -05:00
Erik Reider
e78fc3364b
upstream update: merge sway 1.8.1 ( #111 )
2023-02-14 10:51:29 -05:00
Erik Reider
3efd3b558f
Add option for enabling shadows for CSD windows ( #106 )
...
* Add option for enabling shadows for CSD windows
* Disable drawing borders when CSD and shadows csd is enabled
2023-02-01 01:13:04 +01:00
rti
9345749a90
fix: no dim on parent select in tabbed and stacked ( #107 )
2023-01-26 23:33:04 -05:00
Erik Reider
8f8a5c0492
Use view dimensions for windows instead of surface dimensions ( #94 )
2023-01-24 19:52:55 +01:00
Will McKinnon
dd67fdb6c3
fix: don't round view popup corners
2023-01-23 02:35:46 -05:00
rti
9e6901264b
feat: smart smart_corner_radius ( #101 )
2023-01-19 17:33:56 -05:00