Home
last modified time | relevance | path

Searched refs:wdata (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/pandora/
A DSDL_pandora.c204 SDL_WindowData *wdata; in PND_createwindow() local
208 if (wdata == NULL) { in PND_createwindow()
612 wdata->gles_configs[wdata->gles_config], NULL, NULL); in PND_gl_createcontext()
633 wdata->gles_configs[wdata->gles_config], in PND_gl_createcontext()
638 wdata->gles_configs[wdata->gles_config], in PND_gl_createcontext()
651 wdata->gles_surface, wdata->gles_context); in PND_gl_createcontext()
670 wdata->gles_configs[wdata->gles_config], in PND_gl_createcontext()
677 wdata->gles_configs[wdata->gles_config], in PND_gl_createcontext()
686 wdata->gles_configs[wdata->gles_config], in PND_gl_createcontext()
693 wdata->gles_configs[wdata->gles_config], in PND_gl_createcontext()
[all …]
/AliOS-Things-master/components/SDL2/src/video/emscripten/
A DSDL_emscriptenvideo.c207 SDL_WindowData *wdata; in Emscripten_CreateWindow() local
213 if (wdata == NULL) { in Emscripten_CreateWindow()
217 wdata->canvas_id = SDL_strdup("#canvas"); in Emscripten_CreateWindow()
222 wdata->pixel_ratio = 1.0f; in Emscripten_CreateWindow()
236 scaled_w = css_w * wdata->pixel_ratio; in Emscripten_CreateWindow()
237 scaled_h = css_h * wdata->pixel_ratio; in Emscripten_CreateWindow()
244 if (!wdata->external_size) { in Emscripten_CreateWindow()
245 if (wdata->pixel_ratio != 1.0f) { in Emscripten_CreateWindow()
266 wdata->window = window; in Emscripten_CreateWindow()
269 window->driverdata = wdata; in Emscripten_CreateWindow()
[all …]
/AliOS-Things-master/components/SDL2/src/video/raspberry/
A DSDL_rpiopengles.c47 SDL_WindowData *wdata = ((SDL_WindowData *) window->driverdata); in RPI_GLES_SwapWindow() local
49 if (!(_this->egl_data->eglSwapBuffers(_this->egl_data->egl_display, wdata->egl_surface))) { in RPI_GLES_SwapWindow()
56 if (wdata->double_buffer) { in RPI_GLES_SwapWindow()
57 SDL_LockMutex(wdata->vsync_cond_mutex); in RPI_GLES_SwapWindow()
58 SDL_CondWait(wdata->vsync_cond, wdata->vsync_cond_mutex); in RPI_GLES_SwapWindow()
59 SDL_UnlockMutex(wdata->vsync_cond_mutex); in RPI_GLES_SwapWindow()
A DSDL_rpivideo.c255 SDL_LockMutex(wdata->vsync_cond_mutex); in RPI_vsync_callback()
256 SDL_CondSignal(wdata->vsync_cond); in RPI_vsync_callback()
257 SDL_UnlockMutex(wdata->vsync_cond_mutex); in RPI_vsync_callback()
263 SDL_WindowData *wdata; in RPI_CreateWindow() local
280 if (wdata == NULL) { in RPI_CreateWindow()
320 wdata->dispman_window.width = window->w; in RPI_CreateWindow()
321 wdata->dispman_window.height = window->h; in RPI_CreateWindow()
329 wdata->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType) &wdata->dispman_window); in RPI_CreateWindow()
336 wdata->double_buffer = SDL_FALSE; in RPI_CreateWindow()
340 wdata->double_buffer = SDL_TRUE; in RPI_CreateWindow()
[all …]
/AliOS-Things-master/components/SDL2/src/video/psp/
A DSDL_pspvideo.c221 SDL_WindowData *wdata; in PSP_CreateWindow() local
224 wdata = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData)); in PSP_CreateWindow()
225 if (wdata == NULL) { in PSP_CreateWindow()
230 window->driverdata = wdata; in PSP_CreateWindow()
A DSDL_pspgl.c78 SDL_WindowData *wdata = (SDL_WindowData *) window->driverdata; in PSP_GL_CreateContext() local
92 wdata->uses_gles = SDL_TRUE; in PSP_GL_CreateContext()

Completed in 12 milliseconds