Lines Matching defs:dpy
581 _eglMatchAndInitialize(_EGLDisplay *dpy)
591 if (dpy->Driver) {
592 drv = dpy->Driver;
594 if (!drv->API.Initialize(drv, dpy))
608 if (mod->Driver->API.Initialize(mod->Driver, dpy)) {
627 _eglMatchDriver(_EGLDisplay *dpy, EGLBoolean test_only)
631 assert(!dpy->Initialized);
636 dpy->Options.TestOnly = test_only;
637 dpy->Options.UseFallback = EGL_FALSE;
639 best_drv = _eglMatchAndInitialize(dpy);
641 dpy->Options.UseFallback = EGL_TRUE;
642 best_drv = _eglMatchAndInitialize(dpy);
651 dpy->Driver = best_drv;
652 dpy->Initialized = EGL_TRUE;
669 _EGLDisplay *dpy = _eglLookupDisplay(egldpy);
670 if (!dpy || !_eglMatchDriver(dpy, EGL_TRUE))