aboutsummaryrefslogtreecommitdiff
path: root/include/render/pixel_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/render/pixel_format.h')
-rw-r--r--include/render/pixel_format.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/render/pixel_format.h b/include/render/pixel_format.h
index 8814bd82..471fa106 100644
--- a/include/render/pixel_format.h
+++ b/include/render/pixel_format.h
@@ -20,4 +20,7 @@ struct wlr_pixel_format_info {
const struct wlr_pixel_format_info *drm_get_pixel_format_info(uint32_t fmt);
+uint32_t convert_wl_shm_format_to_drm(enum wl_shm_format fmt);
+enum wl_shm_format convert_drm_format_to_wl_shm(uint32_t fmt);
+
#endif