GstGL.GLBaseFilter¶
- Subclasses:
Methods¶
- Inherited:
GstBase.BaseTransform (15), Gst.Element (82), Gst.Object (27), GObject.Object (37)
- Structs:
Virtual Methods¶
|
|
|
|
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
Get OpenGL context |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
context |
r |
the currently configured |
|
display |
r |
the currently configured |
|
in_caps |
r |
the currently configured input |
|
out_caps |
r |
the currently configured output |
|
parent |
r |
Class Details¶
- class GstGL.GLBaseFilter(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
GstGL.GLBaseFilter
handles the nitty gritty details of retrieving an OpenGL context. It also provided some wrappers aroundGstBase.BaseTransform
'sstart()
,stop()
andset_caps()
virtual methods that ensure an OpenGL context is available and current in the calling thread.- find_gl_context()[source]¶
- Returns:
Whether an OpenGL context could be retrieved or created successfully
- Return type:
New in version 1.16.
- get_gl_context()[source]¶
- Returns:
the
GstGL.GLContext
found by self- Return type:
New in version 1.18.
- do_gl_set_caps(incaps, outcaps) virtual¶
-
called in the GL thread when caps are set on filter. Note: this will also be called when changing OpenGL contexts where #GstBaseTransform::set_caps may not.
- do_gl_stop() virtual¶
called in the GL thread to setup the element GL state.
Property Details¶
- GstGL.GLBaseFilter.props.context¶
- Name:
context
- Type:
- Default Value:
- Flags:
Get OpenGL context