-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(draw): Enable TSC Compression scheme for frame buffer in Nema acceleration #7509
base: master
Are you sure you want to change the base?
feat(draw): Enable TSC Compression scheme for frame buffer in Nema acceleration #7509
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First pass, I have a small comment.
|
||
lv_area_t blend_area; | ||
if(!lv_area_intersect(&blend_area, blend_dsc->blend_area, draw_unit->clip_area)) return; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this initial checking, but I'd like to see an extra information to aid people to track when the things go wrong here, simply putting log-err or log-warning would be helpful here.
Let's consider #7531 too, as it aims to solve the same issue. |
@kisvegabor |
TSC Compression for FB
While using NemaGFX to accelerate LVGL, we have the option to use ThinkSilicon's proprietary TSC compression algorithms to encode/decode the frame buffer in favor of memory consumption.
Steps to Enable
lv_display_set_color_format(display, LV_COLOR_FORMAT_NEMA_TSC12A);
lv_draw_sw_blend
function with the use of the define below inside inlv_conf.h
#define LV_DRAW_BLEND_CUSTOM LV_DRAW_BLEND_CUSTOM_NEMA_GFX
Features not supported while using TSC compression for frame buffer