KPipewire

glhelpers.h
1/*
2 SPDX-FileCopyrightText: 2022 Aleix Pol Gonzalez <aleixpol@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#pragma once
8
9#include "pipewiresourcestream.h"
10#include <QByteArray>
11#include <epoxy/egl.h>
12#include <kpipewire_export.h>
13
14typedef unsigned int GLenum;
15
16namespace GLHelpers
17{
18
19KPIPEWIRE_EXPORT void initDebugOutput();
20KPIPEWIRE_EXPORT QByteArray formatGLError(GLenum err);
21KPIPEWIRE_EXPORT QByteArray formatEGLError(GLenum err);
22
23KPIPEWIRE_EXPORT EGLImage createImage(EGLDisplay display, const DmaBufAttributes &attribs, uint32_t format, const QSize &size, gbm_device *device);
24}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:05:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.