Lines Matching refs:renderer

59     SDL_Renderer * renderer = sdl_ctx->renderer;  in lv_draw_sdl_draw_line()  local
98 SDL_RenderSetClipRect(renderer, &clip_rect); in lv_draw_sdl_draw_line()
100 SDL_RenderCopyEx(renderer, texture, &srcrect, &dstrect, angle, &center, 0); in lv_draw_sdl_draw_line()
101 SDL_RenderSetClipRect(renderer, NULL); in lv_draw_sdl_draw_line()
123 …SDL_Texture * texture = SDL_CreateTexture(sdl_ctx->renderer, LV_DRAW_SDL_TEXTURE_FORMAT, SDL_TEXTU… in line_texture_create()
125 SDL_Texture * target = SDL_GetRenderTarget(sdl_ctx->renderer); in line_texture_create()
126 SDL_SetRenderTarget(sdl_ctx->renderer, texture); in line_texture_create()
128 SDL_SetRenderDrawColor(sdl_ctx->renderer, 0xFF, 0xFF, 0xFF, 0x0); in line_texture_create()
130 SDL_SetRenderDrawBlendMode(sdl_ctx->renderer, SDL_BLENDMODE_NONE); in line_texture_create()
131 SDL_RenderFillRect(sdl_ctx->renderer, NULL); in line_texture_create()
132 SDL_SetRenderDrawBlendMode(sdl_ctx->renderer, SDL_BLENDMODE_BLEND); in line_texture_create()
133 SDL_SetRenderDrawColor(sdl_ctx->renderer, 0xFF, 0xFF, 0xFF, 0xFF); in line_texture_create()
135 SDL_RenderFillRect(sdl_ctx->renderer, &line_rect); in line_texture_create()
142 …SDL_Texture * round_texture = lv_draw_sdl_mask_dump_texture(sdl_ctx->renderer, &round_area, &mask_… in line_texture_create()
147 SDL_RenderCopy(sdl_ctx->renderer, round_texture, &round_src, &round_dst); in line_texture_create()
149 SDL_RenderCopy(sdl_ctx->renderer, round_texture, &round_src, &round_dst); in line_texture_create()
153 SDL_SetRenderTarget(sdl_ctx->renderer, target); in line_texture_create()