diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-07 08:01:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-07 08:01:32 -0400 |
commit | ab063c3936ff8dd0ee34388cbd260dccc59661df (patch) | |
tree | d7ad82aa3e5b3dbdfa494a7b7751b4dbd7c7ad9c /include/wlr/render | |
parent | f95c02eebe54785a4f64332f7e574dddff7e3669 (diff) | |
parent | d09ca20a4dccd7696423fc9f17acc88b7b3a7986 (diff) |
Merge pull request #44 from ascent12/drm
DRM plane support, refactoring, and other changes
Diffstat (limited to 'include/wlr/render')
-rw-r--r-- | include/wlr/render/matrix.h | 6 |
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 |