QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstEglHelpers.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtCore/qglobal.h>
4
5#if defined(QGC_HAS_GST_DMABUF_GPU_PATH) || defined(QGC_HAS_GST_AHARDWAREBUFFER_GPU_PATH)
6
7#include <EGL/egl.h>
8
9class QOpenGLContext;
10
12namespace GstEglHelpers {
13
15EGLDisplay resolveEglDisplay(QOpenGLContext* qtCtx) noexcept;
16
19bool displaySupportsExtension(EGLDisplay display, const char* extension);
20
22void resetExtensionCache();
23
24} // namespace GstEglHelpers
25
26#endif // QGC_HAS_GST_DMABUF_GPU_PATH || QGC_HAS_GST_AHARDWAREBUFFER_GPU_PATH