Move render/shm_format functions to render/pixel_format

This commit is contained in:
Simon Zeni 2021-03-15 12:35:47 -04:00 committed by Simon Ser
parent 5fd82c6f54
commit 50d2985607
8 changed files with 28 additions and 37 deletions

View file

@ -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

View file

@ -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