aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/render/pixel_format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/render/pixel_format.h b/include/render/pixel_format.h
index 471fa106..f5b67d03 100644
--- a/include/render/pixel_format.h
+++ b/include/render/pixel_format.h
@@ -19,6 +19,8 @@ struct wlr_pixel_format_info {
};
const struct wlr_pixel_format_info *drm_get_pixel_format_info(uint32_t fmt);
+bool pixel_format_info_check_stride(const struct wlr_pixel_format_info *info,
+ int32_t stride, int32_t width);
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);