Compositing in full-screen mode
I have a app for embedded systems that renders using OpenGL in full-screen mode. I wanted to use Weston on linux system on which such app runs. Used Wayland EGL, i.e. wl_egl_window_create, to bind compositor (Weston) surface with EGLSurface. Also I'm running app in Weston full screen shell mode (driver method), the surface is mapped as a fullscreen surface (wl_shell_surface_set_fullscreen). This is the only surface that compositor is handling.
When I run Wayland OpenGL application it is about 15% slower compared to DRM OpenGL application, it seems that Weston is still doing compositing even in full-screen mode (extra copy of whole screen buffer). Is it possible to disable compositing in full screen mode?
I've googled about it, some say that compositing is always performed, even in a full-screen mode, some say not. So it is not clear to me:
- Is the compositing on in full-screen mode?
- Can compositing be disabled in Weston?
- Are there plans to disable compositing in full-screen mode in future releases of Weston?