[Development] QtWayland synchronisation between GL and compositor

2016-05-26 Thread Tomek Bury
Hi all, Is there any mechanism that that synchronises wl_buffer release by the compositor to the GL driver's pipeline? I can't figure out how this synchronisation is supposed to work. My initial thought was that the sequence of actions will be something like this. The client sends a new frame to

Re: [Development] QtWayland synchronisation between GL and compositor

2016-05-27 Thread Tomek Bury
Hi Gunnar, Thanks for your replay. I've spend quite some time on #wayland IRC channel yesterday discussing this matter. It turns out that the compositor implementation assumes implicit synchronisation. The "submit" operation assumes that whatever dependencies were present on the client side are