My application (running on Ubuntu 20.04) is rendering to multiple windows, each on its own monitor.
The windows are created using GLFW and rendering is done using openGL.
The first window is opened in full screen mode which sends the hint to bypass the compositor. All following windows (which are on different monitors) are opened in none full screen mode.
The latency in the application is critical so I am measuring it using an external tool.
When I run it with only a single monitor (in full screen), the latency seems ok, and appears that the compositor is in play.
When I create more then 1 window it seems that the latency on all the created windows (including the full screen one) is increased and it is similar to what I get for a single monitor not running in full screen.
How can I verify whether the compositor is handling the synchronization of a given window?
Is it possible to open multiple windows (each on a separate monitor) and have the compositor only handle some of them?