I'm trying to use foobilliard, the open source billiard game, on
an embedded device with a 240x320, RGB565 framebuffer. But it looks like
SDL doesn't bind to Mesa's fbdev driver. Is there an easy way to enable
this binding? Does Glut bind to Mesa's fbdev driver?
[mailto:mesa3d-users-admin@...] On Behalf Of
Sent: Tuesday, May 31, 2005 8:52 AM
Subject: Mesa3d-users digest, Vol 1 #891 - 1 msg
Send Mesa3d-users mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific than
"Re: Contents of Mesa3d-users digest..."
1. Re: offscreen rendering (Brian Paul)
Date: Mon, 30 May 2005 09:53:03 -0600
From: Brian Paul <brian.paul@...>
Subject: Re: [Mesa3d-users] offscreen rendering
Auber David wrote:
> I'm using offscreen rendering in order to generate image map for Web
> applications. However, when the NVidia drivers is installed, it is not
> possible to use offscreen rendering. I need to be able to generate my
> picture without running X11.
> Is there a solution to solve this problem ? Is it possible to have=20
> NVidia OpenGL and Mesa OpenGL ? The only solution I see is to link=20
> statically MesaLib with my program. The main problem is to be able to=20
> distribute sources that are easy to rebuild and to install. For static
> linkage I must include the Mesa source in my project and rebuild it.
> someone know an other solution ....
Other people have done this sort of thing. Basically, compile Mesa=20
with "name mangling" so that all the functions get prefixed with "mgl"=20
instead of "gl". Then, in your code, call glFoobar for the NVIDIA=20
library and mglFoobar for Mesa. People typically construct a dispatch=20
table (struct of function pointers) to dynamically switch between them.
Mesa3d-users mailing list
End of Mesa3d-users Digest
From: Brian Paul <brian.paul@tu...> - 2005-06-01 16:39:49
> Hi All,
> I'm trying to use foobilliard, the open source billiard game, on
> an embedded device with a 240x320, RGB565 framebuffer. But it looks like
> SDL doesn't bind to Mesa's fbdev driver. Is there an easy way to enable
> this binding?
> Does Glut bind to Mesa's fbdev driver?
You might want to monitor the DRI/Mesa/EGL work currently underway.
It's the most likely path forward for OpenGL on embedded devices. See
the DRI-EGL list on freedesktop.org: