Lines Matching refs:dri2
722 { __DRI_DRI2, 2, offsetof(struct dri2_egl_display, dri2) },
912 } else if (dri2_dpy->dri2) { in dri2_setup_screen()
913 api_mask = dri2_dpy->dri2->getAPIMask(dri2_dpy->dri_screen); in dri2_setup_screen()
932 assert(dri2_dpy->image_driver || dri2_dpy->dri2 || dri2_dpy->swrast); in dri2_setup_screen()
952 (dri2_dpy->dri2 && dri2_dpy->dri2->base.version >= 3) || in dri2_setup_screen()
1079 } else if (dri2_dpy->dri2) { in dri2_create_screen()
1080 if (dri2_dpy->dri2->base.version >= 4) { in dri2_create_screen()
1082 dri2_dpy->dri2->createNewScreen2(0, dri2_dpy->fd, in dri2_create_screen()
1088 dri2_dpy->dri2->createNewScreen(0, dri2_dpy->fd, in dri2_create_screen()
1124 if (dri2_dpy->image_driver || dri2_dpy->dri2) in dri2_setup_extensions()
1292 dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, att, format, in dri2_egl_surface_alloc_local_buffer()
1307 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_egl_surface_free_local_buffers()
1592 } else if (dri2_dpy->dri2) { in dri2_create_context()
1593 if (dri2_dpy->dri2->base.version >= 3) { in dri2_create_context()
1595 dri2_dpy->dri2->createContextAttribs(dri2_dpy->dri_screen, in dri2_create_context()
1606 dri2_dpy->dri2->createNewContextForAPI(dri2_dpy->dri_screen, in dri2_create_context()
1745 else if (dri2_dpy->dri2) in dri2_create_drawable()
1746 createNewDrawable = dri2_dpy->dri2->createNewDrawable; in dri2_create_drawable()