Patch to use sdl+fbcon+mesa

second public version of this patch
Changes:

  • bug fixes (adic now works)

Description:
this patch allows to use mesa with fbcon from within SDL
(=> opengl without X - but also without hardware acceleration)
it uses the offscreen mesa backend

Requirements:
i used mesa 5.0.1 (with only the osmesa backend enabled)

TODO:

  • i did not yet write a test for the SDL configure script
    (=> you have to set your CFLAGS="-DHAVE_OSMESA=1" manually)
  • SDL_GL_GetAttribute is not yet implemented

Download:
http://www-ti.informatik.uni-tuebingen.de/~thiele/patch/SDL/

Any comments ?

Greetings
karme