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

Zephyr: improve render performance when using the NXP ELCDIF driver #7175

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

0x6e
Copy link
Contributor

@0x6e 0x6e commented Dec 19, 2024

When this driver is using the DMA API, we cannot do partial updates. Previously, this code would perform a full-screen DMA transfer for each region the renderer changes. Now we make modifications to the pixel data of the dirty regions, if required, and then do one full-screen DMA transfer of the final render buffer.

This means the time spent writing the pixel buffer to the display peaks at 38ms, rather than up-to-hundreds of ms before.

When this driver is using the DMA API, we cannot do partial updates.
Previously, this code would then perform a full-screen DMA transfer for
each region the renderer changes. Now we make modifications to the pixel
data of the dirty regions, if required, and then do one fill-scren DMA
transfer of the final render buffer.
@tronical tronical merged commit 33dbdbc into slint-ui:master Dec 19, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants