diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-03-15 12:35:47 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-03-25 10:55:54 +0100 |
commit | 50d2985607ced55e6e860ffd682a65b9a664192b (patch) | |
tree | 7935e6f28c3a6b08bd5eeb208ebe7f5dfcd617b5 /include/render | |
parent | 5fd82c6f54685e6bdc354b4f639bdfc52539e12f (diff) |
Move render/shm_format functions to render/pixel_format
Diffstat (limited to 'include/render')
-rw-r--r-- | include/render/pixel_format.h | 3 | ||||
-rw-r--r-- | include/render/shm_format.h | 9 |
2 files changed, 3 insertions, 9 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 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 <wayland-server-protocol.h> - -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 |