Wayland + Weston compositor - How is it possible to place a second window with abs coordinates?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Wayland + Weston compositor - How is it possible to place a second window with abs coordinates?

2,188 次查看
MicMoba
Contributor V

Hi,

on my i.MX8MP system I use the Weston 10.0 compositor. After starting weston I have the Weston desktop on my screen.

Now I want to start a video with GStreamer and place the video with absolute coordinates and and given width and height.

gst-launch-1.0 videotestsrc ! glimagesink render-rectangle="<10,10,200,200>"

Width and height is set as expected but the x- and y-position is random. I read that this is an issue of the wayland protocol.

How can I fix this problem? Any suggestions?

0 项奖励
回复
3 回复数

2,138 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

You can try Ubuntu rootfs(Gnome) with this document: https://www.nxp.com/search?keyword=Distribution_POC&start=0

 

0 项奖励
回复

2,126 次查看
MicMoba
Contributor V
Hi Zhiming_Liu,
the key for that possible solution is the different compositor (Gnome), isn't it?
0 项奖励
回复

2,082 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Yes, the wayland protocol using by weston can't support these feature. You need add lots of code in compositor even if you add the wayland protocol support this feature.

0 项奖励
回复