Searched refs:evctx (Results 1 – 7 of 7) sorted by relevance
/external/libdrm/tests/vbltest/ |
D | vbltest.c | 101 drmEventContext evctx; in main() local 155 memset(&evctx, 0, sizeof evctx); in main() 156 evctx.version = DRM_EVENT_CONTEXT_VERSION; in main() 157 evctx.vblank_handler = vblank_handler; in main() 158 evctx.page_flip_handler = NULL; in main() 178 ret = drmHandleEvent(fd, &evctx); in main()
|
/external/libdrm/exynos/ |
D | exynos_drm.c | 404 drmEventContextPtr evctx = &ctx->base; in exynos_handle_event() local 419 if (evctx->version < 1 || in exynos_handle_event() 420 evctx->vblank_handler == NULL) in exynos_handle_event() 423 evctx->vblank_handler(dev->fd, in exynos_handle_event() 430 if (evctx->version < 2 || in exynos_handle_event() 431 evctx->page_flip_handler == NULL) in exynos_handle_event() 434 evctx->page_flip_handler(dev->fd, in exynos_handle_event() 441 exynos_handle_vendor(dev->fd, e, evctx); in exynos_handle_event()
|
/external/libdrm/tests/exynos/ |
D | exynos_fimg2d_event.c | 47 struct exynos_event_context evctx; member 71 evhandler->evctx.base.version = 2; in setup_g2d_event_handler() 72 evhandler->evctx.version = 1; in setup_g2d_event_handler() 73 evhandler->evctx.g2d_event_handler = g2d_event_handler; in setup_g2d_event_handler() 96 exynos_handle_event(data->dev, &data->evhandler.evctx); in threadfunc()
|
/external/libxcam/xcore/ |
D | drm_display.cpp | 472 drmEventContext evctx; in page_flip() local 475 memset(&evctx, 0, sizeof evctx); in page_flip() 476 evctx.version = DRM_EVENT_CONTEXT_VERSION; in page_flip() 477 evctx.vblank_handler = NULL; in page_flip() 482 drmHandleEvent(_fd, &evctx); in page_flip()
|
/external/libdrm/ |
D | xf86drmMode.c | 881 int drmHandleEvent(int fd, drmEventContextPtr evctx) in drmHandleEvent() argument 904 if (evctx->version < 1 || in drmHandleEvent() 905 evctx->vblank_handler == NULL) in drmHandleEvent() 908 evctx->vblank_handler(fd, in drmHandleEvent() 918 if (evctx->version >= 3 && evctx->page_flip_handler2) in drmHandleEvent() 919 evctx->page_flip_handler2(fd, in drmHandleEvent() 925 else if (evctx->version >= 2 && evctx->page_flip_handler) in drmHandleEvent() 926 evctx->page_flip_handler(fd, in drmHandleEvent() 934 if (evctx->version >= 4 && evctx->sequence_handler) in drmHandleEvent() 935 evctx->sequence_handler(fd, in drmHandleEvent()
|
D | xf86drm.h | 770 extern int drmHandleEvent(int fd, drmEventContextPtr evctx);
|
/external/libdrm/tests/modetest/ |
D | modetest.c | 1301 drmEventContext evctx; in test_page_flip() local 1339 memset(&evctx, 0, sizeof evctx); in test_page_flip() 1340 evctx.version = DRM_EVENT_CONTEXT_VERSION; in test_page_flip() 1341 evctx.vblank_handler = NULL; in test_page_flip() 1342 evctx.page_flip_handler = page_flip_handler; in test_page_flip() 1378 drmHandleEvent(dev->fd, &evctx); in test_page_flip()
|