16 #ifndef __DRM_COMMON_H 17 #define __DRM_COMMON_H 23 #include <xf86drmMode.h> 30 #include "../video_driver.h" float drm_get_refresh_rate(void *data)
Definition: drm_common.c:171
RETRO_BEGIN_DECLS uint32_t g_connector_id
Definition: drm_common.c:26
GLbitfield GLuint64 timeout
Definition: glext.h:7831
uint32_t g_crtc_id
Definition: drm_common.c:28
#define INLINE
Definition: retro_inline.h:35
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
#define POLLHUP
Definition: network.h:202
struct pollfd g_drm_fds
Definition: drm_common.c:24
void drm_setup(int fd)
Definition: drm_common.c:162
bool drm_get_encoder(int fd)
Definition: drm_common.c:125
int g_drm_fd
Definition: drm_common.c:27
Definition: video_driver.h:405
Definition: video_driver.h:332
bool drm_get_connector(int fd, video_frame_info_t *video_info)
Definition: drm_common.c:67
void drm_free(void)
Definition: drm_common.c:183
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
#define POLLIN
Definition: network.h:198
drmModeModeInfo * g_drm_mode
Definition: drm_common.c:35
bool drm_get_resources(int fd)
Definition: drm_common.c:55
#define POLLERR
Definition: network.h:201
drmEventContext g_drm_evctx
Definition: drm_common.c:37
unsigned int uint32_t
Definition: stdint.h:126
void drm_restore_crtc(void)
Definition: drm_common.c:40
static INLINE bool drm_wait_flip(int timeout)
Definition: drm_common.h:60
drmModeConnector * g_drm_connector
Definition: drm_common.c:33