Erik Reider
373c8c2b40
Fix stencil buffer not resizing
2023-01-01 18:23:44 -05:00
Erik Reider
ada90917d4
Moved stencil logic into fx_renderer.c
2023-01-01 18:23:44 -05:00
Erik Reider
f498e62b53
Fixed box shadow not using outer corner radii
2023-01-01 18:23:44 -05:00
Erik Reider
cb80e0520d
Added stencil masking
2023-01-01 18:23:44 -05:00
Will McKinnon
efe11bd37f
small refactor + better damage tracking
2023-01-01 18:23:44 -05:00
Erik Reider
fbe784c8e3
Fixed shadow alpha blending
2023-01-01 18:23:44 -05:00
Erik Reider
4343aeafcf
rebase
2023-01-01 18:23:39 -05:00
Will McKinnon
f2822ab5d5
fixed shadow shader
2023-01-01 18:21:17 -05:00
Will McKinnon
7b03b95223
test
2023-01-01 18:21:17 -05:00
Will McKinnon
c9362e8dcb
rebase
2023-01-01 18:20:56 -05:00
Will McKinnon
a6f60eeb31
feat: avoid rounding corners when there are no gaps
2022-12-28 15:20:11 -05:00
Will McKinnon
768be91e09
revert: temp removed smart gaps support due to bug
2022-12-25 13:40:07 -05:00
Will McKinnon
2342ded880
fix: only round top titlebar in stacked layout
2022-12-24 01:33:47 -05:00
Will McKinnon
c0d490e3cb
refactor: deduplicate vertex shaders
2022-12-11 14:59:11 -05:00
Erik Reider
2f3e039029
Fixed dim_inactive default value being set to 1.0f ( #69 )
2022-12-09 09:14:20 -05:00
Erik Reider
988fb24710
[Feature] Dim inactive windows ( #66 )
2022-12-07 00:10:11 -05:00
Will McKinnon
e82e4de37f
fix: titlebars on containers with smart_gaps on and a large corner_radius now render as expected
2022-11-30 20:22:39 -05:00
William McKinnon
cf5a188aa9
feat: rounded_corners support smart_gaps ( #62 )
2022-11-23 23:59:47 -05:00
William McKinnon
6951b8e493
render refactor: implement decoration_data struct ( #61 )
2022-11-23 23:37:35 -05:00
Will McKinnon
8339a07f45
fix: delete all shaders on fx_renderer create failure
2022-11-18 20:00:52 -05:00
Will McKinnon
5e066dfc3c
fix: saturation applies to popups
2022-11-18 01:22:13 -05:00
Erik Reider
c82adeb7c0
Add EGL as sway dependency ( #33 )
2022-11-12 09:04:29 -05:00
Will McKinnon
6ef904a960
style: shader style fixes
2022-11-11 21:28:32 -05:00
Will McKinnon
1a9f17054d
feat: added support for external textures
2022-11-11 21:24:42 -05:00
Will McKinnon
6ca742d4f2
feat: render tiling move indicator with round corners
2022-11-11 20:05:17 -05:00
Erik Reider
1881b01d3f
Per application color saturation support ( #21 )
...
* Initial implementation without fullscreen support
* Limit saturation to 2
* Fixed saturation not working for fullscreen applications like CSGO
* Fixed saturation ignoring border radius
* Updated README and sway.5 man page
* Rebased from Master
* Added command to README
* Fixed nitpicks
2022-11-11 19:38:09 -05:00
William McKinnon
1930bd0d71
feat: add round titlebars ( #26 )
2022-11-11 01:19:02 -05:00
Will McKinnon
9ee7fa61af
style: moved corner radius scaling out of fx call
2022-11-10 02:16:15 -05:00
Will McKinnon
26271ef865
refactor: move shaders to individual files
2022-11-10 01:52:04 -05:00
Will McKinnon
78ac402053
bug: fix label build failure
2022-11-01 18:31:01 -04:00
Will McKinnon
eddbde479c
style: cleaned up some frag shaders
2022-10-26 02:48:49 -04:00
Will McKinnon
e6cb4e9fa0
fix: corner borders no longer render when borders are off
2022-10-26 01:12:57 -04:00
Will McKinnon
55f8222855
refactor: improved rounded corner shader
2022-10-26 00:25:33 -04:00
Will McKinnon
ab5e65e050
refactor: move corner_radius to container struct
2022-10-21 00:44:03 -04:00
Will McKinnon
f27ee32bd8
style: cleaned up comments
2022-10-20 21:18:25 -04:00
Will McKinnon
734dda8ffc
style: cleaned up corner rendering function
2022-10-20 21:07:42 -04:00
Will McKinnon
61da2ef3b3
refactor: moved frag shader init to func
2022-10-15 13:37:48 -04:00
William McKinnon
90a80e7041
feat: add round borders ( #22 )
...
Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
2022-10-09 11:47:34 -04:00
William McKinnon
c1f4cf17db
Add Anti-Aliased Corner Radius ( #18 )
2022-08-29 18:25:11 -04:00
Will McKinnon
3b287a73b9
moved shaders to header
2022-08-25 00:27:14 -04:00
Will McKinnon
bdbd2512a8
added corner_radius documentation
2022-08-21 17:28:59 -04:00
William McKinnon
5c0086b944
Add rounded corners ( #9 )
2022-08-21 17:12:54 -04:00
William McKinnon
c5d08f6085
Render rect with fx_renderer ( #14 )
...
* initial fx_render_rect work
* fixed rect rendering
2022-08-21 16:30:00 -04:00
Will McKinnon
7b530bf448
Revert "merge sway master"
...
This reverts commit 7460d9f565
.
2022-08-15 00:54:07 -04:00
William McKinnon
cf1ed777ae
Add official fx renderer ( #3 )
2022-08-13 02:14:23 -04:00
William McKinnon
7460d9f565
merge sway master
2022-04-27 17:33:23 -04:00
William McKinnon
4660771f6a
Merge pull request #1 from swaywm/v1.7
...
V1.7
2022-04-26 21:44:51 -04:00
Ronan Pigott
3a65ad427a
cmd/swap: error on swapping a container with itself
...
(cherry picked from commit feea4b44108cf971ff8d1d474a75128dd737c1db)
2022-01-22 23:37:16 +01:00
Rouven Czerwinski
0adcf77f3f
transaction: destroying nodes aren't hidden
...
Commit 37d7bc6998
("transaction: Only wait for ack from visible
views") introduced a check which uses view_is_visible() to check if a view
is still visible on the screen. However view_is_visible() will early
return in case the node is in the destroying state. This is incorrect
for transactions, since a destroying view which is visible will trigger
configure events for other clients. This bug was visible when repeatedly
opening and closing two views side by side, since we ignore the
destroying node we get a frame where the still open view is shown with
the old configure values and the rest is the desktop background. The
next frame is than correct again.
Fix this by considering destroying views as visible, we correctly wait
for them and send the configure events to other views in time, fixing
the background flicker.
Fixes #6473
(cherry picked from commit e4909ab4a3514d9b3bfb01473cd3cd1704c8cd05)
2022-01-21 13:13:16 +01:00
Patrick Hilhorst
cd1a0aa293
treat fullscreen windows as 'tiled' for commands/focus
...
(cherry picked from commit b2ee964434b25a0ccbccb1486b027f69ef34acff)
2022-01-21 13:13:16 +01:00