GstGLEGL.GLDisplayEGL¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
class |
|
class |
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
display |
r |
||
foreign_display |
r |
||
parent |
r |
Class Details¶
- class GstGLEGL.GLDisplayEGL(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
the contents of a
GstGLEGL.GLDisplayEGL
are private and should only be accessed through the provided API- classmethod from_gl_display(display)¶
- Parameters:
display (
GstGL.GLDisplay
) – an existingGstGL.GLDisplay
- Returns:
a new
GstGLEGL.GLDisplayEGL
- Return type:
Creates a EGL display connection from a native Display.
This function will return the same value for multiple calls with the same display.
New in version 1.12.
- classmethod get_from_native(type, display)¶
- Parameters:
type (
GstGL.GLDisplayType
) – aGstGL.GLDisplayType
display (
int
) – pointer to a display (or 0)
- Returns:
A
EGLDisplay
orEGL_NO_DISPLAY
- Return type:
Attempts to create a new
EGLDisplay
from display. If type isGstGL.GLDisplayType.ANY
orGstGL.GLDisplayType.EGL_SURFACELESS
, then display must be 0. type must not beGstGL.GLDisplayType.NONE
.New in version 1.12.
- classmethod new()¶
- Returns:
a new
GstGLEGL.GLDisplayEGL
orNone
- Return type:
Create a new
GstGLEGL.GLDisplayEGL
using the default EGL_DEFAULT_DISPLAY.
- classmethod new_surfaceless()¶
- Returns:
a new
GstGLEGL.GLDisplayEGL
orNone
- Return type:
Create a new surfaceless
GstGLEGL.GLDisplayEGL
using the Mesa3D EGL_PLATFORM_SURFACELESS_MESA extension.New in version 1.24.
- classmethod new_with_egl_display(display)¶
- Parameters:
- Return type: