Class

WPEPlatformDisplay

[]

Description

abstract class WPEPlatform.Display : GObject.Object {
  parent_instance: GObject,
  priv: WPEDisplayPrivate*
}
No description available.
[]

Hierarchy

hierarchy this WPEDisplay ancestor_0 GObject ancestor_0--this
[]

Ancestors

[]

Functions

wpe_display_get_default

Get the default display.

wpe_display_get_primary

Get the primary display. By default, the first WPEDisplay that is created is set as primary display. This is the desired behavior in most of the cases, but you can set any WPEDisplay as primary calling wpe_display_set_primary() if needed.

[]

Instance methods

wpe_display_connect

Connect the display to the native system.

wpe_display_get_drm_device

Get the DRM device of display.

wpe_display_get_drm_render_node

Get the DRM render node of display.

wpe_display_get_egl_display

Get the EGLDisplay of display.

wpe_display_get_keymap

Get the WPEKeymap of display.

wpe_display_get_n_screens

Get the number of screens of display.

wpe_display_get_preferred_dma_buf_formats

Get the list of preferred DMA-BUF buffer formats for display.

wpe_display_get_screen

Get the screen of display at index.

wpe_display_get_settings

Get the WPESettings of display.

wpe_display_screen_added

Emit the signal WPEDisplay::screen-added.

wpe_display_screen_removed

Emit the signal WPEDisplay::screen-removed. Note that wpe_screen_invalidate() is called before the signal is emitted.

wpe_display_set_primary

Set display as the primary display.

wpe_display_use_explicit_sync

Get whether explicit sync should be used with display for supported buffers.

Methods inherited from GObject (43)
[]

Signals

WPEPlatform.Display::screen-added

Emitted when a screen is added.

WPEPlatform.Display::screen-removed

Emitted after a screen is removed. Note that the screen is always invalidated before this signal is emitted.

Signals inherited from GObject (1)

Class structure

[]

Virtual methods

WPEPlatform.DisplayClass.connect

Connect the display to the native system.

WPEPlatform.DisplayClass.create_view
No description available.

WPEPlatform.DisplayClass.get_drm_device

Get the DRM device of display.

WPEPlatform.DisplayClass.get_drm_render_node

Get the DRM render node of display.

WPEPlatform.DisplayClass.get_egl_display

Get the EGLDisplay of display.

WPEPlatform.DisplayClass.get_keymap

Get the WPEKeymap of display.

WPEPlatform.DisplayClass.get_n_screens

Get the number of screens of display.

WPEPlatform.DisplayClass.get_preferred_dma_buf_formats

Get the list of preferred DMA-BUF buffer formats for display.

WPEPlatform.DisplayClass.get_screen

Get the screen of display at index.

WPEPlatform.DisplayClass.use_explicit_sync

Get whether explicit sync should be used with display for supported buffers.