Firstly, thank you for your reply.
The FB here means a fbdev or some API to operate it.
No window system or event arch is supposed to be included
EGL or DRM are good ideas for it, but we have no time to do
the porting work , so I wanna use some existing architecture.
------- Original Message -------
Sender : Jerome Glisse<glisse@...>
Date : 二月 23, 2009 20:50 (GMT+09:00)
Title : Re: [Mesa3d-users] Implement OpenGL and FB on x86 without X
On Mon, 2009-02-23 at 10:00 +0000, zhengjun wrote:
> Hi, folks
> I'm trying to implement OpenGL and FB interface on an x86 PC.
> The hw acceleration should be used for the Gfx card. And we don't
> want to use X. So I think the Mesa on DRI will be fine for the OpenGL
> interface. And when considering of FB operation, I'm a little confused.
> AFAIK, it seems that there are 2 way to integrate the FB and Mesa:
> 1. use the glDrawPixels/CopyPixels functions
> 2. use glRenderBufferEXT functions
> I've told that the first way is low efficient, and the second way can not
> be implemented without X.
> Is there anyway else, or have I miss anything ?
> Zheng Jun
What you mean by FB ? The kernel FB interface ?
If so i would suggest that you consider kernel
modesetting inside drm, this is where we want
to go and with it you can achieve hw accel
of GL without X for instance look at wayland
It uses hw accel through GL without X (the
demonstration shows X running inside wayland
but X is not involved in wayland accelerated
rendering). Most of these is based on EGL
one implementation is at:
Although i believe the plan is to add EGL
to mesa (it's already there but i think
it's not working right now).