Searched refs:offscreen_window (Results 1 – 2 of 2) sorted by relevance
34 OFFSCREEN_Window* offscreen_window = SDL_calloc(1, sizeof(OFFSCREEN_Window)); in OFFSCREEN_CreateWindow() local36 if (!offscreen_window) { in OFFSCREEN_CreateWindow()40 window->driverdata = offscreen_window; in OFFSCREEN_CreateWindow()50 offscreen_window->sdl_window = window; in OFFSCREEN_CreateWindow()58 offscreen_window->egl_surface = SDL_EGL_CreateOffscreenSurface(_this, window->w, window->h); in OFFSCREEN_CreateWindow()60 if (offscreen_window->egl_surface == EGL_NO_SURFACE) { in OFFSCREEN_CreateWindow()66 offscreen_window->egl_surface = EGL_NO_SURFACE; in OFFSCREEN_CreateWindow()75 OFFSCREEN_Window* offscreen_window = window->driverdata; in OFFSCREEN_DestroyWindow() local77 if (offscreen_window) { in OFFSCREEN_DestroyWindow()78 SDL_EGL_DestroySurface(_this, offscreen_window->egl_surface); in OFFSCREEN_DestroyWindow()[all …]
53 OFFSCREEN_Window* offscreen_window = window->driverdata; in OFFSCREEN_GL_CreateContext() local56 context = SDL_EGL_CreateContext(_this, offscreen_window->egl_surface); in OFFSCREEN_GL_CreateContext()
Completed in 4 milliseconds