GstGLDisplay
GstGLDisplay — window system display connection abstraction
|
|
Description
GstGLDisplay represents a connection to the underlying windowing system.
Elements are required to make use of GstContext to share and propogate
a GstGLDisplay.
Certain window systems require a special function to be called to
initialize threading support. As this GStreamer GL library does not preclude
concurrent access to the windowing system, it is strongly advised that
applications ensure that threading support has been initialized before any
other toolkit/library functionality is accessed. Failure to do so could
result in sudden application abortion during execution. The most notably
example of such a function is X11's XInitThreads()
.
Functions
gst_gl_display_new ()
GstGLDisplay *
gst_gl_display_new (void
);
gst_context_get_gl_display ()
gboolean
gst_context_get_gl_display (GstContext *context
,
GstGLDisplay **display
);
Returns
Whether display
was in context
gst_context_set_gl_display ()
void
gst_context_set_gl_display (GstContext *context
,
GstGLDisplay *display
);
Sets display
on context
Types and Values
GST_GL_DISPLAY_CONTEXT_TYPE
#define GST_GL_DISPLAY_CONTEXT_TYPE "gst.gl.GLDisplay"
GstGLDisplay
typedef struct _GstGLDisplay GstGLDisplay;
The contents of a GstGLDisplay are private and should only be accessed
through the provided API