From 1914a1aa2b4f3c5678bbbf7d734352a6f51bec58 Mon Sep 17 00:00:00 2001 From: emersion Date: Thu, 15 Mar 2018 18:35:22 +0100 Subject: surface: drop wlr_surface_get_matrix --- include/wlr/types/wlr_surface.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index 2bfd1bc9..5c5b012f 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -100,20 +100,6 @@ struct wlr_renderer; struct wlr_surface *wlr_surface_create(struct wl_resource *res, struct wlr_renderer *renderer); -/** - * Gets a matrix you can pass into wlr_render_with_matrix to display this - * surface. `matrix` is the output matrix, `projection` is the wlr_output - * projection matrix, and `transform` is any additional transformations you want - * to perform on the surface (or NULL/the identity matrix if you don't). - * `transform` is used before the surface is scaled, so its geometry extends - * from 0 to 1 in both dimensions. - */ -void wlr_surface_get_matrix(struct wlr_surface *surface, - float mat[static 9], - const float projection[static 9], - const float transform[static 9]); - - /** * Set the lifetime role for this surface. Returns 0 on success or -1 if the * role cannot be set. -- cgit v1.2.3