From 30706b71fbdefa9e23c637dd1a5e85306817211c Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Mon, 26 Apr 2021 16:58:01 -0400 Subject: render/pixman: implement preferred_read_format --- include/render/pixman.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/render') diff --git a/include/render/pixman.h b/include/render/pixman.h index dd2d768b..8967f66f 100644 --- a/include/render/pixman.h +++ b/include/render/pixman.h @@ -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 -- cgit v1.2.3