Files
commandergenius/bugs.txt

60 lines
2.6 KiB
Plaintext

Known bugs
==========
- With 4:3 screen aspect ratio the on-screen buttons are not shown on the inactive part of screen.
- Calling SDL_SetVideoMode() with SDL 1.3 several times makes it crash.
- Calling SDL_Init()/SDL_Quit() several times will make SDL 1.2 crash.
- SDL_FillRect() does not work in SDL 1.2 HW mode.
Requested features
==================
- Split Settings.java into several files
- Option to skip startup config screen entirely, or to skip it on first run,
separate option to hide each SDL config menu entry
- Possibility to redefine initial SDL config in Settings.java
- Show/hide screen controls with longpress on Text Edit button.
- There's no double-buffered SW mode, only single-buffered
- Support of libjnigraphics (it will disable on-screen keyboard, only SW SDL screen surface supported)
- Update screen keyboard text input API
- Floating on-screen joystick - initially invisible, it appears when you touch the screen,
centered on your finger, then it slides with your finger if you bump the joystick edge.
- Export phone vibrator to SDL - interface is available in SDL 1.3
- Control screen brightness with SDL_SetGamma()
- Adjust Android media volume with some SDL keycode, so it can be mapped to Volume keys
- Zoom in-out whole screen in SW mode with some SDL key -
much like the "On-screen magnifying glass" feature (lazy porter's golden hammer)
- HDMI output (HTC Evo and Samsung Epic support that):
HDMI output will be tricky - I've read the doc here:
https://docs.google.com/View?id=dhtsnvs6_57d2hpqtgr#4_1_HDMI_output_support_338048
It says that in order to output something to HDMI you need to have a VideoView class visible on screen:
http://developer.android.com/reference/android/widget/VideoView.html .
This class does not have any method like "showMyOwnCustomImage()",
it just plays the video from the given path, so obvious solution is to create
special FIFO file or open a socket, point the VideoView to play this FIFO or socket,
and then write raw uncompressed video frames to that FIFO with some small header so that
VideoView will recognize it as a proper video format.
UQM gives 5 FPS without such hacks, if I'll implement that FPS will drop to 1-2
(maybe not that bad, I have to actually try that), because you'll have to do huge memcpy(),
plus VideoView will contain some buffer to ensure the playback is smooth,
so the data on your TV will lag halfsecond behind the data on the device screen.
- Somehow make this port into main libSDL repository - that's rather impossible,
because the original sources are modified badly, plus Java code does not fit anywhere.