SDL_ListModes on winCE (GAPI patch)

Hi,

Use this sdl version, it will be added in 1.2.9 branch (I hope). Now
it is in beta stage.

It supports:

  • SDL_ListModes
  • GAPI standard and VGA at the same time
  • Landscape orientation (it allows rotating of the screen in run-time)
  • 4, 8, 16 bpp of video memory.
  • Special support of 8 bpp on 8 bpp devices.
  • Supports all possible Pocket PC devices and smartphones
  • It is the fastest GAPI patch for SDL.

http://www.activekitten.com/pbc_download/sdl_gapi_ver07.zip

It contains precompiled binaries for all processors and source code.
Feel free to test.> As of the latest SDL source I’ve looked at (1.2.8), SDL_ListModes

returns -1 on winCE, implying any resolution is valid. Would it not
make more sense to return a mode for the current desktop window size?
Code along the lines of:
resx = GetDeviceCaps(GetDC(NULL), HORZRES);
resy = GetDeviceCaps(GetDC(NULL), VERTRES);
should retrieve the info according to research. (test and verify pending)

Also, when running in windowed mode it may be desired to know the max
window size that’ll fit.


Best regards,
Dmitry Yakimov, ISDEF member
ActiveKitten.com

Dmitry Yakimov wrote:

Hi,

Use this sdl version, it will be added in 1.2.9 branch (I hope). Now
it is in beta stage.

What known bugs are left in this? If the remaining bugs are trivial, we
should put it in CVS now so that more people will look at it. We can
always commit more fixes later. :slight_smile:

–ryan.

Hi,

Mostly it is done, it needs testing on exotic be300 (there may be
theoretically issues with keyboard) and landscape 4bpp mode has to be completed
(it is even more exotic than be300). I think within a week or two in
my free time I complete it.
I want to implement the best possible wince support to let people save
their money on commercial wince graphics libraries.

If anyone wants to help me - just test it everywhere you can.>> Use this sdl version, it will be added in 1.2.9 branch (I hope). Now

it is in beta stage.

What known bugs are left in this? If the remaining bugs are trivial, we
should put it in CVS now so that more people will look at it. We can
always commit more fixes later. :slight_smile:

–ryan.


Best regards,
Dmitry Yakimov, ISDEF member
ActiveKitten.com