-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add back CONFIG_LV_COLOR_16_SWAP #6104
Comments
The main purpose of this would be backward compatibility or ease of use? |
Mainly for backward compatibility. Without |
Makes sense, can you prepare a PR? |
Nice work. Calling |
Why? The buffer into which the UI drawn is dropped after sending the image. Or do you use LVGL in direct mode? |
Yes, we have to consider direct mode too. |
In this case we should swap the bytes only on a given area. Adding |
We need some feedback on this issue. Now we mark this as "stale" because there was no activity here for 14 days. Remove the "stale" label or comment else this will be closed in 7 days. |
I've opened #6225 |
Introduce the problem
While migrating all existing project using lvgl on Nuttx, apache/nuttx#11780, many configurations have enabled CONFIG_LV_COLOR_16_SWAP. It may be a common issue others will face too.
Proposal
Add equivalent configuration option
CONFIG_LV_COLOR_16_SW_SWAP
that does the swap by software just beforeflush_cb
by callinglv_draw_sw_rgb565_swap
.Update existing configuration to use
CONFIG_LV_COLOR_16_SW_SWAP
instead.The text was updated successfully, but these errors were encountered: