render/pixman: implement preferred_read_format

This commit is contained in:
Simon Zeni 2021-04-26 16:58:01 -04:00 committed by Simon Ser
parent 0411dc0663
commit 30706b71fb
3 changed files with 24 additions and 0 deletions

View file

@ -46,6 +46,7 @@ struct wlr_pixman_texture {
};
pixman_format_code_t get_pixman_format_from_drm(uint32_t fmt);
uint32_t get_drm_format_from_pixman(pixman_format_code_t fmt);
const uint32_t *get_pixman_drm_formats(size_t *len);
#endif