QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
gstqt6glutility.cc File Reference
#include "gstqt6glutility.h"
#include <QtGui/QGuiApplication>
#include <gst/gl/gstglfuncs.h>
+ Include dependency graph for gstqt6glutility.cc:

Go to the source code of this file.

Macros

#define GST_CAT_DEFAULT   qml6_gl_utils_debug
 

Functions

 GST_DEBUG_CATEGORY_STATIC (qml6_gl_utils_debug)
 
 G_LOCK_DEFINE_STATIC (display_lock)
 
GstGLDisplay * gst_qml6_get_gl_display (gboolean sink)
 
gboolean gst_qml6_get_gl_wrapcontext (GstGLDisplay *display, GstGLContext **wrap_glcontext, GstGLContext **context)
 

Variables

static GWeakRef qt_display
 
static gboolean sink_retrieved = FALSE
 

Macro Definition Documentation

◆ GST_CAT_DEFAULT

#define GST_CAT_DEFAULT   qml6_gl_utils_debug

Definition at line 55 of file gstqt6glutility.cc.

Function Documentation

◆ G_LOCK_DEFINE_STATIC()

G_LOCK_DEFINE_STATIC ( display_lock  )

◆ GST_DEBUG_CATEGORY_STATIC()

GST_DEBUG_CATEGORY_STATIC ( qml6_gl_utils_debug  )

◆ gst_qml6_get_gl_display()

GstGLDisplay * gst_qml6_get_gl_display ( gboolean  sink)

Definition at line 63 of file gstqt6glutility.cc.

References GST_CAT_DEFAULT, qt_display, and sink_retrieved.

◆ gst_qml6_get_gl_wrapcontext()

gboolean gst_qml6_get_gl_wrapcontext ( GstGLDisplay *  display,
GstGLContext **  wrap_glcontext,
GstGLContext **  context 
)

Definition at line 178 of file gstqt6glutility.cc.

References error.

Variable Documentation

◆ qt_display

GWeakRef qt_display
static

Definition at line 59 of file gstqt6glutility.cc.

Referenced by gst_qml6_get_gl_display().

◆ sink_retrieved

gboolean sink_retrieved = FALSE
static

Definition at line 60 of file gstqt6glutility.cc.

Referenced by gst_qml6_get_gl_display().