mirror of
https://github.com/reactos/reactos.git
synced 2024-07-10 22:55:05 +00:00
![]() Rewrite the bitmap API. There were a lot of bugs. NtGdiCreateBitmap allowed a negative height, leading to either topdown or bottomup bitmaps, a behaviour that Windows doesn't have. The function copied the bitmap bits directly from the caller to the bitmap using RtlCopyMemory, ignoring different scanline length and direction (resulting in bitmaps being upside down), not SEH protected. This function (IntSetBitmapBits) is replaced by a better solution UnsafeSetBitmapBits, that takes these things into account. The name is chosen to give a hint that the function can/should be SEH protected. IntSetBitmapBits is still there, as its retarded behaviour is actually required in some places. There were also IntCreateBitmap and IntGdiCreateBitmap, now both being replaced by GreCreateBitmap. The code that set the palette is removed, as it's already done in SURFACE_AllocSurface, here gpalRGB is replaced with gpalBGR, fixing some inverted color issues. The alignment correction in SURFACE_bSetBitmapBits is reapplied, now that the callers are behaving as they are supposed to do. svn path=/branches/reactos-yarotows/; revision=47641 |
||
---|---|---|
base | ||
boot | ||
dll | ||
drivers | ||
hal | ||
include | ||
lib | ||
media | ||
modules | ||
ntoskrnl | ||
subsystems | ||
apistatus.lst | ||
baseaddress.rbuild | ||
config-amd64.template.rbuild | ||
config-arm.template.rbuild | ||
config-ppc.template.rbuild | ||
config.template.rbuild | ||
COPYING | ||
COPYING.ARM | ||
COPYING.LIB | ||
COPYING3 | ||
COPYING3.LIB | ||
CREDITS | ||
depmap.xsl | ||
Doxyfile | ||
INSTALL | ||
Makefile | ||
proxy.mak | ||
ReactOS-amd64.rbuild | ||
ReactOS-arm.rbuild | ||
ReactOS-generic.rbuild | ||
ReactOS-i386.rbuild | ||
ReactOS-ppc.rbuild | ||
README | ||
rosbuild.bat | ||
vreport.xsl |
======================== ReactOS Version 0.3.x Updated Dec 16, 2006 ======================== 1. What is ReactOS? ReactOS is an Open Source effort to develop a quality operating system that is compatible with Windows NT applications and drivers. The ReactOS project, although currently focused on Windows XP/2003 drivers compatibility, is always keeping an eye toward compatibility with older version of Windows NT family ( NT 4.0, 2000 (NT 5.0)) and new Windows NT releases (Vista, etc). Applications (Win32 API) compatibility focus is Windows XP. More information is available at http://www.reactos.org/. 2. Building ReactOS See the INSTALL file for more details. 3. More information See the media\doc subdirectory for some sparse notes. 4. Who is responsible See the CREDITS file.