cancel
Showing results for 
Search instead for 
Did you mean: 

Double buffer with Touchgfx

Hello, I have some doubt regarding touchgfx

Suppose I set for Double buffer and I am using customize widget. I get my framebuffer using below and later I modify buffer as per my customize widget logic. My doubt is that suppose I am modifying first copy of framebuffer in draw method, How my changes will get into next second framebuffer as I gonna call draw only once.

uint16_t *framebuffer = touchgfx::HAL::getInstance()->lockFrameBuffer();

As when I call widget invalidate method, my widget draw method executes.

Thanks

0 REPLIES 0