From 50d2985607ced55e6e860ffd682a65b9a664192b Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Mon, 15 Mar 2021 12:35:47 -0400 Subject: Move render/shm_format functions to render/pixel_format --- include/render/pixel_format.h | 3 +++ include/render/shm_format.h | 9 --------- 2 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 include/render/shm_format.h (limited to 'include') 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 diff --git a/include/render/shm_format.h b/include/render/shm_format.h deleted file mode 100644 index bf6c8679..00000000 --- a/include/render/shm_format.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifndef RENDER_SHM_FORMAT_H -#define RENDER_SHM_FORMAT_H - -#include - -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 -- cgit v1.2.3