Home
last modified time | relevance | path

Searched refs:evctx (Results 1 – 6 of 6) sorted by relevance

/external/libdrm/tests/vbltest/
Dvbltest.c105 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/
Dexynos_drm.c408 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/
Dexynos_fimg2d_event.c40 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/
Dmodetest.c1207 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/
Dxf86drmMode.c886 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()
Dxf86drm.h753 extern int drmHandleEvent(int fd, drmEventContextPtr evctx);