renderer: replace wlr_texture_get_matrix by wlr_render_texture

This commit is contained in:
emersion 2018-03-15 19:31:02 +01:00
parent 1914a1aa2b
commit 876f07e9f1
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
9 changed files with 34 additions and 72 deletions

View file

@ -58,11 +58,6 @@ bool wlr_texture_upload_dmabuf(struct wlr_texture *texture,
return texture->impl->upload_dmabuf(texture, dmabuf_resource);
}
void wlr_texture_get_matrix(struct wlr_texture *texture,
float mat[static 9], const float projection[static 9], int x, int y) {
texture->impl->get_matrix(texture, mat, projection, x, y);
}
void wlr_texture_get_buffer_size(struct wlr_texture *texture, struct wl_resource
*resource, int *width, int *height) {
texture->impl->get_buffer_size(texture, resource, width, height);