diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-08-14 13:54:57 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-08-15 07:36:51 -0400 |
commit | e46ec57b43054705a6ff649ba358c5d14cccbca5 (patch) | |
tree | 24c3aef8f63e573e3d5520a961ebcc06242852ef /include | |
parent | b49650b5552d4323a23a1662761d87bb084421a4 (diff) |
implement surface sizing
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_surface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index 60d8b2f6..d3104741 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -53,5 +53,7 @@ struct wlr_renderer; struct wlr_surface *wlr_surface_create(struct wl_resource *res, struct wlr_renderer *renderer); void wlr_surface_flush_damage(struct wlr_surface *surface); +void wlr_surface_get_matrix(struct wlr_surface *surface, float (*matrix)[16], + const float (*projection)[16], int x, int y); #endif |