aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/matrix.h
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-08-06 21:38:40 +1200
committerScott Anderson <ascent12@hotmail.com>2017-08-06 21:38:40 +1200
commit1db97a9af906524b577e5f1a4f842e18a0a942a4 (patch)
tree8b6bc2ed6b43d6aabbd433a33c7901c333b71a04 /include/wlr/render/matrix.h
parentaedfa27d3a213dd9cf53ed3351874b34ff0de119 (diff)
Updated DRM cursor rendering
Diffstat (limited to 'include/wlr/render/matrix.h')
-rw-r--r--include/wlr/render/matrix.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/wlr/render/matrix.h b/include/wlr/render/matrix.h
index 954207da..be6a947d 100644
--- a/include/wlr/render/matrix.h
+++ b/include/wlr/render/matrix.h
@@ -1,10 +1,16 @@
#ifndef _WLR_RENDER_MATRIX_H
#define _WLR_RENDER_MATRIX_H
+#include <stdint.h>
+
void wlr_matrix_identity(float (*output)[16]);
void wlr_matrix_translate(float (*output)[16], float x, float y, float z);
void wlr_matrix_scale(float (*output)[16], float x, float y, float z);
void wlr_matrix_rotate(float (*output)[16], float radians);
void wlr_matrix_mul(const float (*x)[16], const float (*y)[16], float (*product)[16]);
+enum wl_output_transform;
+void wlr_matrix_surface(float mat[static 16], int32_t width, int32_t height,
+ enum wl_output_transform transform);
+
#endif