technically working with two frame buffers is a pretty good concept, but it is not necessary to use both PXP frame buffers. Embedded Wizard has some internal functions, which makes it easy to handle external content. This can be realised with an Applet. In the past we had a similar discussion for STM here, maybe you can use this as example how to bring the camera data into an applet.Within that example the camera driver writes the camera data in a camera frame buffer (exactly two, cause it's also double buffered). This separate camera buffer directly represent data, which can be accessed by Embedded Wizards Applet. Next the camera driver gets the address of the currently used camera buffer and transfers the data into that memory parts. Every time when a camera pictures is captured completely, the API indicates that with an update flag and the camera buffer switches.
Working with this concept doesn't requires to use the second PXP buffer. Thus, it is also not necessary to use the Embedded Wizard function in ew_bsp_graphics.c.
Hopefully this helps,
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!