I.MX8QM Video Overlay - Using OpenGL ES / 2D / Wayland /V4l2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I.MX8QM Video Overlay - Using OpenGL ES / 2D / Wayland /V4l2

1,407 Views
RameshChandrakasan
Contributor III

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

 

0 Kudos
4 Replies

1,398 Views
RameshChandrakasan
Contributor III

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

 

0 Kudos

1,337 Views
RameshChandrakasan
Contributor III

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

0 Kudos

1,366 Views
RameshChandrakasan
Contributor III

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

0 Kudos