Ecore_Drm_Init_Group(3)

NAME
Ecore_Drm_Init_Group - Drm Library Init and Shutdown Functions

 - Functions that start and shutdown the Ecore_Drm Library.

SYNOPSIS

  Functions
int ecore_drm_init (void)
Initialize the Ecore_Drm library.
int ecore_drm_shutdown (void)
Shutdown the Ecore_Drm library.
EAPI int ecore_drm2_event_handle (Ecore_Drm2_Device *dev, Ecore_Drm2_Context *drmctx)
Read and process pending Drm events.

Detailed Description

Functions that start and shutdown the Ecore_Drm Library.

Function Documentation

  int ecore_drm_init (void)

Initialize the Ecore_Drm library.

Returns
    The number of times the library has been initialized without being shut down. 0 is returned if an error occurs.

References ecore_event_init(), ecore_init(), ecore_shutdown(), eeze_init(), eina_init(), eina_log_domain_register(), EINA_LOG_ERR, and eina_shutdown().

  int ecore_drm_shutdown (void)

Shutdown the Ecore_Drm library.

Returns
    The number of times the library has been initialized without being shutdown. 0 is returned if an error occurs.

References ecore_event_type_flush, and ERR.

  EAPI int ecore_drm2_event_handle (Ecore_Drm2_Device * dev, Ecore_Drm2_Context * drmctx)

Read and process pending Drm events.

Parameters
    dev drm device
    drmctx

Returns
    0 on success, -1 otherwise

Note
    : Do not ever use this function in applications !!! This is a special-purpose API function and should not be used by application developers.

Since
    1.19

References EINA_SAFETY_ON_NULL_RETURN_VAL.

Author

Generated automatically by Doxygen for EFL from the source code.