From 7f0883b383b73af7bc68dcf8c2ee845c5eab5807 Mon Sep 17 00:00:00 2001 From: Erik Reider <35975961+ErikReider@users.noreply.github.com> Date: Tue, 27 Feb 2024 18:05:58 +0100 Subject: [FX Renderer] Add blur (#30) * Initial blur implementation * Added additional blur effects from SwayFX * Simplified blur pass functions to match the other pass functions * Minor fixes * Added support for optimized blur * tinywl: Don't set decoration values every frame * Updated public blur function docs * Simplified blur buffer management * Moved ignore transparent bool into a per buffer option * Clip the scene_buffer when blur is enabled * Added back corner and shadow checks in opaque_region function * Renamed fx_render_blur_options to fx_render_blur_pass_options * Fixed nits * Removed unused fx_framebuffer_bind_wlr_fbo function * Removed wlr_scene impl. Should be moved into future PR instead * Made blur impl independent of wlr_scene * Moved shader init back into fx_renderer.c * Renamed fx_framebuffer_get_or_create_bufferless to fx_framebuffer_get_or_create_custom --- types/fx/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'types/fx/meson.build') diff --git a/types/fx/meson.build b/types/fx/meson.build index b7f0207..2170f35 100644 --- a/types/fx/meson.build +++ b/types/fx/meson.build @@ -1,3 +1,4 @@ wlr_files += files( - 'shadow_data.c' + 'shadow_data.c', + 'blur_data.c', ) -- cgit v1.2.3