GstGLEGL.GLDisplayEGL

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned GstGL.GLDisplay GstGL.GLDisplay Gst.Object->GstGL.GLDisplay GstGLEGL.GLDisplayEGL GstGLEGL.GLDisplayEGL GstGL.GLDisplay->GstGLEGL.GLDisplayEGL

Subclasses:

None

Methods

Inherited:

GstGL.GLDisplay (16), Gst.Object (27), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

from_gl_display (display)

class

get_from_native (type, display)

class

new ()

class

new_surfaceless ()

class

new_with_egl_display (display)

Virtual Methods

Inherited:

GstGL.GLDisplay (2), Gst.Object (1), GObject.Object (7)

Properties

Inherited:

Gst.Object (2)

Signals

Inherited:

GstGL.GLDisplay (1), Gst.Object (1), GObject.Object (1)

Fields

Inherited:

GstGL.GLDisplay (1), Gst.Object (1), GObject.Object (1)

Name

Type

Access

Description

display

object

r

foreign_display

bool

r

parent

GstGL.GLDisplay

r

Class Details

class GstGLEGL.GLDisplayEGL(**kwargs)
Bases:

GstGL.GLDisplay

Abstract:

No

Structure:

GstGLEGL.GLDisplayEGLClass

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 existing GstGL.GLDisplay

Returns:

a new GstGLEGL.GLDisplayEGL

Return type:

GstGLEGL.GLDisplayEGL or None

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:
Returns:

A EGLDisplay or EGL_NO_DISPLAY

Return type:

object or None

Attempts to create a new EGLDisplay from display. If type is GstGL.GLDisplayType.ANY or GstGL.GLDisplayType.EGL_SURFACELESS, then display must be 0. type must not be GstGL.GLDisplayType.NONE.

New in version 1.12.

classmethod new()
Returns:

a new GstGLEGL.GLDisplayEGL or None

Return type:

GstGLEGL.GLDisplayEGL or None

Create a new GstGLEGL.GLDisplayEGL using the default EGL_DEFAULT_DISPLAY.

classmethod new_surfaceless()
Returns:

a new GstGLEGL.GLDisplayEGL or None

Return type:

GstGLEGL.GLDisplayEGL or None

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:

display (object or None) –

Return type:

GstGLEGL.GLDisplayEGL