Lines Matching defs:texture
48 SDL_Texture *texture;
105 /* compute texture width and height from the codec context information */
141 if (sdl->texture)
142 SDL_DestroyTexture(sdl->texture);
143 sdl->texture = NULL;
197 /* resize texture to width and height from the codec context information */
222 sdl->texture = SDL_CreateTexture(sdl->renderer, sdl->texture_fmt, SDL_TEXTUREACCESS_STREAMING,
225 if (!sdl->texture) {
303 ret = SDL_UpdateYUVTexture(sdl->texture, NULL,
324 ret = SDL_UpdateTexture(sdl->texture, NULL, data[0], linesize[0]);
332 SDL_RenderCopy(sdl->renderer, sdl->texture, NULL, &sdl->texture_rect);