SDL-mirror/include
Sam Lantinga f64089822e Hi,
I have prepared a set of patches to readd WindowsCE support to SDL 1.3.
I've created a new GAPI/Rawframebuffer and a DirectDraw renderer.
Both renderers are work in progress and there are several unimplemented
cases. (Notably
RenderLine/RenderPoint/RenderFill/QueryTexturePixels/UpdateTexture and
texture blending )
Nevertheless I am successfully using these renderers together with the
SDL software renderer. (On most devices the SDL software renderer will
be much faster as there are only badly optimized vendor drivers available)

I send these patches now in this unpolished state because there seems to
be some interest in win ce and someone has to start supporting SDL 1.3

Now on to the patches:
wince_events_window_fixes.patch
fixes some wince incompatibilities and adds fullscreen support via
SHFullScreen. NOTE: This patch shouldn't have any side effects on
Windows, but I have NOT tested it on Windows, so please double-check.
This patch doesn't dependent on the following ones.

wince_renderers_system.patch
This patch does all necessary modifications to the SDL system.
- it adds the renderers to the configure system
- it adds the renderers to win32video

SDL_ceddrawrender.c
SDL_ceddrawrender.h
SDL_gapirender_c.h
SDL_gapirender.c
SDL_gapirender.h
these files add the new render drivers and should be placed in
src/video/win32

Some notes to people who want to test this:
- I have only compiled sdl with ming32ce, so the VisualC files are not
up to date
- As mingw32ce has no ddraw.h this file must be taken from the MS SDK
and modified to work with gcc
- I had to modify line 2611 in configure.in to
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lcoredll -lcommctrl -lmmtimer
-Wl,--image-base -Wl,0x10000"
otherwise GetCPinfo wouldn't link. If someone knows whats causing this
I'd be happy to hear about it.

It would be great if these patches could make their way into SVN as this
would make collaboration much much easier.

I'm out of office for the next week and therefore will be unavailable
via email.

Regards
Stefan

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403626
2009-06-07 02:44:46 +00:00
..
begin_code.h Updated copyright date 2008-12-08 00:27:32 +00:00
close_code.h Updated copyright date 2008-12-08 00:27:32 +00:00
doxyfile SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head. 2006-07-10 21:04:37 +00:00
SDL.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_audio.h First shot at new audio resampling code. 2009-01-11 04:46:42 +00:00
SDL_cdrom.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_compat.h Added an ifdef so that if you 2009-06-04 21:00:45 +00:00
SDL_config.h.default Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_config.h.in Hi, 2009-06-07 02:44:46 +00:00
SDL_config_dreamcast.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_config_iphoneos.h Mac OS X and iPhoneOS have the full math library 2009-03-03 09:48:00 +00:00
SDL_config_macosx.h Mac OS X and iPhoneOS have the full math library 2009-03-03 09:48:00 +00:00
SDL_config_minimal.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_config_nintendods.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_config_os2.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_config_win32.h Fixed Visual C++ build 2009-01-12 08:46:28 +00:00
SDL_copying.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_cpuinfo.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_endian.h Fixed bug #537 2009-02-17 04:57:39 +00:00
SDL_error.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_events.h Added a #ifndef SDL_NO_COMPAT around SDL_ActiveEvent and SDL_ResizeEvent so that code 2009-06-05 23:36:00 +00:00
SDL_haptic.h Final merge of Google Summer of Code 2008 work... 2008-08-25 09:55:03 +00:00
SDL_joystick.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_keyboard.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_keysym.h Make the SDL keysyms that represent unprintable ASCII values actually have 2009-01-04 17:10:04 +00:00
SDL_loadso.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_main.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_mouse.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_mutex.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_name.h Added a new header file: SDL_loadso.h 2002-03-06 05:20:11 +00:00
SDL_opengl.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_opengles.h indent 2009-05-23 22:41:08 +00:00
SDL_pixels.h Support for BGR565 pixel format has been added, mainly for OpenGL ES renderer. OpenGL ES renderer now have new texture formats. 2009-06-03 10:40:44 +00:00
SDL_platform.h Corrected case for TargetConditionals.h 2008-12-14 07:22:15 +00:00
SDL_quit.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_rect.h Added line clipping 2008-12-23 02:23:18 +00:00
SDL_rwops.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_scancode.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_stdinc.h Fixed bug #537 2009-02-17 04:57:39 +00:00
SDL_surface.h Added SDL_GetColorKey() 2009-04-03 13:27:33 +00:00
SDL_syswm.h GF header must be included before Photon header for QNX. 2009-04-28 06:04:21 +00:00
SDL_thread.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_timer.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_types.h Updated copyright date 2008-12-08 00:27:32 +00:00
SDL_version.h Added missing void 2009-01-04 23:36:53 +00:00
SDL_video.h indent 2009-05-23 22:41:08 +00:00