summaryrefslogtreecommitdiff
path: root/sway/desktop/fx_renderer/fx_framebuffer.c
AgeCommit message (Collapse)Author
2023-09-06refactor: simplify blur (#219)William McKinnon
* 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 <[email protected]>
2023-06-02fix: update stencil if the output size changes (#178)Erik Reider
2023-05-17Move stencil into each framebuffer (#156)Erik Reider
* 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 <[email protected]>
2023-04-24removed width and height parameters from fx_framebuffer_bind()Will McKinnon
2023-04-24store viewport width & height in fx_rendererWill McKinnon
2023-04-17Add kawase blur (#120)Erik Reider
Co-authored-by: Erik Reider <[email protected]> Co-authored-by: Will McKinnon <[email protected]>