swayfx/include/sway/desktop/fx_renderer
William McKinnon 6f6991a1b3
refactor: simplify blur (#219)
* refactor: removed surface_width + surface_height from render_blur()

* Fixed scaling issues

* Minor refactors

* removed scaled_dst box

* removed uneeded fb bind

* removed unneeded src_box

* removed unneeded wlr_fbox_from_box function

* removed src_box

* Don't scale the blur translucent region twice

* Renamed extended_damage to original_damage to reflect better what it actually is

* Removed unneeded clearing of the wlr fbo before rendering onto it

* Removed the need for our own main FBO, also fixes some damage bugs

* Simplified detection of blur on workspace

* cleaned up comments

---------

Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
2023-09-06 00:32:08 -04:00
..
fx_framebuffer.h fix: update stencil if the output size changes (#178) 2023-06-02 18:53:41 -04:00
fx_renderer.h refactor: simplify blur (#219) 2023-09-06 00:32:08 -04:00
fx_stencilbuffer.h fix: update stencil if the output size changes (#178) 2023-06-02 18:53:41 -04:00
fx_texture.h fix: update stencil if the output size changes (#178) 2023-06-02 18:53:41 -04:00
matrix.h structure: moved fx_renderer and related fuctions to a folder 2023-04-06 20:30:42 -04:00