Top | ![]() |
![]() |
![]() |
![]() |
GstGLDisplay * | gst_gl_display_new () |
GstGLDisplayType | gst_gl_display_get_handle_type () |
gboolean | gst_context_get_gl_display () |
void | gst_context_set_gl_display () |
GstGLDisplay represents a connection to the underlying windowing system. Elements are required to make use of GstContext to share and propogate a GstGLDisplay.
There are a number of environment variables that influence the choice of platform and window system specific functionality.
GST_GL_WINDOW influences the window system to use. Common values are 'x11', 'wayland', 'win32' or 'cocoa'.
GST_GL_PLATFORM influences the OpenGL platform to use. Common values are 'egl', 'glx', 'wgl' or 'cgl'.
GST_GL_API influences the OpenGL API requested by the OpenGL platform. Common values are 'opengl' and 'gles2'.
XInitThreads()
.GstGLDisplayType
gst_gl_display_get_handle_type (GstGLDisplay *display
);
Since: 1.4
gboolean gst_context_get_gl_display (GstContext *context
,GstGLDisplay **display
);
Since: 1.4
void gst_context_set_gl_display (GstContext *context
,GstGLDisplay *display
);
Sets display
on context
Since: 1.4
typedef struct _GstGLDisplay GstGLDisplay;
The contents of a GstGLDisplay are private and should only be accessed through the provided API