Home | History | Annotate | Download | only in main

Lines Matching defs:dpy

221    _EGLDisplay *dpyList, *dpy;
229 dpy = dpyList;
233 if (dpy->ResourceLists[i]) {
234 _eglLog(_EGL_DEBUG, "Display %p is destroyed with resources", dpy);
239 free(dpy);
252 _EGLDisplay *dpy;
260 dpy = _eglGlobal.DisplayList;
261 while (dpy) {
262 if (dpy->Platform == plat && dpy->PlatformDisplay == plat_dpy)
264 dpy = dpy->Next;
268 if (!dpy) {
269 dpy = (_EGLDisplay *) calloc(1, sizeof(_EGLDisplay));
270 if (dpy) {
271 _eglInitMutex(&dpy->Mutex);
272 dpy->Platform = plat;
273 dpy->PlatformDisplay = plat_dpy;
276 dpy->Next = _eglGlobal.DisplayList;
277 _eglGlobal.DisplayList = dpy;
283 return dpy;
337 _eglCheckDisplayHandle(EGLDisplay dpy)
344 if (cur == (_EGLDisplay *) dpy)
358 _eglCheckResource(void *res, _EGLResourceType type, _EGLDisplay *dpy)
360 _EGLResource *list = dpy->ResourceLists[type];
367 assert(list->Display == dpy);
381 _eglInitResource(_EGLResource *res, EGLint size, _EGLDisplay *dpy)
384 res->Display = dpy;