Home
last modified time | relevance | path

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

/lvgl-3.7.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()
124 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()
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()
[all …]
Dlv_vglite_utils.h137 #define VG_LITE_ERR_RETURN_INV(err, fmt, ...) \ argument
139 if(err != VG_LITE_SUCCESS) { \
141 err, ##__VA_ARGS__); \
146 #define VG_LITE_ERR_RETURN_INV(err, fmt, ...) \ argument
148 if(err != VG_LITE_SUCCESS) { \
Dlv_draw_vglite_blend.c153 vg_lite_error_t err = VG_LITE_SUCCESS; in lv_gpu_nxp_vglite_fill() local
170 err = vg_lite_clear(vgbuf, &rect, vgcol); in lv_gpu_nxp_vglite_fill()
171 VG_LITE_ERR_RETURN_INV(err, "Clear failed."); in lv_gpu_nxp_vglite_fill()
188 err = vg_lite_init_path(&path, VG_LITE_S32, VG_LITE_LOW, sizeof(path_data), path_data, in lv_gpu_nxp_vglite_fill()
191 VG_LITE_ERR_RETURN_INV(err, "Init path failed."); in lv_gpu_nxp_vglite_fill()
197err = vg_lite_draw(vgbuf, &path, VG_LITE_FILL_EVEN_ODD, &matrix, VG_LITE_BLEND_SRC_OVER, vgcol); in lv_gpu_nxp_vglite_fill()
198 VG_LITE_ERR_RETURN_INV(err, "Draw rectangle failed."); in lv_gpu_nxp_vglite_fill()
203 err = vg_lite_clear_path(&path); in lv_gpu_nxp_vglite_fill()
204 VG_LITE_ERR_RETURN_INV(err, "Clear path failed."); in lv_gpu_nxp_vglite_fill()
284 vg_lite_error_t err = VG_LITE_SUCCESS; in lv_gpu_nxp_vglite_buffer_copy() 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()
222 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()
223 VG_LITE_ERR_RETURN_INV(err, "Draw arc failed."); in lv_gpu_nxp_vglite_draw_arc()
230 err = vg_lite_clear_path(&path); in lv_gpu_nxp_vglite_draw_arc()
231 VG_LITE_ERR_RETURN_INV(err, "Clear path failed."); in lv_gpu_nxp_vglite_draw_arc()
/lvgl-3.7.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.7.0/tests/unity/
Dunity_support.c97 bool err = false; in lv_test_assert_img_eq() local
115 err = true; in lv_test_assert_img_eq()
120 if(err) break; in lv_test_assert_img_eq()
123 if(err) { in lv_test_assert_img_eq()
136 return !err; in lv_test_assert_img_eq()
/lvgl-3.7.0/docs/get-started/platforms/
Drenesas.md98 rt_err_t err;
101 err = rt_thread_init(&lvgl_thread, "LVGL", lvgl_thread_entry, RT_NULL,
103 if(err != RT_EOK)