diff options
author | Will McKinnon <[email protected]> | 2023-04-06 18:49:51 -0400 |
---|---|---|
committer | Will McKinnon <[email protected]> | 2023-04-06 20:30:42 -0400 |
commit | 420364dd191fa3c22370bbaa34f178b07bcb8318 (patch) | |
tree | bf7e3bcb7a0835e0c16901a3b800c7f218607d53 /include | |
parent | c24fccd45c4bc69c968a09ae5b953672a29bac12 (diff) |
structure: moved fx_renderer and related fuctions to a folder
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/desktop/fx_renderer/fx_renderer.h (renamed from include/sway/desktop/fx_renderer.h) | 0 | ||||
-rw-r--r-- | include/sway/desktop/fx_renderer/matrix.h | 9 | ||||
-rw-r--r-- | include/sway/output.h | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/include/sway/desktop/fx_renderer.h b/include/sway/desktop/fx_renderer/fx_renderer.h index a48a00e1..a48a00e1 100644 --- a/include/sway/desktop/fx_renderer.h +++ b/include/sway/desktop/fx_renderer/fx_renderer.h diff --git a/include/sway/desktop/fx_renderer/matrix.h b/include/sway/desktop/fx_renderer/matrix.h new file mode 100644 index 00000000..6931e8d2 --- /dev/null +++ b/include/sway/desktop/fx_renderer/matrix.h @@ -0,0 +1,9 @@ +#ifndef _MATRIX_H +#define _MATRIX_H + +#include <wlr/types/wlr_output.h> + +void matrix_projection(float mat[static 9], int width, int height, + enum wl_output_transform transform); + +#endif diff --git a/include/sway/output.h b/include/sway/output.h index 2d702741..a6bec10a 100644 --- a/include/sway/output.h +++ b/include/sway/output.h @@ -6,7 +6,7 @@ #include <wlr/types/wlr_damage_ring.h> #include <wlr/types/wlr_output.h> #include "config.h" -#include "sway/desktop/fx_renderer.h" +#include "sway/desktop/fx_renderer/fx_renderer.h" #include "sway/tree/node.h" #include "sway/tree/view.h" |