From cbfb7af7fd4728f993124e81f8666a2e8cee6085 Mon Sep 17 00:00:00 2001 From: Erik Reider <35975961+ErikReider@users.noreply.github.com> Date: Mon, 17 Apr 2023 23:24:48 +0200 Subject: Add kawase blur (#120) Co-authored-by: Erik Reider Co-authored-by: Will McKinnon --- include/sway/desktop/fx_renderer/fx_texture.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/sway/desktop/fx_renderer/fx_texture.h (limited to 'include/sway/desktop/fx_renderer/fx_texture.h') diff --git a/include/sway/desktop/fx_renderer/fx_texture.h b/include/sway/desktop/fx_renderer/fx_texture.h new file mode 100644 index 00000000..0c375913 --- /dev/null +++ b/include/sway/desktop/fx_renderer/fx_texture.h @@ -0,0 +1,18 @@ +#ifndef FX_TEXTURE_H +#define FX_TEXTURE_H + +#include +#include +#include + +struct fx_texture { + GLuint target; + GLuint id; + bool has_alpha; + int width; + int height; +}; + +struct fx_texture fx_texture_from_wlr_texture(struct wlr_texture* tex); + +#endif -- cgit v1.2.3