Data Structures | Macros | Typedefs | Enumerations | Functions
Ecore_Drm.h File Reference

Ecore functions for dealing with drm, virtual terminals. More...

Data Structures

struct  _Ecore_Drm_Message
 
struct  _Ecore_Drm_Fb
 

Typedefs

typedef enum _Ecore_Drm_Op Ecore_Drm_Op
 
typedef enum _Ecore_Drm_Op_Result Ecore_Drm_Op_Result
 
typedef enum
_Ecore_Drm_Evdev_Capabilities 
Ecore_Drm_Evdev_Capabilities
 
typedef enum
_Ecore_Drm_Evdev_Event_Type 
Ecore_Drm_Evdev_Event_Type
 
typedef enum
_Ecore_Drm_Seat_Capabilities 
Ecore_Drm_Seat_Capabilities
 
typedef struct _Ecore_Drm_Message Ecore_Drm_Message
 
typedef struct _Ecore_Drm_Fb Ecore_Drm_Fb
 
typedef struct _Ecore_Drm_Device Ecore_Drm_Device
 
typedef struct
_Ecore_Drm_Output_Mode 
Ecore_Drm_Output_Mode
 
typedef struct _Ecore_Drm_Output Ecore_Drm_Output
 
typedef struct _Ecore_Drm_Input Ecore_Drm_Input
 
typedef struct _Ecore_Drm_Evdev Ecore_Drm_Evdev
 
typedef struct _Ecore_Drm_Seat Ecore_Drm_Seat
 
typedef struct _Ecore_Drm_Sprite Ecore_Drm_Sprite
 

Enumerations

enum  _Ecore_Drm_Op {
  ECORE_DRM_OP_READ_FD_SET,
  ECORE_DRM_OP_WRITE_FD_SET,
  ECORE_DRM_OP_DEVICE_OPEN,
  ECORE_DRM_OP_DEVICE_CLOSE,
  ECORE_DRM_OP_DEVICE_MASTER_DROP,
  ECORE_DRM_OP_DEVICE_MASTER_SET,
  ECORE_DRM_OP_TTY_OPEN,
  ECORE_DRM_OP_TTY_CLOSE
}
 
enum  _Ecore_Drm_Op_Result {
  ECORE_DRM_OP_SUCCESS,
  ECORE_DRM_OP_FAILURE
}
 
enum  _Ecore_Drm_Evdev_Capabilities {
  EVDEV_KEYBOARD = (1 << 0),
  EVDEV_BUTTON = (1 << 1),
  EVDEV_MOTION_ABS = (1 << 2),
  EVDEV_MOTION_REL = (1 << 3),
  EVDEV_TOUCH = (1 << 4)
}
 
enum  _Ecore_Drm_Evdev_Event_Type {
  EVDEV_NONE,
  EVDEV_ABSOLUTE_TOUCH_DOWN,
  EVDEV_ABSOLUTE_MOTION,
  EVDEV_ABSOLUTE_TOUCH_UP,
  EVDEV_ABSOLUTE_MT_DOWN,
  EVDEV_ABSOLUTE_MT_MOTION,
  EVDEV_ABSOLUTE_MT_UP,
  EVDEV_RELATIVE_MOTION
}
 
enum  _Ecore_Drm_Seat_Capabilities {
  EVDEV_SEAT_POINTER = (1 << 0),
  EVDEV_SEAT_KEYBOARD = (1 << 1),
  EVDEV_SEAT_TOUCH = (1 << 2)
}
 

Functions

EAPI int ecore_drm_init (void)
 Initialize the Ecore_Drm library. More...
 
EAPI int ecore_drm_shutdown (void)
 Shutdown the Ecore_Drm library. More...
 
EAPI Ecore_Drm_Device * ecore_drm_device_find (const char *name, const char *seat)
 Find a drm device in the system. More...
 
EAPI void ecore_drm_device_free (Ecore_Drm_Device *dev)
 Free an Ecore_Drm_Device. More...
 
EAPI Eina_Bool ecore_drm_device_open (Ecore_Drm_Device *dev)
 Open an Ecore_Drm_Device. More...
 
EAPI Eina_Bool ecore_drm_device_close (Ecore_Drm_Device *dev)
 Close an Ecore_Drm_Device. More...
 
EAPI Eina_Bool ecore_drm_device_master_get (Ecore_Drm_Device *dev)
 Get if a given Ecore_Drm_Device is master. More...
 
EAPI Eina_Bool ecore_drm_device_master_set (Ecore_Drm_Device *dev)
 Set a given Ecore_Drm_Device to master. More...
 
EAPI Eina_Bool ecore_drm_device_master_drop (Ecore_Drm_Device *dev)
 Tell a given Ecore_Drm_Device to stop being master. More...
 
EAPI int ecore_drm_device_fd_get (Ecore_Drm_Device *dev)
 
EAPI void ecore_drm_device_window_set (Ecore_Drm_Device *dev, unsigned int window)
 TODO: Doxy. More...
 
EAPI const char * ecore_drm_device_name_get (Ecore_Drm_Device *dev)
 TODO: Doxy. More...
 
EAPI Eina_Bool ecore_drm_tty_open (Ecore_Drm_Device *dev, const char *name)
 Open a tty for use. More...
 
EAPI Eina_Bool ecore_drm_tty_close (Ecore_Drm_Device *dev)
 Close an already opened tty. More...
 
EAPI Eina_Bool ecore_drm_tty_release (Ecore_Drm_Device *dev)
 Release a virtual terminal. More...
 
EAPI Eina_Bool ecore_drm_tty_acquire (Ecore_Drm_Device *dev)
 Acquire a virtual terminal. More...
 
EAPI int ecore_drm_tty_get (Ecore_Drm_Device *dev)
 Get the opened virtual terminal file descriptor. More...
 
EAPI Eina_Bool ecore_drm_outputs_create (Ecore_Drm_Device *dev)
 
EAPI void ecore_drm_output_free (Ecore_Drm_Output *output)
 
EAPI void ecore_drm_output_cursor_size_set (Ecore_Drm_Output *output, int handle, int w, int h)
 
EAPI Eina_Bool ecore_drm_output_enable (Ecore_Drm_Output *output)
 
EAPI void ecore_drm_output_fb_release (Ecore_Drm_Output *output, Ecore_Drm_Fb *fb)
 
EAPI void ecore_drm_output_repaint (Ecore_Drm_Output *output)
 
EAPI void ecore_drm_output_size_get (Ecore_Drm_Device *dev, int output, int *w, int *h)
 
EAPI Eina_Bool ecore_drm_inputs_create (Ecore_Drm_Device *dev)
 
EAPI void ecore_drm_inputs_destroy (Ecore_Drm_Device *dev)
 
EAPI Eina_Bool ecore_drm_inputs_enable (Ecore_Drm_Input *input)
 
EAPI void ecore_drm_inputs_disable (Ecore_Drm_Input *input)
 
EAPI Eina_Bool ecore_drm_sprites_create (Ecore_Drm_Device *dev)
 
EAPI void ecore_drm_sprites_destroy (Ecore_Drm_Device *dev)
 
EAPI void ecore_drm_sprites_fb_set (Ecore_Drm_Sprite *sprite, int fb_id, int flags)
 
EAPI Eina_Bool ecore_drm_sprites_crtc_supported (Ecore_Drm_Output *output, unsigned int supported)
 
EAPI Ecore_Drm_Fbecore_drm_fb_create (Ecore_Drm_Device *dev, int width, int height)
 
EAPI void ecore_drm_fb_destroy (Ecore_Drm_Fb *fb)
 

Detailed Description

Ecore functions for dealing with drm, virtual terminals.

Function Documentation

EAPI void ecore_drm_device_window_set ( Ecore_Drm_Device *  dev,
unsigned int  window 
)

TODO: Doxy.

Since
1.10
EAPI const char* ecore_drm_device_name_get ( Ecore_Drm_Device *  dev)

TODO: Doxy.

Since
1.10