Lines Matching refs:err
67 vg_lite_error_t err = VG_LITE_SUCCESS; in lv_gpu_nxp_vglite_draw_line() local
98 err = vg_lite_init_path(&path, VG_LITE_S32, VG_LITE_HIGH, sizeof(line_path), line_path, in lv_gpu_nxp_vglite_draw_line()
101 VG_LITE_ERR_RETURN_INV(err, "Init path failed."); in lv_gpu_nxp_vglite_draw_line()
112 err = vg_lite_set_draw_path_type(&path, VG_LITE_DRAW_STROKE_PATH); in lv_gpu_nxp_vglite_draw_line()
113 VG_LITE_ERR_RETURN_INV(err, "Set draw path type failed."); in lv_gpu_nxp_vglite_draw_line()
115 …err = vg_lite_set_stroke(&path, cap_style, join_style, width, 8, stroke_dash_pattern, stroke_dash_… in lv_gpu_nxp_vglite_draw_line()
117 VG_LITE_ERR_RETURN_INV(err, "Set stroke failed."); in lv_gpu_nxp_vglite_draw_line()
119 err = vg_lite_update_stroke(&path); in lv_gpu_nxp_vglite_draw_line()
120 VG_LITE_ERR_RETURN_INV(err, "Update stroke failed."); in lv_gpu_nxp_vglite_draw_line()
122 err = vg_lite_draw(vgbuf, &path, VG_LITE_FILL_NON_ZERO, &matrix, vglite_blend_mode, vgcol); in lv_gpu_nxp_vglite_draw_line()
123 VG_LITE_ERR_RETURN_INV(err, "Draw line failed."); in lv_gpu_nxp_vglite_draw_line()
128 err = vg_lite_clear_path(&path); in lv_gpu_nxp_vglite_draw_line()
129 VG_LITE_ERR_RETURN_INV(err, "Clear path failed."); in lv_gpu_nxp_vglite_draw_line()