Mercurial > sdl-ios-xcode
view TODO @ 3097:0d12e8f1de3c
Date: Thu, 05 Feb 2009 18:07:35 +0100
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
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 23 Mar 2009 05:35:21 +0000 |
parents | 4ccdf20bad6f |
children | 3fde47894732 |
line wrap: on
line source
1.3 release checklist: * Add higher precision timers for profiling * Implement YUV texture support - in progress, software support is done, Ryan is working on OpenGL shaders * Implement desktop video mode change notification? * Add OpenGL 3.0 context support * Finish multiple display support * Open windows on display that is selected when creating a window * Create testing plan - becoming more and more important... - unit tests for each feature and combination with expected output and actual output comparison. * Public license for SDL_compat.c, tests, and SDL_main* * Verify mouse grab support * Properly handle mouse grab with Vista DPI scaling * Make sure the mouse is where it's supposed to be when un-grabbed * Plan how to handle events on foreign windows * Add keyboard enumeration / name query API * Implement NET_WM_PING and NET_WM_PID/WM_CLIENT_MACHINE (?) - http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#KILLINGWINDOWS * Add a timeout parameter for SDL_WaitEvent() (?) - http://lists.libsdl.org/pipermail/sdl-libsdl.org/2008-May/thread.html#65067 * Implement key repeat at the driver level * Add name -> keysym and name -> scancode lookup functions * Fix building haptic system on win32 * Add always on top window styles * Add video modes that have an alpha channel? * Implement SDL_RenderReadPixels() for screenshots? Wish list for the 1.3 development branch: http://bugzilla.libsdl.org/ * Add a way to register custom events * DirectInput joystick support needs to be implemented * Explicit vertical retrace wait (maybe separate from SDL_Flip?) * Shaped windows, windows without borders * Multiple display support * Add a timestamp to events * Add audio input API * Add modifier state to key and button events In the jump from 1.2 to 1.3, we should change the SDL_Rect members to int and evaluate all the rest of the datatypes. This is the only place we should do it though, since the 1.2 series should not break binary compatibility in this way. Requests: * PCM and CDROM volume control (deprecated, but possible)