Lines Matching refs:texture
18 void **texture, void **read_texture, void **background_texture, in sdl_display_init_bottom() argument
50 *texture = SDL_CreateTexture(*renderer, SDL_PIXELFORMAT_ARGB8888, in sdl_display_init_bottom()
52 if (*texture == NULL) { in sdl_display_init_bottom()
56 SDL_SetTextureBlendMode(*texture, SDL_BLENDMODE_BLEND); in sdl_display_init_bottom()
106 const uint16_t y, void *renderer, void *mutex, void *texture, in sdl_display_write_bottom() argument
124 SDL_UpdateTexture(texture, &rect, buf, 4 * rect.w); in sdl_display_write_bottom()
129 SDL_RenderCopy(renderer, texture, NULL, NULL); in sdl_display_write_bottom()
139 void *mutex, void *texture, void *read_texture) in sdl_display_read_bottom() argument
158 SDL_RenderCopy(renderer, texture, NULL, NULL); in sdl_display_read_bottom()
168 void sdl_display_blanking_off_bottom(void *renderer, void *texture, void *background_texture) in sdl_display_blanking_off_bottom() argument
172 SDL_RenderCopy(renderer, texture, NULL, NULL); in sdl_display_blanking_off_bottom()
182 void sdl_display_cleanup_bottom(void **window, void **renderer, void **mutex, void **texture, in sdl_display_cleanup_bottom() argument
195 if (*texture != NULL) { in sdl_display_cleanup_bottom()
196 SDL_DestroyTexture(*texture); in sdl_display_cleanup_bottom()
197 *texture = NULL; in sdl_display_cleanup_bottom()