Home
last modified time | relevance | path

Searched refs:err (Results 1 – 7 of 7) sorted by relevance

/lvgl-3.5.0/src/draw/nxp/vglite/
Dlv_draw_vglite_line.c67 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()
115err = 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()
[all …]
Dlv_draw_vglite_rect.c95 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()
171err = vg_lite_draw(vgbuf, &path, VG_LITE_FILL_EVEN_ODD, &matrix, VG_LITE_BLEND_SRC_OVER, vgcol); in lv_gpu_nxp_vglite_draw_bg()
[all …]
Dlv_vglite_utils.h122 #define VG_LITE_ERR_RETURN_INV(err, fmt, ...) \ argument
124 if(err != VG_LITE_SUCCESS) { \
126 err, ##__VA_ARGS__); \
131 #define VG_LITE_ERR_RETURN_INV(err, fmt, ...) \ argument
133 if(err != VG_LITE_SUCCESS) { \
Dlv_draw_vglite_blend.c169 vg_lite_error_t err = VG_LITE_SUCCESS; in lv_gpu_nxp_vglite_fill() local
186 err = vg_lite_clear(vgbuf, &rect, vgcol); in lv_gpu_nxp_vglite_fill()
187 VG_LITE_ERR_RETURN_INV(err, "Clear failed."); in lv_gpu_nxp_vglite_fill()
204 err = vg_lite_init_path(&path, VG_LITE_S32, VG_LITE_LOW, sizeof(path_data), path_data, in lv_gpu_nxp_vglite_fill()
207 VG_LITE_ERR_RETURN_INV(err, "Init path failed."); in lv_gpu_nxp_vglite_fill()
213err = vg_lite_draw(vgbuf, &path, VG_LITE_FILL_EVEN_ODD, &matrix, VG_LITE_BLEND_SRC_OVER, vgcol); in lv_gpu_nxp_vglite_fill()
214 VG_LITE_ERR_RETURN_INV(err, "Draw rectangle failed."); in lv_gpu_nxp_vglite_fill()
219 err = vg_lite_clear_path(&path); in lv_gpu_nxp_vglite_fill()
220 VG_LITE_ERR_RETURN_INV(err, "Clear path failed."); in lv_gpu_nxp_vglite_fill()
462 vg_lite_error_t err = VG_LITE_SUCCESS; in lv_vglite_blit_single() local
[all …]
Dlv_draw_vglite_arc.c109 vg_lite_error_t err = VG_LITE_SUCCESS; in lv_gpu_nxp_vglite_draw_arc() local
207err = vg_lite_init_path(&path, VG_LITE_S32, VG_LITE_HIGH, (uint32_t)pidx * sizeof(int32_t), arc_pa… in lv_gpu_nxp_vglite_draw_arc()
210 VG_LITE_ERR_RETURN_INV(err, "Init path failed."); in lv_gpu_nxp_vglite_draw_arc()
220 err = vg_lite_draw(vgbuf, &path, VG_LITE_FILL_NON_ZERO, &matrix, VG_LITE_BLEND_SRC_OVER, vgcol); in lv_gpu_nxp_vglite_draw_arc()
221 VG_LITE_ERR_RETURN_INV(err, "Draw arc failed."); in lv_gpu_nxp_vglite_draw_arc()
226 err = vg_lite_clear_path(&path); in lv_gpu_nxp_vglite_draw_arc()
227 VG_LITE_ERR_RETURN_INV(err, "Clear path failed."); in lv_gpu_nxp_vglite_draw_arc()
/lvgl-3.5.0/env_support/rt-thread/
Dlv_rt_thread_port.c69 rt_err_t err; in lvgl_thread_init() local
71 err = rt_thread_init(&lvgl_thread, "LVGL", lvgl_thread_entry, RT_NULL, in lvgl_thread_init()
73 if(err != RT_EOK) in lvgl_thread_init()
/lvgl-3.5.0/tests/unity/
Dunity_support.c84 bool err = false; in lv_test_assert_img_eq() local
102 err = true; in lv_test_assert_img_eq()
107 if(err) break; in lv_test_assert_img_eq()
110 if(err) { in lv_test_assert_img_eq()
154 return !err; in lv_test_assert_img_eq()