[xserver-commit] xserver ChangeLog,3.26.2.1,3.26.2.2 configure.ac,3.27,3.27.2.1

Keith Packard xserver-commit@pdx.freedesktop.org
Tue, 21 Oct 2003 23:00:51 -0700


Committed by: keithp

Update of /cvs/xserver/xserver
In directory pdx:/tmp/cvs-serv16351

Modified Files:
      Tag: xfixes_2_branch
	ChangeLog configure.ac 
Log Message:
	* configure.ac:
	Build damage infrastructure.  Don't build layer
	
	* fb/fbcopy.c: (fbCopyNtoN), (fbCopyArea):
	Move check for 24/32 copy to fbCopyNtoN so that other users will hit
	it
	
	* hw/kdrive/fbdev/Makefile.am:
	* hw/kdrive/fbdev/fbdev.c: (fbdevScreenInitialize),
	(fbdevGetPixmap), (fbdevPixmapSet), (fbdevRandRSetConfig),
	(fbdevInitScreen), (fbdevFinishInitScreen):
	* hw/kdrive/fbdev/fbdev.h:
	Eliminate miext/layer
	
	* hw/kdrive/linux/Makefile.am:
	Build damage infrastructure.  Don't build layer
	
	* hw/kdrive/mach64/Makefile.am:
	Build damage infrastructure.  Don't build layer
	
	* hw/kdrive/mach64/mach64.c: (mach64ScreenInit),
	(mach64InitScreen), (mach64ScreenFini), (mach64CardFini):
	* hw/kdrive/mach64/mach64.h:
	* hw/kdrive/mach64/mach64draw.c: (mach64DrawFini):
	* hw/kdrive/mach64/mach64video.c: (mach64InitVideo),
	(mach64FiniVideo):
	Memory leak fix of mach64c on server reset
	Memory leak fix for video on server reset.
	Eliminate layer
	
	* hw/kdrive/mga/Makefile.am:
	* hw/kdrive/mga/mga.c: (mgaScreenInit):
	Build damage infrastructure.  Don't build layer
	
	* hw/kdrive/nvidia/Makefile.am:
	* hw/kdrive/nvidia/nvidia.c: (nvidiaRandRSetConfig),
	(nvidiaPreserve), (nvidiaEnable):
	Build damage infrastructure.  Don't build layer
	
	* hw/kdrive/r128/Makefile.am:
	* hw/kdrive/smi/Makefile.am:
	Build damage infrastructure.  Don't build layer
	
	* hw/kdrive/src/Makefile.am:
	Build damage infrastructure.  Don't build layer
	
	* hw/kdrive/src/kaa.c: (kaaDestroyPixmap), (kaaCreatePixmap),
	(kaaPixmapIsOffscreen), (kaaGetOffscreenPixmap),
	(kaaDrawableIsOffscreen), (kaaFillSpans), (kaaCopyNtoN),
	(kaaPolyFillRect), (kaaSolidBoxClipped), (kaaValidateGC),
	(kaaFillRegionSolid), (kaaDrawInit), (kaaDrawFini):
	Don't assume windows are onscreen, use GetWindowPixmap
	and test devPrivate.ptr.  Make sure depth 24 pixmaps are 24bpp
	when hardware format is 24bpp.
	
	* hw/kdrive/src/kasync.c:
	Get rid of debug KdAssertSync function
	
	* hw/kdrive/src/kdrive.c: (KdCloseScreen), (KdScreenInit):
	* hw/kdrive/src/kdrive.h:
	* hw/kdrive/src/koffscreen.c: (KdOffscreenValidate),
	(KdOffscreenAlloc), (KdOffscreenInit):
	add memory_size to KdScreenInfo, eliminate off_screen_size,
	fix tests to suit.
	
	* hw/kdrive/vesa/Makefile.am:
	* hw/kdrive/vesa/vesa.c: (vesaScreenInitialize), (vesaUpdateMono),
	(vesaGetPixmap), (vesaMapFramebuffer), (vesaPixmapSet),
	(vesaRandRSetConfig), (vesaInitScreen), (vesaFinishInitScreen),
	(vesaScreenFini):
	* hw/kdrive/vesa/vesa.h:
	Build damage infrastructure.  Don't build layer
	
	* hw/xnest/Makefile.am:
	Use damage (for software cursor, I guess)

	* mi/Makefile.am:
	* mi/misprite.c: (miSpriteReportDamage), (miSpriteCopyWindow):
	* mi/mispritest.h:
	Damage is used for software cursor

	* miext/Makefile.am:
	* miext/layer/Makefile.am:
	* miext/layer/layerinit.c: (layerCloseScreen):
	Build damage infrastructure.  Don't build layer
	
	* miext/shadow/Makefile.am:
	* miext/shadow/shadow.c: (shadowRedisplay), (shadowGetImage),
	(shadowCloseScreen), (shadowSetup), (shadowSet), (shadowUnset),
	(shadowInit):
	* miext/shadow/shadow.h:
	* miext/shadow/shpacked.c: (shadowUpdatePacked):
	* miext/shadow/shplanar.c: (shadowUpdatePlanar4):
	* miext/shadow/shplanar8.c: (shadowUpdatePlanar4x8):
	* miext/shadow/shrotate.c: (shadowUpdateRotatePacked):
	* miext/shadow/shrotpack.h:
	Use damage to track changes

	* xfixes/xfixes.c: (XFixesResetProc):
	Fix memory leak


Index: ChangeLog
===================================================================
RCS file: /cvs/xserver/xserver/ChangeLog,v
retrieving revision 3.26.2.1
retrieving revision 3.26.2.2
diff -u -d -r3.26.2.1 -r3.26.2.2
--- ChangeLog	19 Oct 2003 20:48:16 -0000	3.26.2.1
+++ ChangeLog	22 Oct 2003 06:00:49 -0000	3.26.2.2
@@ -1,3 +1,106 @@
+2003-10-21  Keith Packard  <keithp@keithp.com>
+
+	* configure.ac:
+	Build damage infrastructure.  Don't build layer
+	
+	* fb/fbcopy.c: (fbCopyNtoN), (fbCopyArea):
+	Move check for 24/32 copy to fbCopyNtoN so that other users will hit
+	it
+	
+	* hw/kdrive/fbdev/Makefile.am:
+	* hw/kdrive/fbdev/fbdev.c: (fbdevScreenInitialize),
+	(fbdevGetPixmap), (fbdevPixmapSet), (fbdevRandRSetConfig),
+	(fbdevInitScreen), (fbdevFinishInitScreen):
+	* hw/kdrive/fbdev/fbdev.h:
+	Eliminate miext/layer
+	
+	* hw/kdrive/linux/Makefile.am:
+	Build damage infrastructure.  Don't build layer
+	
+	* hw/kdrive/mach64/Makefile.am:
+	Build damage infrastructure.  Don't build layer
+	
+	* hw/kdrive/mach64/mach64.c: (mach64ScreenInit),
+	(mach64InitScreen), (mach64ScreenFini), (mach64CardFini):
+	* hw/kdrive/mach64/mach64.h:
+	* hw/kdrive/mach64/mach64draw.c: (mach64DrawFini):
+	* hw/kdrive/mach64/mach64video.c: (mach64InitVideo),
+	(mach64FiniVideo):
+	Memory leak fix of mach64c on server reset
+	Memory leak fix for video on server reset.
+	Eliminate layer
+	
+	* hw/kdrive/mga/Makefile.am:
+	* hw/kdrive/mga/mga.c: (mgaScreenInit):
+	Build damage infrastructure.  Don't build layer
+	
+	* hw/kdrive/nvidia/Makefile.am:
+	* hw/kdrive/nvidia/nvidia.c: (nvidiaRandRSetConfig),
+	(nvidiaPreserve), (nvidiaEnable):
+	Build damage infrastructure.  Don't build layer
+	
+	* hw/kdrive/r128/Makefile.am:
+	* hw/kdrive/smi/Makefile.am:
+	Build damage infrastructure.  Don't build layer
+	
+	* hw/kdrive/src/Makefile.am:
+	Build damage infrastructure.  Don't build layer
+	
+	* hw/kdrive/src/kaa.c: (kaaDestroyPixmap), (kaaCreatePixmap),
+	(kaaPixmapIsOffscreen), (kaaGetOffscreenPixmap),
+	(kaaDrawableIsOffscreen), (kaaFillSpans), (kaaCopyNtoN),
+	(kaaPolyFillRect), (kaaSolidBoxClipped), (kaaValidateGC),
+	(kaaFillRegionSolid), (kaaDrawInit), (kaaDrawFini):
+	Don't assume windows are onscreen, use GetWindowPixmap
+	and test devPrivate.ptr.  Make sure depth 24 pixmaps are 24bpp
+	when hardware format is 24bpp.
+	
+	* hw/kdrive/src/kasync.c:
+	Get rid of debug KdAssertSync function
+	
+	* hw/kdrive/src/kdrive.c: (KdCloseScreen), (KdScreenInit):
+	* hw/kdrive/src/kdrive.h:
+	* hw/kdrive/src/koffscreen.c: (KdOffscreenValidate),
+	(KdOffscreenAlloc), (KdOffscreenInit):
+	add memory_size to KdScreenInfo, eliminate off_screen_size,
+	fix tests to suit.
+	
+	* hw/kdrive/vesa/Makefile.am:
+	* hw/kdrive/vesa/vesa.c: (vesaScreenInitialize), (vesaUpdateMono),
+	(vesaGetPixmap), (vesaMapFramebuffer), (vesaPixmapSet),
+	(vesaRandRSetConfig), (vesaInitScreen), (vesaFinishInitScreen),
+	(vesaScreenFini):
+	* hw/kdrive/vesa/vesa.h:
+	Build damage infrastructure.  Don't build layer
+	
+	* hw/xnest/Makefile.am:
+	Use damage (for software cursor, I guess)
+
+	* mi/Makefile.am:
+	* mi/misprite.c: (miSpriteReportDamage), (miSpriteCopyWindow):
+	* mi/mispritest.h:
+	Damage is used for software cursor
+
+	* miext/Makefile.am:
+	* miext/layer/Makefile.am:
+	* miext/layer/layerinit.c: (layerCloseScreen):
+	Build damage infrastructure.  Don't build layer
+	
+	* miext/shadow/Makefile.am:
+	* miext/shadow/shadow.c: (shadowRedisplay), (shadowGetImage),
+	(shadowCloseScreen), (shadowSetup), (shadowSet), (shadowUnset),
+	(shadowInit):
+	* miext/shadow/shadow.h:
+	* miext/shadow/shpacked.c: (shadowUpdatePacked):
+	* miext/shadow/shplanar.c: (shadowUpdatePlanar4):
+	* miext/shadow/shplanar8.c: (shadowUpdatePlanar4x8):
+	* miext/shadow/shrotate.c: (shadowUpdateRotatePacked):
+	* miext/shadow/shrotpack.h:
+	Use damage to track changes
+
+	* xfixes/xfixes.c: (XFixesResetProc):
+	Fix memory leak
+
 2003-10-19  Keith Packard  <keithp@keithp.com>
 
 	* hw/kdrive/src/kaa.c: (kaaDestroyPixmap):

Index: configure.ac
===================================================================
RCS file: /cvs/xserver/xserver/configure.ac,v
retrieving revision 3.27
retrieving revision 3.27.2.1
diff -u -d -r3.27 -r3.27.2.1
--- configure.ac	12 Oct 2003 16:11:11 -0000	3.27
+++ configure.ac	22 Oct 2003 06:00:49 -0000	3.27.2.1
@@ -220,7 +220,7 @@
 fb/Makefile
 mi/Makefile
 miext/Makefile
-miext/layer/Makefile
+miext/damage/Makefile
 miext/shadow/Makefile
 os/Makefile
 randr/Makefile