Searched refs:evctx (Results 1 – 4 of 4) sorted by relevance
/external/libdrm/tests/vbltest/ |
D | vbltest.c | 110 drmEventContext evctx; in main() local 170 memset(&evctx, 0, sizeof evctx); in main() 171 evctx.version = DRM_EVENT_CONTEXT_VERSION; in main() 172 evctx.vblank_handler = vblank_handler; in main() 173 evctx.page_flip_handler = NULL; in main() 194 ret = drmHandleEvent(fd, &evctx); in main()
|
/external/libdrm/ |
D | xf86drmMode.c | 845 int drmHandleEvent(int fd, drmEventContextPtr evctx) in drmHandleEvent() argument 866 if (evctx->version < 1 || in drmHandleEvent() 867 evctx->vblank_handler == NULL) in drmHandleEvent() 870 evctx->vblank_handler(fd, in drmHandleEvent() 877 if (evctx->version < 2 || in drmHandleEvent() 878 evctx->page_flip_handler == NULL) in drmHandleEvent() 881 evctx->page_flip_handler(fd, in drmHandleEvent()
|
D | xf86drm.h | 734 extern int drmHandleEvent(int fd, drmEventContextPtr evctx);
|
/external/libdrm/tests/modetest/ |
D | modetest.c | 1173 drmEventContext evctx; in test_page_flip() local 1211 memset(&evctx, 0, sizeof evctx); in test_page_flip() 1212 evctx.version = DRM_EVENT_CONTEXT_VERSION; in test_page_flip() 1213 evctx.vblank_handler = NULL; in test_page_flip() 1214 evctx.page_flip_handler = page_flip_handler; in test_page_flip() 1251 drmHandleEvent(dev->fd, &evctx); in test_page_flip()
|