Lines Matching refs:disp
187 _EGLDisplay *dispList, *disp;
195 disp = dispList;
199 if (disp->ResourceLists[i]) {
200 _eglLog(_EGL_DEBUG, "Display %p is destroyed with resources", disp);
205 free(disp);
218 _EGLDisplay *disp;
226 disp = _eglGlobal.DisplayList;
227 while (disp) {
228 if (disp->Platform == plat && disp->PlatformDisplay == plat_dpy)
230 disp = disp->Next;
234 if (!disp) {
235 disp = calloc(1, sizeof(_EGLDisplay));
236 if (disp) {
237 mtx_init(&disp->Mutex, mtx_plain);
238 disp->Platform = plat;
239 disp->PlatformDisplay = plat_dpy;
242 disp->Next = _eglGlobal.DisplayList;
243 _eglGlobal.DisplayList = disp;
249 return disp;
308 _eglCleanupDisplay(_EGLDisplay *disp)
310 if (disp->Configs) {
311 _eglDestroyArray(disp->Configs, free);
312 disp->Configs = NULL;
344 _eglCheckResource(void *res, _EGLResourceType type, _EGLDisplay *disp)
346 _EGLResource *list = disp->ResourceLists[type];
353 assert(list->Display == disp);
371 _eglInitResource(_EGLResource *res, EGLint size, _EGLDisplay *disp)
374 res->Display = disp;