Searched refs:drm_fd (Results 1 – 4 of 4) sorted by relevance
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/ |
A D | SDL_kmsdrmvideo.c | 56 int drm_fd; in check_modestting() local 61 if (drm_fd >= 0) { in check_modestting() 76 close(drm_fd); in check_modestting() 187 viddata->drm_fd = -1; in KMSDRM_CreateDevice() 280 fb_info->drm_fd = viddata->drm_fd; in KMSDRM_FBFromBO() 324 pfd.fd = viddata->drm_fd; in KMSDRM_WaitPageFlip() 464 if (viddata->drm_fd < 0) { in KMSDRM_VideoInit() 651 viddata->drm_fd = -1; in KMSDRM_VideoInit() 700 if (viddata->drm_fd >= 0) { in KMSDRM_VideoQuit() 701 close(viddata->drm_fd); in KMSDRM_VideoQuit() [all …]
|
A D | SDL_kmsdrmmouse.c | 66 ret = KMSDRM_drmModeSetCursor(viddata->drm_fd, dispdata->crtc_id, bo_handle, w, h); in KMSDRM_IsCursorSizeSupported() 343 ret = KMSDRM_drmModeSetCursor(viddata->drm_fd, dispdata->crtc_id, 0, 0, 0); in KMSDRM_ShowCursor() 368 ret = KMSDRM_drmModeSetCursor(viddata->drm_fd, dispdata->crtc_id, bo_handle, in KMSDRM_ShowCursor() 371 ret = KMSDRM_drmModeSetCursor2(viddata->drm_fd, dispdata->crtc_id, bo_handle, in KMSDRM_ShowCursor() 389 int drm_fd; in KMSDRM_FreeCursor() local 399 KMSDRM_drmModeSetCursor(drm_fd, curdata->crtc_id, 0, 0, 0); in KMSDRM_FreeCursor() 435 int ret, drm_fd; in KMSDRM_WarpMouseGlobal() local 437 ret = KMSDRM_drmModeMoveCursor(drm_fd, curdata->crtc_id, x, y); in KMSDRM_WarpMouseGlobal() 485 int drm_fd, ret; in KMSDRM_MoveCursor() local 491 drm_fd = KMSDRM_gbm_device_get_fd(KMSDRM_gbm_bo_get_device(curdata->bo)); in KMSDRM_MoveCursor() [all …]
|
A D | SDL_kmsdrmopengles.c | 125 if (KMSDRM_drmModeSetCrtc(viddata->drm_fd, dispdata->crtc_id, fb_info->fb_id, 0, in KMSDRM_GLES_SwapWindow() 132 if (!KMSDRM_drmModePageFlip(viddata->drm_fd, dispdata->crtc_id, fb_info->fb_id, in KMSDRM_GLES_SwapWindow() 214 if (KMSDRM_drmModeSetCrtc(viddata->drm_fd, dispdata->crtc_id, fb_info->fb_id, 0, in KMSDRM_GLES_SwapWindow() 222 if (!KMSDRM_drmModePageFlip(viddata->drm_fd, dispdata->crtc_id, fb_info->fb_id, in KMSDRM_GLES_SwapWindow()
|
A D | SDL_kmsdrmvideo.h | 41 int drm_fd; /* DRM file desc */ member 82 int drm_fd; /* DRM file desc */ member
|
Completed in 7 milliseconds