Skip to content
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(vg_lite): add ARGB1555 ARGB4444 ARGB2222 support #7028

Merged
merged 7 commits into from
Oct 22, 2024

Conversation

yushuailong
Copy link
Contributor

Added support for ARGB1555 ARGB4444 ARGB2222. vg_lite supports this format. In some cases, these color formats can reduce memory usage.

Notes

@yushuailong
Copy link
Contributor Author

@kisvegabor This PR just adds new color formats, some drawing errors may be problems with ThorVG render, can we fix them later?

@FASTSHIFT FASTSHIFT added the 👀 Review needed Anyone can review a PR label Oct 16, 2024
FASTSHIFT
FASTSHIFT previously approved these changes Oct 17, 2024
yushuailong1 and others added 6 commits October 19, 2024 17:29
@FASTSHIFT FASTSHIFT requested a review from kisvegabor October 19, 2024 09:38
Copy link
Collaborator

@XuNeo XuNeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also add test for drawing images with newly added color format.

SW renderer should correctly ignore them and shouldn't crash.
VG-Lite should draw theme correctly.

The bin-decoder should be updated correspondingly.

@FASTSHIFT FASTSHIFT merged commit bdfb80e into lvgl:master Oct 22, 2024
21 checks passed
@FASTSHIFT
Copy link
Collaborator

Should we also add test for drawing images with newly added color format.

SW renderer should correctly ignore them and shouldn't crash. VG-Lite should draw theme correctly.

The bin-decoder should be updated correspondingly.

Yes, we can add relevant tests later.

rodb70 pushed a commit to rodb70/lvgl that referenced this pull request Nov 8, 2024
Signed-off-by: yushuailong1 <yushuailong1@xiaomi.com>
Co-authored-by: yushuailong1 <yushuailong1@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: FASTSHIFT <vifextech@foxmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👀 Review needed Anyone can review a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants