[SDL] Open GL, Linux, Windows
Ray Skoog
fsras at uaf.edu
Sat Jun 15 14:11:01 PDT 2002
>
>
>The images are small enough to fit in memory of a PC wit appropriate amount
>of RAM, so I'd like just to blit them when necessary. I suppose there might
>be some hardware support for the blitting. I do need a grid in front of the
>picture which is zoomed and panned with it but the lines of which stay at
>the same width. So I need fast line operations and/or overlay graphic.
>
>
>
OpenGL does those sorts of things very well, accelerated, on all major
OS's... so long as you have a video card from the past 3 or 4 years,
and so long as you have drivers for it.
I found out how to convert SDL_Surfaces to OpenGL textures in a NeHe
demo (should be linked of the SDL page). Beyond that I have no
knowledge of how to get your data into OpenGL textures.
-Ray Skoog
More information about the SDL
mailing list