Multiple Buffering

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Multiple Buffering

      Hi,

      I am currently working on Multiple Buffering. I am trying to write to a buffer in the background and display another buffer that's already being written. Is there an example code which I can refer to? I really appreciate all your help.
      Thanks and regards,
      BMD
    • Hi,

      emWin does all of it automatically after you've activated multi buffering, at least as long as your application is using the window manager. If not, you have to manually switch between buffers using GUI_MULTIBUF_Begin() and GUI_MULTIBUF_End().

      I've attached an example LCDConf.c, if you're interested in how emWin switches between buffers, the routines _VSYNC_ISR(), _SwitchBuffersOnVSYNC() and LCD_X_DisplayDriver() might be interesting for you.

      Best regards,

      Florian
      Files
      • LCDConf.zip

        (10.79 kB, downloaded 45 times, last: )

      The post was edited 1 time, last by SEGGER - Florian ().