2020-09-29 11:23 PM
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