Lines Matching refs:transform_ctx

51     lv_draw_sdl_layer_ctx_t * transform_ctx = (lv_draw_sdl_layer_ctx_t *) layer_ctx;  in lv_draw_sdl_layer_init()  local
53 transform_ctx->flags = flags; in lv_draw_sdl_layer_init()
54 transform_ctx->orig_target = SDL_GetRenderTarget(renderer); in lv_draw_sdl_layer_init()
61transform_ctx->target = lv_draw_sdl_composite_texture_obtain(ctx, texture_id, target_w, target_h, in lv_draw_sdl_layer_init()
62 &transform_ctx->target_in_cache); in lv_draw_sdl_layer_init()
63 transform_ctx->target_rect.x = 0; in lv_draw_sdl_layer_init()
64 transform_ctx->target_rect.y = 0; in lv_draw_sdl_layer_init()
65 transform_ctx->target_rect.w = target_w; in lv_draw_sdl_layer_init()
66 transform_ctx->target_rect.h = target_h; in lv_draw_sdl_layer_init()
71 SDL_SetTextureBlendMode(transform_ctx->target, SDL_BLENDMODE_BLEND); in lv_draw_sdl_layer_init()
72 SDL_SetRenderTarget(renderer, transform_ctx->target); in lv_draw_sdl_layer_init()
92 lv_draw_sdl_layer_ctx_t * transform_ctx = (lv_draw_sdl_layer_ctx_t *) layer_ctx; in lv_draw_sdl_layer_blend() local
98 if(transform_ctx->flags & LV_DRAW_LAYER_FLAG_CAN_SUBDIVIDE) { in lv_draw_sdl_layer_blend()
105 SDL_SetRenderTarget(renderer, transform_ctx->orig_target); in lv_draw_sdl_layer_blend()
112 SDL_SetTextureAlphaMod(transform_ctx->target, draw_dsc->opa); 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()
121 lv_draw_sdl_layer_ctx_t * transform_ctx = (lv_draw_sdl_layer_ctx_t *) layer_ctx; in lv_draw_sdl_layer_destroy() local
122 if(!transform_ctx->target_in_cache && transform_ctx->target != NULL) { in lv_draw_sdl_layer_destroy()
124 SDL_DestroyTexture(transform_ctx->target); in lv_draw_sdl_layer_destroy()