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.GLQueryrepresents 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.Elementto query fromdirection (
Gst.PadDirection) – theGst.PadDirectionto 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.CONTEXTquery of type “gst.gl.local_context” on allGst.Padsin element of direction for the local OpenGL context used by GStreamer elements.
- free()[source]¶
Frees a
GstGL.GLQueryNew in version 1.10.
- init(context, query_type)[source]¶
- Parameters:
context (
GstGL.GLContext) – aGstGL.GLContextquery_type (
GstGL.GLQueryType) – theGstGL.GLQueryType
New in version 1.10.