backend/native: Move DrmFormatBuf to cogl-drm-formats

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3480>
This commit is contained in:
Bilal Elmoussaoui
2024-01-03 13:36:42 +01:00
parent 786a9d9072
commit cebde5c2d1
6 changed files with 43 additions and 45 deletions

View File

@ -23,16 +23,8 @@
#include "core/util-private.h"
typedef struct _MetaDrmFormatBuf
{
char s[5];
} MetaDrmFormatBuf;
META_EXPORT_TEST
float meta_calculate_drm_mode_refresh_rate (const drmModeModeInfo *drm_mode);
META_EXPORT_TEST
int64_t meta_calculate_drm_mode_vblank_duration_us (const drmModeModeInfo *drm_mode);
const char * meta_drm_format_to_string (MetaDrmFormatBuf *tmp,
uint32_t drm_format);