mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
letter draw optimization
This commit is contained in:
parent
1a70d98ba4
commit
45c4970fc6
@ -334,7 +334,7 @@ void lv_draw_letter(const lv_point_t * pos_p, const lv_area_t * mask_p, const lv
|
||||
disp->driver.set_px_cb(&disp->driver, (uint8_t *)vdb->buf_act, vdb_width,
|
||||
(col + pos_x) - vdb->area.x1,
|
||||
(row + pos_y) - vdb->area.y1, color, px_opa);
|
||||
} else {
|
||||
} else if (vdb_buf_tmp->full != color.full) {
|
||||
if(px_opa > LV_OPA_MAX) *vdb_buf_tmp = color;
|
||||
else if(px_opa > LV_OPA_MIN) {
|
||||
#if LV_COLOR_SCREEN_TRANSP == 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user