Lines Matching refs:renderer
61 static SDL_Texture * upload_img_texture(SDL_Renderer * renderer, lv_img_decoder_dsc_t * dsc);
63 static SDL_Texture * upload_img_texture_fallback(SDL_Renderer * renderer, lv_img_decoder_dsc_t * ds…
219 *texture = upload_img_texture(ctx->renderer, dsc); in lv_draw_sdl_img_load_texture()
244 static SDL_Texture * upload_img_texture(SDL_Renderer * renderer, lv_img_decoder_dsc_t * dsc) in upload_img_texture() argument
247 return upload_img_texture_fallback(renderer, dsc); in upload_img_texture()
263 SDL_Texture * texture = SDL_CreateTextureFromSurface(renderer, surface); in upload_img_texture()
268 static SDL_Texture * upload_img_texture_fallback(SDL_Renderer * renderer, lv_img_decoder_dsc_t * ds… in upload_img_texture_fallback() argument
283 SDL_Texture * texture = SDL_CreateTextureFromSurface(renderer, surface); in upload_img_texture_fallback()
321 SDL_RenderSetClipRect(ctx->renderer, &clip_rect); in draw_img_simple()
325 …SDL_RenderCopyEx(ctx->renderer, texture, &src_rect, &dst_rect, draw_dsc->angle, &pivot, SDL_FLIP_N… in draw_img_simple()
327 SDL_RenderSetClipRect(ctx->renderer, NULL); in draw_img_simple()
374 SDL_RenderSetClipRect(ctx->renderer, &clip_rect); in draw_img_rounded()
375 SDL_RenderCopy(ctx->renderer, texture, &src_rect, &dst_rect); in draw_img_rounded()
377 SDL_RenderSetClipRect(ctx->renderer, NULL); in draw_img_rounded()
409 … img_frag = SDL_CreateTexture(ctx->renderer, LV_DRAW_SDL_TEXTURE_FORMAT, SDL_TEXTUREACCESS_TARGET, in img_rounded_frag_obtain()
413 SDL_Texture * old_target = SDL_GetRenderTarget(ctx->renderer); in img_rounded_frag_obtain()
414 SDL_SetRenderTarget(ctx->renderer, img_frag); in img_rounded_frag_obtain()
415 SDL_SetRenderDrawColor(ctx->renderer, 0, 0, 0, 0); in img_rounded_frag_obtain()
417 SDL_SetRenderDrawBlendMode(ctx->renderer, SDL_BLENDMODE_NONE); in img_rounded_frag_obtain()
418 SDL_RenderFillRect(ctx->renderer, NULL); in img_rounded_frag_obtain()
419 SDL_SetRenderDrawBlendMode(ctx->renderer, SDL_BLENDMODE_BLEND); in img_rounded_frag_obtain()
464 SDL_RenderSetClipRect(ctx->renderer, &cliprect); in img_rounded_frag_obtain()
465 SDL_RenderCopy(ctx->renderer, texture, &srcrect, &dstrect); in img_rounded_frag_obtain()
467 SDL_RenderSetClipRect(ctx->renderer, NULL); in img_rounded_frag_obtain()
471 SDL_SetRenderTarget(ctx->renderer, old_target); in img_rounded_frag_obtain()