Searched refs:texture (Results 1 – 1 of 1) sorted by relevance
| /arch/sandbox/cpu/ |
| A D | sdl.c | 66 SDL_Texture *texture; member 114 SDL_DestroyTexture(sdl.texture); in sandbox_sdl_remove_display() 117 sdl.texture = NULL; in sandbox_sdl_remove_display() 177 sdl.texture = SDL_CreateTexture(sdl.renderer, log2_bpp == 4 ? in sandbox_sdl_init_display() 182 if (!sdl.texture) { in sandbox_sdl_init_display() 202 SDL_UpdateTexture(sdl.texture, NULL, lcd_base, sdl.pitch); in copy_to_texture() 215 ret = SDL_LockTexture(sdl.texture, NULL, &pixels, &pitch); in copy_to_texture() 236 SDL_UnlockTexture(sdl.texture); in copy_to_texture() 246 if (!sdl.texture) in sandbox_sdl_sync() 254 ret = SDL_RenderCopy(sdl.renderer, sdl.texture, NULL, NULL); in sandbox_sdl_sync()
|
Completed in 2 milliseconds