GstGLContext

GstGLContext

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GstObject
            ╰── GstGLContext

Description

Functions

gst_gl_context_error_quark ()

GQuark
gst_gl_context_error_quark (void);

GstGLContextThreadFunc ()

void
(*GstGLContextThreadFunc) (GstGLContext *context,
                           gpointer data);

gst_gl_context_new ()

GstGLContext *
gst_gl_context_new (GstGLDisplay *display);

gst_gl_context_new_wrapped ()

GstGLContext *
gst_gl_context_new_wrapped (GstGLDisplay *display,
                            guintptr handle,
                            GstGLPlatform context_type,
                            GstGLAPI available_apis);

gst_gl_context_create ()

gboolean
gst_gl_context_create (GstGLContext *context,
                       GstGLContext *other_context,
                       GError **error);

gst_gl_context_destroy ()

void
gst_gl_context_destroy (GstGLContext *context);

gst_gl_context_activate ()

gboolean
gst_gl_context_activate (GstGLContext *context,
                         gboolean activate);

gst_gl_context_default_get_proc_address ()

gpointer
gst_gl_context_default_get_proc_address
                               (GstGLAPI gl_api,
                                const gchar *name);

gst_gl_context_get_proc_address ()

gpointer
gst_gl_context_get_proc_address (GstGLContext *context,
                                 const gchar *name);

gst_gl_context_get_proc_address_with_platform ()

gpointer
gst_gl_context_get_proc_address_with_platform
                               (GstGLPlatform context_type,
                                GstGLAPI gl_api,
                                const gchar *name);

gst_gl_context_get_window ()

GstGLWindow *
gst_gl_context_get_window (GstGLContext *context);

gst_gl_context_set_window ()

gboolean
gst_gl_context_set_window (GstGLContext *context,
                           GstGLWindow *window);

gst_gl_context_thread_add ()

void
gst_gl_context_thread_add (GstGLContext *context,
                           GstGLContextThreadFunc func,
                           gpointer data);

gst_gl_context_get_display ()

GstGLDisplay *
gst_gl_context_get_display (GstGLContext *context);

gst_gl_context_get_gl_api ()

GstGLAPI
gst_gl_context_get_gl_api (GstGLContext *context);

gst_gl_context_get_gl_context ()

guintptr
gst_gl_context_get_gl_context (GstGLContext *context);

gst_gl_context_get_gl_platform ()

GstGLPlatform
gst_gl_context_get_gl_platform (GstGLContext *context);

gst_gl_context_get_current_gl_context ()

guintptr
gst_gl_context_get_current_gl_context (GstGLPlatform context_type);

gst_gl_context_get_current_gl_api ()

GstGLAPI
gst_gl_context_get_current_gl_api (GstGLPlatform platform,
                                   guint *major,
                                   guint *minor);

gst_gl_context_get_thread ()

GThread *
gst_gl_context_get_thread (GstGLContext *context);

gst_gl_context_can_share ()

gboolean
gst_gl_context_can_share (GstGLContext *context,
                          GstGLContext *other_context);

gst_gl_context_is_shared ()

gboolean
gst_gl_context_is_shared (GstGLContext *context);

gst_gl_context_set_shared_with ()

void
gst_gl_context_set_shared_with (GstGLContext *context,
                                GstGLContext *share);

gst_gl_context_check_feature ()

gboolean
gst_gl_context_check_feature (GstGLContext *context,
                              const gchar *feature);

gst_gl_context_check_gl_version ()

gboolean
gst_gl_context_check_gl_version (GstGLContext *context,
                                 GstGLAPI api,
                                 gint maj,
                                 gint min);

gst_gl_context_get_gl_version ()

void
gst_gl_context_get_gl_version (GstGLContext *context,
                               gint *maj,
                               gint *min);

gst_gl_context_fill_info ()

gboolean
gst_gl_context_fill_info (GstGLContext *context,
                          GError **error);

gst_gl_context_get_current ()

GstGLContext *
gst_gl_context_get_current (void);

Types and Values

GST_GL_CONTEXT_ERROR

#define GST_GL_CONTEXT_ERROR (gst_gl_context_error_quark ())

enum GstGLContextError

Members

GST_GL_CONTEXT_ERROR_FAILED

   

GST_GL_CONTEXT_ERROR_WRONG_CONFIG

   

GST_GL_CONTEXT_ERROR_WRONG_API

   

GST_GL_CONTEXT_ERROR_OLD_LIBS

   

GST_GL_CONTEXT_ERROR_CREATE_CONTEXT

   

GST_GL_CONTEXT_ERROR_RESOURCE_UNAVAILABLE

   

GstGLContext

typedef struct _GstGLContext GstGLContext;