• Sam Lantinga's avatar
    Date: Thu, 05 Feb 2009 18:07:35 +0100 · d2d2e1c3
    Sam Lantinga authored
    From: Stefan Klug
    Subject: [SDL] SDL 1.3 WinCE backend
    
    as promised, I've started to work on the WinCE backend of SDL 1.3
    I've modified the win32 video backend and the gdi renderer, to work
    properly in WinCE.
    The results till now are great, but there is still some work to do.
    
    Attached are two patches with my changes.
    I would be happy if someone could review and propably commit them.
    
    The first one (configure.in.patch) should be straight forward without
    any side effects.
    
    The second one does the necessary changes to the win32 backend. I was
    really unhappy to start slicing this shiny new backend with
    #ifdef/#endif but I saw no other option.
    
    The most problematic issues are:
    - WinCe has no GetDIBits, so its practically impossible to fill a
    BITMAPINFO with correct values. I therefore removed the bmi member from
    the GDI_RenderData in SDL_gdirender.c to prevent usage of a not or not
    properly initialized  bmi.
    - In SDL_win32window.c I exchanged some ASCII function by their general
    counterparts, (In CE only the Unicode versions are available). I don't
    know if this has a negative effect when running in win32
    
    
    Cheers
    Stefan
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403564
    d2d2e1c3
Name
Last commit
Last update
VisualC Loading commit data...
VisualCE Loading commit data...
XCodeiPhoneOS Loading commit data...
Xcode Loading commit data...
build-scripts Loading commit data...
docs Loading commit data...
include Loading commit data...
src Loading commit data...
test Loading commit data...
.indent.pro Loading commit data...
BUGS Loading commit data...
Borland.html Loading commit data...
Borland.zip Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL Loading commit data...
Makefile.dc Loading commit data...
Makefile.ds Loading commit data...
Makefile.in Loading commit data...
Makefile.minimal Loading commit data...
NOTES Loading commit data...
README Loading commit data...
README-SDL.txt Loading commit data...
README.BeOS Loading commit data...
README.CVS Loading commit data...
README.DC Loading commit data...
README.DirectFB Loading commit data...
README.MacOSX Loading commit data...
README.MiNT Loading commit data...
README.NanoX Loading commit data...
README.OS2 Loading commit data...
README.Porting Loading commit data...
README.QNX Loading commit data...
README.RISCOS Loading commit data...
README.SVN Loading commit data...
README.Watcom Loading commit data...
README.WinCE Loading commit data...
README.iphoneos Loading commit data...
README.wscons Loading commit data...
SDL.spec.in Loading commit data...
TODO Loading commit data...
UNDER_CONSTRUCTION.txt Loading commit data...
VisualC.html Loading commit data...
Watcom-OS2.zip Loading commit data...
Watcom-Win32.zip Loading commit data...
WhatsNew Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
configure.in Loading commit data...
docs.html Loading commit data...
sdl-config.in Loading commit data...
sdl.m4 Loading commit data...
sdl.pc.in Loading commit data...