GstGL.GLQuery¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
context |
r |
||
debug |
r |
||
query_id |
r |
||
query_type |
r |
||
start_called |
r |
||
supported |
r |
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class GstGL.GLQuery¶
A
GstGL.GLQuery
represents and holds an OpenGL query object. Various types of queries can be run or counters retrieved.New in version 1.10.
- classmethod local_gl_context(element, direction, context_ptr)[source]¶
- Parameters:
element (
Gst.Element
) – aGst.Element
to query fromdirection (
Gst.PadDirection
) – theGst.PadDirection
to querycontext_ptr (
GstGL.GLContext
) – location containing the current and/or resultingGstGL.GLContext
- Returns:
whether context_ptr contains a
GstGL.GLContext
- context_ptr:
location containing the current and/or resulting
GstGL.GLContext
- Return type:
(
bool
, context_ptr:GstGL.GLContext
)
Performs a
Gst.QueryType.CONTEXT
query of type “gst.gl.local_context” on allGst.Pads
in element of direction for the local OpenGL context used by GStreamer elements.
- free()[source]¶
Frees a
GstGL.GLQuery
New in version 1.10.
- init(context, query_type)[source]¶
- Parameters:
context (
GstGL.GLContext
) – aGstGL.GLContext
query_type (
GstGL.GLQueryType
) – theGstGL.GLQueryType
New in version 1.10.