Commit graph

11 commits

Author SHA1 Message Date
Filip Navara 0a89ed6e1c [Sorry for too many changes in one patch, but it's nearly impossible to separate it without breaking the functionality]
- Remove the eng/brush.h header and all occurrences of BRUSHINST.
- Remove eng/nls.c and make the NLS functions forward exports to ntoskrnl.
- Remove DDBITMAP definition.
- Overall cleanup of eng/xlate.c.
- Stop processing if exact match is found in ClosestColorMatch.
- Move SURFGDI->PointerStatus to GDIDEVICE structure.
- Remove the GDIDEVICE->DriverLock.
- Replace BITMAP by SURFOBJ in BITMAPOBJ structure and added two new members (Flags and Hooks).
- Replace function pointers to driver functions in SURFGDI with flHooks variable specifying the bitmask of hooked functions.
- Added two new macros: GDIDEV and GDIDEVFUNCS.
- Fixed locking in NtGdiGetBitmapBits.
- Removed IntCopyBitmap and replaced it's usage by BITMAPOBJ_CopyBitmap.
- Fixed setting of SURFOBJ->pvBits and SURFOBJ->pvScan0 in EngCreateBitmap for bottom-up surfaces.
- Fix DPRINTs.
- Remove unused definitions from eng/objects.h.
- Call IntEngBitBlt instead of EngBitBlt from EngCopyBits.
- Correctly set the SURFOBJ->hsurf field.
- Merge Engine surface handling with the GDI one and remove DC->Surface, SURFGDI, BitmapToSurf.
- Support for bottom-up mouse cursors in the Eng* cursor emulation routines.
- Fix locking in error cases of NtGdiRestoreDC (get Primitives demo to start).
- Fix BitmapFormat to return 0 for unknown bit depth.
- Move code from EngCreateBitmap to IntCreateBitmap and use this function in EngCreateBitmap, NtGdiCreateBitmap and DIB_CreateDIBSection.
- New implementation of NtGdiGetDIBits.

svn path=/trunk/; revision=9977
2004-07-03 13:55:37 +00:00
Thomas Bluemel 418b7e53a6 use a common header for most files in win32k to make use of precompiled headers
svn path=/trunk/; revision=9348
2004-05-10 17:07:20 +00:00
Thomas Bluemel 95057e2cf7 implemented TransparentBlt() on 16bpp and 24bpp surfaces
svn path=/trunk/; revision=8993
2004-04-06 21:53:48 +00:00
Thomas Bluemel 5424a51107 implemented TransparentBlt() on 32bpp surfaces, but there are still some clipping issues
svn path=/trunk/; revision=8988
2004-04-06 17:54:32 +00:00
Royce Mitchell III a8f59cffef 1000+% performance increase in 1bpp dib -> 1bpp dib blitting.
svn path=/trunk/; revision=8824
2004-03-21 04:17:33 +00:00
Filip Navara 85ac449051 Fix debug message.
svn path=/trunk/; revision=7859
2004-01-24 11:59:00 +00:00
Gé van Geldorp e459864561 Properly translate 1bpp source bits
svn path=/trunk/; revision=6596
2003-11-09 23:13:56 +00:00
Filip Navara 4e2b376ccf Bugfix: Reverted order of mask1Bpp, this change fixes 1bpp blits.
svn path=/trunk/; revision=6159
2003-09-27 09:27:45 +00:00
Gé van Geldorp 538c7d51fd Add ROPs for 1, 8, 16, 24 and 32 bpp
svn path=/trunk/; revision=5548
2003-08-12 21:55:47 +00:00
Emanuele Aliberti 982fd1f286 WIN32K code cleanup.
Prefer FASTCALL/STDCALL in kernel mode code.
Make compiler check function signatures.
Tested under BOCHS 2.0.2 + FreeDOS + loadros.

svn path=/trunk/; revision=4714
2003-05-18 17:16:18 +00:00
Gé van Geldorp 1b1e741e1b Fixed several off-by-one errors and some compiler warnings
svn path=/trunk/; revision=4229
2003-03-02 12:04:00 +00:00