Commit graph

19 commits

Author SHA1 Message Date
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 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 26271ef865 refactor: move shaders to individual files 2022-11-10 01:52:04 -05: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 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
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
William McKinnon cf1ed777ae
Add official fx renderer (#3) 2022-08-13 02:14:23 -04:00