|
|
@ -1,7 +1,6 @@
|
|
|
|
#ifndef WLR_TYPES_WLR_MATRIX_H
|
|
|
|
#ifndef WLR_TYPES_WLR_MATRIX_H
|
|
|
|
#define WLR_TYPES_WLR_MATRIX_H
|
|
|
|
#define WLR_TYPES_WLR_MATRIX_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include <wayland-server.h>
|
|
|
|
#include <wayland-server.h>
|
|
|
|
#include <wlr/types/wlr_box.h>
|
|
|
|
#include <wlr/types/wlr_box.h>
|
|
|
|
|
|
|
|
|
|
|
@ -13,8 +12,7 @@ void wlr_matrix_multiply(float mat[static 9], const float a[static 9],
|
|
|
|
const float b[static 9]);
|
|
|
|
const float b[static 9]);
|
|
|
|
void wlr_matrix_transform(float mat[static 9],
|
|
|
|
void wlr_matrix_transform(float mat[static 9],
|
|
|
|
enum wl_output_transform transform);
|
|
|
|
enum wl_output_transform transform);
|
|
|
|
|
|
|
|
void wlr_matrix_projection(float mat[static 9], int width, int height,
|
|
|
|
void wlr_matrix_texture(float mat[static 9], int32_t width, int32_t height,
|
|
|
|
|
|
|
|
enum wl_output_transform transform);
|
|
|
|
enum wl_output_transform transform);
|
|
|
|
void wlr_matrix_project_box(float mat[static 9], const struct wlr_box *box,
|
|
|
|
void wlr_matrix_project_box(float mat[static 9], const struct wlr_box *box,
|
|
|
|
enum wl_output_transform transform, float rotation,
|
|
|
|
enum wl_output_transform transform, float rotation,
|
|
|
|