ecore-drm2: Add start of Ecore_Drm2_Output structure
This commit is contained in:
parent
b69bf1a6ac
commit
226d306454
|
@ -20,6 +20,9 @@
|
|||
/* opaque structure to represent a drm device */
|
||||
typedef struct _Ecore_Drm2_Device Ecore_Drm2_Device;
|
||||
|
||||
/* opaque structure to represent a drm output */
|
||||
typedef struct _Ecore_Drm2_Output Ecore_Drm2_Output;
|
||||
|
||||
/* API functions */
|
||||
EAPI int ecore_drm2_init(void);
|
||||
EAPI int ecore_drm2_shutdown(void);
|
||||
|
|
|
@ -72,6 +72,11 @@ struct _Ecore_Drm2_Device
|
|||
int fd;
|
||||
};
|
||||
|
||||
struct _Ecore_Drm2_Output
|
||||
{
|
||||
Eina_Stringshare *name, *make, *model, *serial;
|
||||
};
|
||||
|
||||
/* external drm function prototypes (for dlopen) */
|
||||
extern void *(*sym_drmModeGetResources)(int fd);
|
||||
extern void (*sym_drmModeFreeResources)(drmModeResPtr ptr);
|
||||
|
|
Loading…
Reference in New Issue