4 ms·
Yes, on Linux each application has it's own graphics buffer, including all of it's window borders and controls. These are rendered to by GTK or Qt (likely using
by phendrenad2 5y ago
Yes, on Linux each application has it's own graphics buffer, including all of it's window borders and controls. These are rendered to by GTK or Qt (likely using OpenGL). The OS just splats them all into the framebuffer and displays them. So in essence, a fullscreen window (such as the desktop background) can be nearly as GPU intensive as a 2D game. Swapping which buffers are composited into the framebuffer can be time-consuming.
However, I don't think that this is enough to explain the poor alt-tab performance. I think it's due to modern desktop environments using lots of shaders and bitmapped graphics, which render fine when they're the only thing on-screen, but when a game starts eating up (and fragmenting) VRAM, this overhead becomes noticeable. Switching to a simpler desktop environment like i3 or dwm may help.