We are writing an application using generic platform package on embedded linux.
It is required to display the exact same content to two devices simultaneously. One is local LCD and another is HDMI.
Our board supplier, unfortunately, tried to display one frame buffer to two devices at lower level but failed to reach the goal.
So we are trying to find some other ways.
As far as I have seen, the following issue is very similar to ours, but it could be applied for OpenGL ES 2.0 only.
Is it possible to display to two devices using generic platform package in the same way as above?
The frame buffers are mapping to "/dev/fb0" for local LCD and "/dev/fb1" for HDMI respectively.
of course, this should be possible (I did not verify it - but I'm very confident that it will work...).
You can use the option EW_USE_OFFSCREEN_BUFFER in order to prepare the content of the entire GUI in a separate off-screen buffer.
Then you can adapt the function GenericEndUpdate() that you will find in the module ewextgfx.c of your Generic Platform Package in order to copy the content into your both framebuffers instead of one framebuffer.
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!