GstGLDisplay: GStreamer Bad Plugins 1.0 Library Reference Manual

## GstGLDisplay GstGLDisplay |

## Functions

GstGLDisplay * | gst_gl_display_new ()
GstGLDisplayType | gst_gl_display_get_handle_type ()
void | gst_gl_display_filter_gl_api ()
GstGLAPI | gst_gl_display_get_gl_api ()
gboolean | gst_gl_display_add_context ()
GstGLContext * | gst_gl_display_get_gl_context_for_thread ()
guintptr | gst_gl_display_get_handle ()
gboolean | gst_gl_display_create_context ()
gboolean | gst_context_get_gl_display ()
void | gst_context_set_gl_display ()

## Signals

GstGLContext* | create-context | Run Last

## Types and Values

#define | GST_GL_DISPLAY_CONTEXT_TYPE
enum | GstGLDisplayType
| GstGLDisplay

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── GstObject
                ╰── GstGLDisplay

## Description

## Functions

### gst_gl_display_new ()

    GstGLDisplay *
    gst_gl_display_new (void);

### gst_gl_display_get_handle_type ()

    GstGLDisplayType
    gst_gl_display_get_handle_type (GstGLDisplay *display);

### gst_gl_display_filter_gl_api ()

    void
    gst_gl_display_filter_gl_api (GstGLDisplay *display,
                                  GstGLAPI gl_api);

### gst_gl_display_get_gl_api ()

    GstGLAPI
    gst_gl_display_get_gl_api (GstGLDisplay *display);

### gst_gl_display_add_context ()

    gboolean
    gst_gl_display_add_context (GstGLDisplay *display,
                                GstGLContext *context);

### gst_gl_display_get_gl_context_for_thread ()

    GstGLContext *
    gst_gl_display_get_gl_context_for_thread
                                   (GstGLDisplay *display,
                                    GThread *thread);

### gst_gl_display_get_handle ()

    guintptr
    gst_gl_display_get_handle (GstGLDisplay *display);

### gst_gl_display_create_context ()

    gboolean
    gst_gl_display_create_context (GstGLDisplay *display,
                                   GstGLContext *other_context,
                                   GstGLContext **p_context,
                                   GError **error);

### gst_context_get_gl_display ()

    gboolean
    gst_context_get_gl_display (GstContext *context,
                                GstGLDisplay **display);

### gst_context_set_gl_display ()

    void
    gst_context_set_gl_display (GstContext *context,
                                GstGLDisplay *display);

## Types and Values

### GST_GL_DISPLAY_CONTEXT_TYPE

    #define GST_GL_DISPLAY_CONTEXT_TYPE "gst.gl.GLDisplay"

### enum GstGLDisplayType

#### Members

GST_GL_DISPLAY_TYPE_NONE |  |
GST_GL_DISPLAY_TYPE_X11 |  |
GST_GL_DISPLAY_TYPE_WAYLAND |  |
GST_GL_DISPLAY_TYPE_COCOA |  |
GST_GL_DISPLAY_TYPE_WIN32 |  |
GST_GL_DISPLAY_TYPE_DISPMANX |  |
GST_GL_DISPLAY_TYPE_EGL |  |
GST_GL_DISPLAY_TYPE_ANY |  |

### GstGLDisplay

    typedef struct _GstGLDisplay GstGLDisplay;

## Signal Details

### The `“create-context”` signal

    GstGLContext*
    user_function (GstGLDisplay *gstgldisplay,
                   GstGLContext *arg1,
                   gpointer      user_data)

Flags: Run Last