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

display: add display_flush #79936

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Oct 17, 2024

  1. display: add display_flush

    Introduces support for double-buffered/latched displays.
    Currently, every write has to be presented to the user immediately,
    which negates the advantage of latched displays to prevent frame tearing.
    
    Signed-off-by: Martin Stumpf <finomnis@gmail.com>
    Finomnis authored and mstumpf-vected committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    90fe9c6 View commit details
    Browse the repository at this point in the history
  2. drivers: display_dummy: implement display_flush

    Implements the `display_flush` API function for the `display_dummy`
    driver.
    
    Signed-off-by: Martin Stumpf <finomnis@gmail.com>
    Finomnis authored and mstumpf-vected committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    aaf5f8a View commit details
    Browse the repository at this point in the history
  3. lvgl: call display_flush at the end of a frame

    In frames with multiple writes (officially supported through
    `CONFIG_LV_Z_VDB_SIZE`) the display needs to be signalled that the
    current frame is over and the content should be displayed.
    This allows displays to present the UI without tearing artifacts.
    
    Signed-off-by: Martin Stumpf <finomnis@gmail.com>
    Finomnis authored and mstumpf-vected committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    540b3ea View commit details
    Browse the repository at this point in the history