Lines Matching refs:err

95     vg_lite_error_t err = VG_LITE_SUCCESS;  in lv_gpu_nxp_vglite_draw_bg()  local
112 err = vg_lite_init_path(&path, VG_LITE_S32, path_quality, path_data_size, path_data, in lv_gpu_nxp_vglite_draw_bg()
115 VG_LITE_ERR_RETURN_INV(err, "Init path failed."); in lv_gpu_nxp_vglite_draw_bg()
142 err = vg_lite_init_grad(&gradient); in lv_gpu_nxp_vglite_draw_bg()
143 VG_LITE_ERR_RETURN_INV(err, "Init gradient failed"); in lv_gpu_nxp_vglite_draw_bg()
145 err = vg_lite_set_grad(&gradient, cnt, colors, stops); in lv_gpu_nxp_vglite_draw_bg()
146 VG_LITE_ERR_RETURN_INV(err, "Set gradient failed."); in lv_gpu_nxp_vglite_draw_bg()
148 err = vg_lite_update_grad(&gradient); in lv_gpu_nxp_vglite_draw_bg()
149 VG_LITE_ERR_RETURN_INV(err, "Update gradient failed."); in lv_gpu_nxp_vglite_draw_bg()
173err = vg_lite_draw(vgbuf, &path, VG_LITE_FILL_EVEN_ODD, &matrix, VG_LITE_BLEND_SRC_OVER, vgcol); in lv_gpu_nxp_vglite_draw_bg()
176err = vg_lite_draw_gradient(vgbuf, &path, VG_LITE_FILL_EVEN_ODD, &matrix, &gradient, VG_LITE_BLEND… in lv_gpu_nxp_vglite_draw_bg()
178 VG_LITE_ERR_RETURN_INV(err, "Draw gradient failed."); in lv_gpu_nxp_vglite_draw_bg()
185 err = vg_lite_clear_path(&path); in lv_gpu_nxp_vglite_draw_bg()
186 VG_LITE_ERR_RETURN_INV(err, "Clear path failed."); in lv_gpu_nxp_vglite_draw_bg()
189 err = vg_lite_clear_grad(&gradient); in lv_gpu_nxp_vglite_draw_bg()
190 VG_LITE_ERR_RETURN_INV(err, "Clear gradient failed."); in lv_gpu_nxp_vglite_draw_bg()
199 vg_lite_error_t err = VG_LITE_SUCCESS; in lv_gpu_nxp_vglite_draw_border_generic() local
233 err = vg_lite_init_path(&path, VG_LITE_S32, path_quality, path_data_size, path_data, in lv_gpu_nxp_vglite_draw_border_generic()
236 VG_LITE_ERR_RETURN_INV(err, "Init path failed."); in lv_gpu_nxp_vglite_draw_border_generic()
261 err = vg_lite_set_draw_path_type(&path, VG_LITE_DRAW_STROKE_PATH); in lv_gpu_nxp_vglite_draw_border_generic()
262 VG_LITE_ERR_RETURN_INV(err, "Set draw path type failed."); in lv_gpu_nxp_vglite_draw_border_generic()
264 err = vg_lite_set_stroke(&path, cap_style, join_style, line_width, 8, NULL, 0, 0, vgcol); in lv_gpu_nxp_vglite_draw_border_generic()
265 VG_LITE_ERR_RETURN_INV(err, "Set stroke failed."); in lv_gpu_nxp_vglite_draw_border_generic()
267 err = vg_lite_update_stroke(&path); in lv_gpu_nxp_vglite_draw_border_generic()
268 VG_LITE_ERR_RETURN_INV(err, "Update stroke failed."); in lv_gpu_nxp_vglite_draw_border_generic()
272 err = vg_lite_draw(vgbuf, &path, VG_LITE_FILL_NON_ZERO, &matrix, vglite_blend_mode, vgcol); in lv_gpu_nxp_vglite_draw_border_generic()
273 VG_LITE_ERR_RETURN_INV(err, "Draw border failed."); in lv_gpu_nxp_vglite_draw_border_generic()
280 err = vg_lite_clear_path(&path); in lv_gpu_nxp_vglite_draw_border_generic()
281 VG_LITE_ERR_RETURN_INV(err, "Clear path failed."); in lv_gpu_nxp_vglite_draw_border_generic()