aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-12-14 14:43:04 -0500
committerGitHub <noreply@github.com>2017-12-14 14:43:04 -0500
commit23fb663ea4eaff436d9bfab7f74cdd298fac44c5 (patch)
treef84e20d4af2a4111b0026679e853f6f55f9ddb4f /include/wlr/render
parent46ac8e1243d3d32c656b09e641f8e9732035f635 (diff)
parent466e86b7b2cbefa55ad5b85a97ee8257c24cb81b (diff)
Merge pull request #453 from emersion/surface-transform
Add surface transforms support
Diffstat (limited to 'include/wlr/render')
-rw-r--r--include/wlr/render/matrix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/render/matrix.h b/include/wlr/render/matrix.h
index 177af4b3..0b35aad3 100644
--- a/include/wlr/render/matrix.h
+++ b/include/wlr/render/matrix.h
@@ -10,6 +10,8 @@ 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_transform(float mat[static 16],
+ enum wl_output_transform transform);
void wlr_matrix_texture(float mat[static 16], int32_t width, int32_t height,
enum wl_output_transform transform);