cancel
Showing results for 
Search instead for 
Did you mean: 

Begin frame and End Frame Process

Epamuk
Associate III

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

1 REPLY 1
Osman SOYKURT
ST Employee

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

Osman SOYKURT
ST Software Developer | TouchGFX