1
0
Fork 0
mutter-performance-source/src/compositor
Adel Gadllah 90f2a3ae4c 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
2013-02-05 21:13:27 +01:00
..
plugins default plugin: Remove start method that does nothing 2012-04-26 15:07:46 -04:00
cogl-utils.c Create the 1x1 texture for the root background unsliced 2011-06-29 12:27:02 -04:00
cogl-utils.h Create the 1x1 texture for the root background unsliced 2011-06-29 12:27:02 -04:00
compositor-private.h compositor: Remove unused code fetching _XSETROOT_ID 2013-01-08 15:54:50 -05:00
compositor.c compositor: Remove unused code fetching _XSETROOT_ID 2013-01-08 15:54:50 -05:00
meta-background-actor-private.h MetaBackgroundActor: make it a public class 2011-08-29 16:54:09 +01:00
meta-background-actor.c MetaBackgroundActor: add a setter for GLSL uniforms 2012-11-17 02:14:38 +01:00
meta-module.c Move the installed includes to a subdir 2011-03-07 18:19:53 -05:00
meta-module.h Remove Mutter namespace prefix 2010-10-23 15:48:29 -04:00
meta-plugin-manager.c plugin-manager: Remove a bogus check 2013-01-09 14:06:24 -05:00
meta-plugin-manager.h Add compositor hook to process keybindings selectively 2012-11-17 01:47:05 +01:00
meta-plugin.c meta-plugin-manager: Only allow one plugin to be loaded 2012-06-05 13:28:23 -04:00
meta-shadow-factory-private.h Only shadow ARGB windows with a frame outside the frame 2011-04-26 15:10:02 -04:00
meta-shadow-factory.c shadows: Adjust values for attached modal dialogs 2012-08-10 16:36:26 +02:00
meta-shaped-texture.c window-actor: Punt mask generation to MetaWindowActor 2012-05-21 16:12:30 -04:00
meta-texture-rectangle.c meta-texture-rectangle: Use Cogl's API to create a rectangle texture 2012-04-25 14:54:09 +01:00
meta-texture-rectangle.h meta-texture-rectangle: Use Cogl's API to create a rectangle texture 2012-04-25 14:54:09 +01:00
meta-texture-tower.c texture-tower: Remove potential leak 2012-04-26 10:02:41 -04:00
meta-texture-tower.h Remove Mutter namespace prefix 2010-10-23 15:48:29 -04:00
meta-window-actor-private.h Unredirect fullscreen windows 2011-08-29 23:05:30 +02:00
meta-window-actor.c mutter-window-actor: Improve unredirect heuristic 2013-02-05 21:13:27 +01:00
meta-window-group.c window-group: Add missing cast 2012-09-04 09:10:35 +02:00
meta-window-group.h Move the installed includes to a subdir 2011-03-07 18:19:53 -05:00
meta-window-shape.c Make shadows pretty and configurable 2010-11-18 09:47:56 -05:00
meta-window-shape.h Make shadows pretty and configurable 2010-11-18 09:47:56 -05:00
README There can be only one compositor engine 2009-06-30 09:34:03 -04:00
region-utils.c window-actor: Use MetaRegionBuilder when scanning the visible region 2012-05-25 17:31:06 -04:00
region-utils.h window-actor: Use MetaRegionBuilder when scanning the visible region 2012-05-25 17:31:06 -04:00

Intro
=====

Fix me.


Env Vars
========

MUTTER_DISABLE_MIPMAPS - set to disable use of mipmaped windows.