We are trying to use both background framebuffer (/dev/fb0) and overlay framebuffer (/dev/fb1) and enable global alpha blending. We need to use openGL in both applications but fbGetDisplayByIndex(1) fails. I am yet to dive deeper to understand the error code better. Is there any limitation in using OpenGL with Vivante graphics driver with /dev/fb1 overlay buffer? in i.MX6 Linux platforms?
It worked. We could use OpenGL for both background /dev/fb0 and overlay buffers /dev/fb1. It was a simple bug that overlay buffer was neither setup nor activated. Once we activated /dev/fb1 OpenGL content started appearing on the display.