xserver/hw/kdrive/src
Keith Packard bfa5c73a36 ephyr: Free damage structure at server reset time
The usual mechanism for freeing a damage structure when the pixmap is
destroyed does not work for the screen pixmap as it isn't freed in the
normal way.

The existing driver cleanup function, scrfini, is called after the
wrapped CloseScreen functions, including damageCloseScreen, are called
and thus ephyr can't free the damage structure at that point.

Deal with this by providing an early CloseScreen hook in KdCloseScreen
which ephyr can use to free the damage structure before damage itself
shuts down.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
2014-07-17 11:26:44 -07:00
..
Makefile.am Build fbcmap_mi.c once, rather than once for each DDX 2014-03-27 14:34:06 +00:00
fourcc.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
kcmap.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
kdrive.c ephyr: Free damage structure at server reset time 2014-07-17 11:26:44 -07:00
kdrive.h ephyr: Free damage structure at server reset time 2014-07-17 11:26:44 -07:00
kinfo.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
kinput.c kdrive: Fix -Wshadow errors 2014-01-22 19:56:32 -08:00
kmode.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
kshadow.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
kxv.c kdrive: Remove duplicated definitions of some XV-related structs. 2014-03-26 12:58:39 -07:00
kxv.h kdrive: Remove duplicated definitions of some XV-related structs. 2014-03-26 12:58:39 -07:00