render: remove wlr_renderer_format_supported

Instead, callers can just use wlr_renderer_get_formats and iterate over
the list.

This function was unused in wlroots.
This commit is contained in:
Simon Ser 2020-11-18 13:58:58 +01:00
parent c15ca3793e
commit 61612ecb36
4 changed files with 0 additions and 19 deletions

View file

@ -120,11 +120,6 @@ bool wlr_renderer_read_pixels(struct wlr_renderer *r, enum wl_shm_format fmt,
*/
bool wlr_renderer_blit_dmabuf(struct wlr_renderer *r,
struct wlr_dmabuf_attributes *dst, struct wlr_dmabuf_attributes *src);
/**
* Checks if a format is supported.
*/
bool wlr_renderer_format_supported(struct wlr_renderer *r,
enum wl_shm_format fmt);
/**
* Creates necessary shm and invokes the initialization of the implementation.
*