GLQuery

A #GstGLQuery represents and holds an OpenGL query object. Various types of queries can be run or counters retrieved.

Members

Functions

counter
void counter()

Record the result of a counter

end
void end()

End counting the query

init_
void init_(gstgl.glcontext.GLContext context, gstgl.types.GLQueryType queryType)
result
ulong result()
start
void start()

Start counting the query

unset
void unset()

Free any dynamically allocated resources

Static functions

localGlContext
bool localGlContext(gst.element.Element element, gst.types.PadDirection direction, gstgl.glcontext.GLContext contextPtr)

Performs a GST_QUERY_CONTEXT query of type "gst.gl.local_context" on all #GstPads in element of direction for the local OpenGL context used by GStreamer elements.