xserver-multidpi/composite
Keith Packard 5574a0a07e composite: Skip SetWindowPixmap when pixmap isn't changing
Check the current window pixmap to see if it matches the new pixmap
and avoid calling SetWindowPixmap in that case.

x11perf -ucreate highlights an instance where compCreateWindow reassigns
the same Pixmap to the Window. Currently this triggers an expensive
invalidation of the entire window hierachy, making sure that DRI2
clients are kept informed of the handle changes. However, as the backing
Pixmap for the Window is actually unchanged, there is no need to
do anything in this case.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Tested-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-10-27 13:38:21 -07:00
..
compalloc.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
compext.c mi: Simplify composite border clip redirection interface 2014-10-09 11:14:53 +02:00
compinit.c dix: Lower backStorage to a bit instead of a pointer 2014-10-09 11:14:53 +02:00
compint.h composite: Add exception mechanism for implicit redirection policy 2014-04-01 10:31:09 -07:00
compositeext.h composite: Add exception mechanism for implicit redirection policy 2014-04-01 10:31:09 -07:00
compoverlay.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
compwindow.c composite: Skip SetWindowPixmap when pixmap isn't changing 2014-10-27 13:38:21 -07:00
Makefile.am Export CompositeRegisterAlternateVisuals. 2009-04-27 13:29:40 -07:00