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
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
You can use alpha blending:
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.
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.