aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-04-26 16:58:01 -0400
committerSimon Ser <contact@emersion.fr>2021-04-27 18:28:41 +0200
commit30706b71fbdefa9e23c637dd1a5e85306817211c (patch)
tree8615ab3298d15428ab1d60adb641ebf43f59192f /include/render
parent0411dc0663ac59d5cddec71bd830597f3e0a7863 (diff)
render/pixman: implement preferred_read_format
Diffstat (limited to 'include/render')
-rw-r--r--include/render/pixman.h1
1 files changed, 1 insertions, 0 deletions
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