mirror of
https://github.com/reactos/reactos.git
synced 2024-09-14 06:42:52 +00:00
6068cac704
- Move RLE specific code to it's own file (rlecomp.c) - Relace BitsPerFormat function with an array of UCHARs - Rewrite surface creation. Surfaces are now allocated from one central function SURFACE_AllocSurface, which sets the size, iType, iUniq, the handle and the default palette. - Implement SURFACE_vSetDefaultPalette, which sets the default RGB palette, based on bit depth. - Implement SURFACE_bSetBitmapBits, wich sets cjBits, pvBits, pvScan0 and lDelta and allocates memory if neccessary. - Use these functions for EngCreateBitmap, EngCreateDeviceBitmap, EngCreateDeviceSurface and IntCreateBitmap svn path=/branches/reactos-yarotows/; revision=47612 |
||
---|---|---|
.. | ||
csr | ||
ntvdm | ||
win | ||
win32 | ||
subsystems.rbuild |