ChangeSet ID: 10193 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@wine.codeweavers.com 2003/11/24 23:03:09
Modified files: objects : gdiobj.c include : gdi.h dlls/gdi/mfdrv : init.c dlls/gdi/enhmfdrv: objects.c init.c enhmetafiledrv.h
Log message: Huw Davies huw@codeweavers.com Let enhmetafiles reuse gdi handles. This works by a dc 'registering' with an object that it wants to know when the object is deleted. Until the dc gets delete notification it's free to assume that it doesn't need to write the create record for that object again. Upon receiving the delete notification it writes the DeleteObject record. Windows seems to do it this way too.
Patch: http://cvs.winehq.com/patch.py?id=10193
Old revision New revision Changes Path 1.92 1.93 +90 -0 wine/objects/gdiobj.c 1.86 1.87 +11 -0 wine/include/gdi.h 1.26 1.27 +1 -0 wine/dlls/gdi/mfdrv/init.c 1.7 1.8 +90 -4 wine/dlls/gdi/enhmfdrv/objects.c 1.27 1.28 +9 -16 wine/dlls/gdi/enhmfdrv/init.c 1.14 1.15 +5 -2 wine/dlls/gdi/enhmfdrv/enhmetafiledrv.h