Lines Matching refs:renderer
49 SDL_Renderer * renderer = ctx->renderer; in lv_draw_sdl_layer_init() local
54 transform_ctx->orig_target = SDL_GetRenderTarget(renderer); in lv_draw_sdl_layer_init()
72 SDL_SetRenderTarget(renderer, transform_ctx->target); in lv_draw_sdl_layer_init()
75 SDL_SetRenderDrawBlendMode(renderer, SDL_BLENDMODE_NONE); in lv_draw_sdl_layer_init()
76 SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0); in lv_draw_sdl_layer_init()
77 SDL_RenderFillRect(renderer, NULL); in lv_draw_sdl_layer_init()
78 SDL_SetRenderDrawBlendMode(renderer, SDL_BLENDMODE_BLEND); in lv_draw_sdl_layer_init()
94 SDL_Renderer * renderer = ctx->renderer; in lv_draw_sdl_layer_blend() local
105 SDL_SetRenderTarget(renderer, transform_ctx->orig_target); in lv_draw_sdl_layer_blend()
111 SDL_RenderSetClipRect(renderer, &clip_rect); in lv_draw_sdl_layer_blend()
113 SDL_RenderCopyEx(renderer, transform_ctx->target, &transform_ctx->target_rect, &trans_rect, in lv_draw_sdl_layer_blend()
115 SDL_RenderSetClipRect(renderer, NULL); in lv_draw_sdl_layer_blend()