[WIN32K]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 6 May 2012 08:17:48 +0000 (08:17 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 6 May 2012 08:17:48 +0000 (08:17 +0000)
commitf5acffdf62862f8b2d8c7273747567b2301fde75
treebf61026e543fe55ec7e84f6abf1fcfa39c41702d
parentf030e937a4c7e4fb9b42f8b1d8997e398fee6833
[WIN32K]
- Create default hatch brush bitmaps on win32k init
- After creating a PDEV fill the fields in the ahsurf array that are not filled by the driver with these bitmaps
- don't create a new bitmap when a hatch brush is created, instead only store the style and use the related bitmap from the PDEV when realizing the brush.
- Fix the palette of DIB brushes, when realizing the brush
- Don't leak the bitmaps for DIB brushes in BRUSH_Cleanup

svn path=/trunk/; revision=56523
reactos/win32ss/gdi/eng/engbrush.c
reactos/win32ss/gdi/eng/pdevobj.c
reactos/win32ss/gdi/ntgdi/brush.c
reactos/win32ss/gdi/ntgdi/brush.h
reactos/win32ss/user/ntuser/main.c