
It means it can be included in places that assume cogl and everything it involves shouldn't be included, e.g. meta-renderer-native-gles3.c. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3304>
31 lines
1016 B
C
31 lines
1016 B
C
/*
|
|
* Copyright (C) 2020 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
|
|
* Copyright (C) 2023 Collabora Ltd.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef struct _MetaDrmFormatBuf
|
|
{
|
|
char s[5];
|
|
} MetaDrmFormatBuf;
|
|
|
|
const char * meta_drm_format_to_string (MetaDrmFormatBuf *tmp,
|
|
uint32_t drm_format);
|