Searched refs:phdata (Results 1 – 4 of 4) sorted by relevance
64 SDL_VideoData *phdata; in PND_create() local82 phdata = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData)); in PND_create()83 if (phdata == NULL) { in PND_create()89 device->driverdata = phdata; in PND_create()91 phdata->egl_initialized = SDL_TRUE; in PND_create()200 SDL_VideoData *phdata = (SDL_VideoData *) _this->driverdata; in PND_createwindow() local222 if (phdata->egl_display == EGL_NO_DISPLAY) { in PND_createwindow()223 phdata->egl_display = eglGetDisplay((NativeDisplayType) 0); in PND_createwindow()224 if (phdata->egl_display == EGL_NO_DISPLAY) { in PND_createwindow()228 initstatus = eglInitialize(phdata->egl_display, NULL, NULL); in PND_createwindow()[all …]
65 SDL_VideoData *phdata; in PSP_Create() local84 phdata = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData)); in PSP_Create()85 if (phdata == NULL) { in PSP_Create()95 SDL_free(phdata); in PSP_Create()100 device->driverdata = phdata; in PSP_Create()102 phdata->egl_initialized = SDL_TRUE; in PSP_Create()
186 SDL_VideoData *phdata = (SDL_VideoData *) _this->driverdata; in PSP_GL_DeleteContext() local189 if (phdata->egl_initialized != SDL_TRUE) { in PSP_GL_DeleteContext()
73 SDL_VideoData *phdata; in RPI_Create() local83 phdata = (SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData)); in RPI_Create()84 if (phdata == NULL) { in RPI_Create()90 device->driverdata = phdata; in RPI_Create()