Sdl + cairo

I would like to know what is your opinion about using Cairo Graphics (
http://cairographics.org ) in SDL games, instead libraries such as SDL_gfx, and
maybe add a backend ?

I don’t have experience with Cairo, but it seems great; and I hope it becomes
more portable. And probably it’s possible to build a library with abstract
structs ( C-OOP approach ) to render images with SDL_Surfaces/Cairo and OpenGL,
depending on library initialization ( have a look at SuperTux game, to
understand my idea ).

Regards.

Pedro Amaral Couto wrote:

I would like to know what is your opinion about using Cairo Graphics (
http://cairographics.org ) in SDL games, instead libraries such as SDL_gfx, and
maybe add a backend ?

I don’t have experience with Cairo, but it seems great; and I hope it becomes
more portable. And probably it’s possible to build a library with abstract
structs ( C-OOP approach ) to render images with SDL_Surfaces/Cairo and OpenGL,
depending on library initialization ( have a look at SuperTux game, to
understand my idea ).

Well, we have a backend ready for doing SDL over OpenGL (it’s even more
portable than using cairo and you probably have more speed too).
It works fine with supertux for example (it gives the same speed as the
supertux native opengl renderer).

Stephane

Stephane Marchesin wrote:

Well, we have a backend ready for doing SDL over OpenGL…
Stephane

Escuse me, i’m quite new to SDL. Are you talking of glSDL ? If not, what are
you talking about ? Something not yet released maybe, i don’t now :slight_smile:

Thanx !

Evadream wrote:

Stephane Marchesin wrote:

Well, we have a backend ready for doing SDL over OpenGL…
Stephane

Escuse me, i’m quite new to SDL. Are you talking of glSDL ?

Yes, glSDL converted to an SDL backend. I hope we’ll release it before
the end of year partying craze starts up, so that might mean very soon.

Stephane

Stephane Marchesin wrote:

Thanx for your response !> Evadream wrote:

Stephane Marchesin wrote:

Well, we have a backend ready for doing SDL over OpenGL…
Stephane

Escuse me, i’m quite new to SDL. Are you talking of glSDL ?

Yes, glSDL converted to an SDL backend. I hope we’ll release it before
the end of year partying craze starts up, so that might mean very soon.

Stephane