mutter-window-actor: Improve unredirect heuristic
Currently we only unredirect monitor sized override redirect windows. This was supposed to catch fullscreen opengl games and improve their performance. Newer games like fullscreen webgl games and SDL2 using games (like L4D) as well as wine based games do not use override redirect windows so we need a better heuristic to catch them. GLX windows always damage the whole window when calling glxSwapBuffers and never damage sub regions. So we can use that to detect them. The new heuristic unredirects windows fullscreen windows that have damaged the whole window more then 100 times in a row. https://bugzilla.gnome.org/show_bug.cgi?id=683786
parent
867e10db
Please register or sign in to comment