Skip to main content
Epamuk
Associate III
Apr 18, 2022 6:56 AM UTC
Question

Begin frame and End Frame Process

Hi everyone,

I want to learn something about "Begin Frame" - "End Frame" process. If touchgfx "Begin Frame" has started, will it come to "End Frame" status no matter what happen. For example code status is "Begin Frame" but something is changed (screen change or frame change so no need to refresh this frame) at this point does touchgfx comes to "End Frame" status and do all the thing which need for ending frame ? or

Does it stop this process and go back to start status for this new frame so "End Frame" never happen for old frame ?

thanks

Erdem

This topic has been closed for replies.

1 reply

Osman SOYKURT
ST Technical Moderator
Apr 19, 2022 10:02 AM UTC

Hello Erdem,

Indeed, as soon you begin your frame rendering, you will finish it no matter what. If you have for example an interaction that makes your screen change, it can be done only if your display is ready again. This process is managed by the TouchGFX Abstraction Layer which synchronize the framebuffers. We have an article talking about that, I invite you to have a look at it ;)

/Osman

ST Software Developer | TouchGFX