Searched refs:evctx (Results 1 – 6 of 6) sorted by relevance
/external/libdrm/tests/vbltest/ |
D | vbltest.c | 105 drmEventContext evctx; in main() local 159 memset(&evctx, 0, sizeof evctx); in main() 160 evctx.version = DRM_EVENT_CONTEXT_VERSION; in main() 161 evctx.vblank_handler = vblank_handler; in main() 162 evctx.page_flip_handler = NULL; in main() 182 ret = drmHandleEvent(fd, &evctx); in main()
|
/external/libdrm/exynos/ |
D | exynos_drm.c | 408 drmEventContextPtr evctx = &ctx->base; in exynos_handle_event() local 423 if (evctx->version < 1 || in exynos_handle_event() 424 evctx->vblank_handler == NULL) in exynos_handle_event() 427 evctx->vblank_handler(dev->fd, in exynos_handle_event() 434 if (evctx->version < 2 || in exynos_handle_event() 435 evctx->page_flip_handler == NULL) in exynos_handle_event() 438 evctx->page_flip_handler(dev->fd, in exynos_handle_event() 445 exynos_handle_vendor(dev->fd, e, evctx); in exynos_handle_event()
|
/external/libdrm/tests/exynos/ |
D | exynos_fimg2d_event.c | 40 struct exynos_event_context evctx; member 64 evhandler->evctx.base.version = 2; in setup_g2d_event_handler() 65 evhandler->evctx.version = 1; in setup_g2d_event_handler() 66 evhandler->evctx.g2d_event_handler = g2d_event_handler; in setup_g2d_event_handler() 89 exynos_handle_event(data->dev, &data->evhandler.evctx); in threadfunc()
|
/external/libdrm/tests/modetest/ |
D | modetest.c | 1207 drmEventContext evctx; in test_page_flip() local 1245 memset(&evctx, 0, sizeof evctx); in test_page_flip() 1246 evctx.version = DRM_EVENT_CONTEXT_VERSION; in test_page_flip() 1247 evctx.vblank_handler = NULL; in test_page_flip() 1248 evctx.page_flip_handler = page_flip_handler; in test_page_flip() 1284 drmHandleEvent(dev->fd, &evctx); in test_page_flip()
|
/external/libdrm/ |
D | xf86drmMode.c | 886 int drmHandleEvent(int fd, drmEventContextPtr evctx) in drmHandleEvent() argument 907 if (evctx->version < 1 || in drmHandleEvent() 908 evctx->vblank_handler == NULL) in drmHandleEvent() 911 evctx->vblank_handler(fd, in drmHandleEvent() 918 if (evctx->version < 2 || in drmHandleEvent() 919 evctx->page_flip_handler == NULL) in drmHandleEvent() 922 evctx->page_flip_handler(fd, in drmHandleEvent()
|
D | xf86drm.h | 753 extern int drmHandleEvent(int fd, drmEventContextPtr evctx);
|