GLDisplayEGLDevice

the contents of a #GstGLDisplayEGLDevice are private and should only be accessed through the provided API

Constructors

this
this(uint deviceIndex)

Create a new #GstGLDisplayEGLDevice with an EGLDevice supported device

Members

Static functions

newWithEglDevice
gstglegl.gldisplay_egldevice.GLDisplayEGLDevice newWithEglDevice(void* device)

Creates a new #GstGLDisplayEGLDevice with EGLDeviceEXT . The device must be created using EGLDevice enumeration.

Inherited Members

From GLDisplay

newWithType
gstgl.gldisplay.GLDisplay newWithType(gstgl.types.GLDisplayType type)

Will always return a #GstGLDisplay of a single type. This differs from gstgl.gldisplay.GLDisplay.new_ and the seemingly equivalent call gst_gl_display_new_with_type (GST_GL_DISPLAY_TYPE_ANY) in that the latter may return NULL.

addContext
bool addContext(gstgl.glcontext.GLContext context)
createContext
bool createContext(gstgl.glcontext.GLContext otherContext, gstgl.glcontext.GLContext pContext)

It requires the display's object lock to be held.

createWindow
gstgl.glwindow.GLWindow createWindow()
ensureContext
bool ensureContext(gstgl.glcontext.GLContext otherContext, gstgl.glcontext.GLContext context)

Ensures that the display has a valid GL context for the current thread. If context already contains a valid context, this does nothing.

filterGlApi
void filterGlApi(gstgl.types.GLAPI glApi)

limit the use of OpenGL to the requested gl_api. This is intended to allow application and elements to request a specific set of OpenGL API's based on what they support. See gstgl.glcontext.GLContext.getGlApi for the retrieving the API supported by a #GstGLContext.

findWindow
gstgl.glwindow.GLWindow findWindow(void* data, glib.types.CompareFunc compareFunc)

Execute compare_func over the list of windows stored by display. The first argument to compare_func is the #GstGLWindow being checked and the second argument is data.

getGlApi
gstgl.types.GLAPI getGlApi()

see gstgl.gldisplay.GLDisplay.filterGlApi for what the returned value represents

getGlApiUnlocked
gstgl.types.GLAPI getGlApiUnlocked()
getGlContextForThread
gstgl.glcontext.GLContext getGlContextForThread(glib.thread.Thread thread)
getHandle
size_t getHandle()
getHandleType
gstgl.types.GLDisplayType getHandleType()
removeContext
void removeContext(gstgl.glcontext.GLContext context)

Must be called with the object lock held.

removeWindow
bool removeWindow(gstgl.glwindow.GLWindow window)
retrieveWindow
gstgl.glwindow.GLWindow retrieveWindow(void* data, glib.types.CompareFunc compareFunc)

Execute compare_func over the list of windows stored by display. The first argument to compare_func is the #GstGLWindow being checked and the second argument is data.

connectCreateContext
ulong connectCreateContext(T callback, Flag!"After" after)

Connect to CreateContext signal.