imx8: best way to programatically move/resize windows or equivalent.

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

imx8: best way to programatically move/resize windows or equivalent.

681 Views
ondrejbilka
Contributor II

Hi, we need to set absolute position/size of windows programatically or trick with same result.

First how much will be building yocto with xorg and accelerated opengl/gstreamer supported? We already have codebase for that.

Next question is if/how could one do absolute positioning in xwayland? Would code for xorg work out of box? If not is there easy way to control absolute position of arbitrary window in wayland?

If not we basically need something like fullscreen qt app with transparent background and to be place multiple glimagesinks at specified positions. Do you have pointers to some example code?

I could almost verify functionality from command line with glvideomixer and glimagesink. I didn't find how to rotate pipeline, only whole window, it should be easy to add rotation property to videomixer pad. Also glimagesink window from command line tool has fixed size, how to change that?

This is needed for separation, one of use cases is running fullscreen chromium where from javascript one sends coordinates to app above and what and where it should stream. Or one server would send command to show some ad...

0 Kudos
1 Reply

490 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Ondrej,

Yoctor Image Gui build everything for you, if you are having one you will have to build one by one firts the gstreamer then the Xorg. with glvideomixer  and glimgesink you have control over the whole image or the objet you apply. Also the glimgesink is fixed.

0 Kudos