You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by "kasjer (via GitHub)" <gi...@apache.org> on 2023/09/20 11:33:30 UTC
[GitHub] [mynewt-core] kasjer opened a new pull request, #3077: lvgl/itf: Swap colors in place
kasjer opened a new pull request, #3077:
URL: https://github.com/apache/mynewt-core/pull/3077
Function lcd_itf_write_color_data() had pixel pointer constant and in case of SPI when LV_COLOR_16_SWAP was set to 0 additional buffer in RAM was allocated for swapped bytes.
LVGL however does not touch memory after it passes it to interface so it is safe to swap bytes (if needed) in place.
Setting LV_COLOR_16_SWAP to 1 eliminates need for data swap but then LVGL internally uses some extra bit manipulation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-core] kasjer merged pull request #3077: lvgl/itf: Swap colors in place
Posted by "kasjer (via GitHub)" <gi...@apache.org>.
kasjer merged PR #3077:
URL: https://github.com/apache/mynewt-core/pull/3077
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org