Dear Experts
I want to Overlay the Graphics Rendering on top of camera Display .
Here, To create Drawing , I am using Open GL library ( Wayland client) , Video Display I am using V4L2 Application. Both are working independently , How to create transparency for top graphics layer over the bottom layer video display from camera.
Note : Pls do not suggest any gst-streamer api - it is over head
Pls suggest.
Ramesh
Dear Expert,
I have referred the two links
Link 2) is showing Access denied, Even though i have logged in.
Link1) is describing the method using fb0 & fb1 frame buffer.
Current I.MX8QM BSP , We could able to do open gl programming using Wayland frame work context Only. There is no direct egl option available.
Q 1) I have tried with Open GL programming with egl Context api , it is NOT working. Pls comment on this for i.MX8QM yocto BSPs
Q2) Can i use
err = ioctl(fd_fb,MXCFB_SET_CLR_KEY,&c); On top of Wayland frame work? , or It need egl context only
Regards
Ramesh
Hello Ramesh,
You can use alpha blending:
https://www.yoctoproject.org/pipermail/meta-freescale/2014-November/011329.html
https://community.nxp.com/t5/iMX-and-Vybrid-Support/OpenGL-textures-blended-with-G2D/m-p/600239
Regards
Dear Bio_TICFS
Pls provide the pragmatic solution for the struggle.
We are trying many methods .
Due to fundamental egl api [FB] is not properly working in IMX8QM , it not possible to thinks of i.mx8qm as Open GL enabled Device.
Pls address this issue with concern driver developer team in NXP.
Regards
Ramesh
Dear BIO_TICFSL
Any update / suggestion When to enable the Alpha blending? i.MX8QM
Here, We have left only with Wayland fame work to create window for Open GL E.S app development.
So , egl Window api is not working.
Which windowing API is used to enable alpha blending for video overlaying.
Regards
Ramesh