mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00

- 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
41 lines
1.1 KiB
C
41 lines
1.1 KiB
C
#pragma once
|
|
|
|
BOOL APIENTRY EngIntersectRect (PRECTL prcDst, PRECTL prcSrc1, PRECTL prcSrc2);
|
|
VOID FASTCALL EngDeleteXlate (XLATEOBJ *XlateObj);
|
|
BOOL APIENTRY
|
|
IntEngMaskBlt(SURFOBJ *psoDest,
|
|
SURFOBJ *psoMask,
|
|
CLIPOBJ *ClipRegion,
|
|
XLATEOBJ *DestColorTranslation,
|
|
XLATEOBJ *SourceColorTranslation,
|
|
RECTL *DestRect,
|
|
POINTL *pptlMask,
|
|
BRUSHOBJ *pbo,
|
|
POINTL *BrushOrigin);
|
|
|
|
VOID FASTCALL
|
|
IntEngWindowChanged(
|
|
PWINDOW_OBJECT Window,
|
|
FLONG flChanged);
|
|
|
|
VOID FASTCALL IntGdiAcquireSemaphore ( HSEMAPHORE hsem );
|
|
VOID FASTCALL IntGdiReleaseSemaphore ( HSEMAPHORE hsem );
|
|
ULONGLONG APIENTRY EngGetTickCount(VOID);
|
|
|
|
BOOL
|
|
APIENTRY
|
|
EngFreeSectionMem(
|
|
IN PVOID pvSection OPTIONAL,
|
|
IN PVOID pvMappedBase OPTIONAL);
|
|
|
|
PVOID
|
|
APIENTRY
|
|
EngAllocSectionMem(
|
|
OUT PVOID *ppvSection,
|
|
IN ULONG fl,
|
|
IN SIZE_T cjSize,
|
|
IN ULONG ulTag);
|
|
|
|
VOID Decompress4bpp(SIZEL Size, BYTE *CompressedBits, BYTE *UncompressedBits, LONG Delta);
|
|
VOID Decompress8bpp(SIZEL Size, BYTE *CompressedBits, BYTE *UncompressedBits, LONG Delta);
|
|
|