Setting Up OpenGL with SDL

How abouts would i use OpenGL efficiently in SDL?

Once I have that down, what is the purpose of SDL_GL_SwapBuffers() ? Does
it allow an SDL surface to be used in OpenGL? How would I draw, using SDL,
and move the image to the OpenGL buffer?

Basically, I have a fairly decent printing function that’s SDL based, and
it’s much easier in SDL than OpenGL…

Thanks in advance,
Alex~–
Smith: "…Why, Mr Anderson, Why - Do - You - Persist?"
Neo: “Because I choose to.”
-Matrix Revolutions