My Easy SDL Framework for everyone

This is a discussion on My Easy SDL Framework for everyone within the Game Programming forums, part of the General Programming Boards category; I wrote this for my own organization.. but I released it under a real liberal Open Source License.
http://www.conceptofzero.com/code is ...

My Easy SDL Framework for everyone

I wrote this for my own organization.. but I released it under a real liberal Open Source License.

http://www.conceptofzero.com/code is the base directory. The license + code is there.. and there is some real nice docs. SDLManager2 is optional.. dont use it if you dont have the libraries to use it (read the docs for more info)

and Doxygen docs coming soon for the 2nd half (they do take a while)

enjoy.. and feel free to ask questions / give any feedback
Hopefully this will make SDL easier to use.

making SDL easier to use, eh? sorry, I don't think I'll probably be enlisting in your effort...I profiled my code today, and I found that it is spending 99.1% of the time calling _SDL_FLIP, making it run slowly as a whole...you don't have any suggestions for that, do you?

SDL_Flip waits for a vync. I think the only way for it not to wait for a vsync is to do something like this
LPDIRECTDRAWSURFACE3 dd_surface = sdl_surface->private_hwdata->dd_surface and then calling direct draws flip function with DDFLIP_NOVSYNC or something like that. Note that you will have to define struct private_hwdata as
struct private_hwdata {
LPDIRECTDRAWSURFACE3 dd_surface;
LPDIRECTDRAWSURFACE3 dd_writebuf;
};
since sdl hides this from you and of course you will have to be
using directx.

if I disabled letting it wait for a vertical retrace (I assume that's what you meant by Vsync) wouldn't it tear the screen? Also, I do plan on drawing more stuff and doing more processing between flips, the problem is that there is too much time between the flips to get a good frame rate.

no I can't speed that up unless you go into the DX.. my framework is for people that dont know SDL in general.. it takes SDL from a 5th grade level down to a 1st grade level for people.. just making the API incredibly simple.