Hi,

David CABATON <[EMAIL PROTECTED]> writes:

> I'm interesting about fb, i want to create a small application with
> graphic interface (gtk) without X (fb), so what is the interest of
> directfb... i'm oblige to use directfb for my small application...
> 
> I create a graphical "hello world" with galde, i change the ligne
> "target=x11" to "target=linux-fb" in my
> /usr/local/lib/pkgconfig/gtk+-2.0.pc
>  file but i have an error :
> 
> Package gdk-linux-fb-2.0 was not found in the pkg-config search path.

If you want to use the linuxfb GDK target of GTK+, you need to compile
a version of GTK+ for it. This is explained in more detail here:

 http://developer.gnome.org/doc/API/2.0/gtk/gtk-framebuffer.html

> if i install directfb, what's the interest, the advantages and the
> disadvantages.... ???

While gtk+-linuxfb includes all the drawing routines as well as input
handling and a window stack in the GDK code, gtk+-directfb is a
different approach since it build on top of DirectFB. DirectFB
provides an abstraction layer on top of the Linux framebuffer
advice. This allows a smaller GDK layer, it allows to use
hardware-accelerated graphics routines and the DirectFB
multi-application core allows to run multiple applications on the
framebuffer at the same time.


Sven



-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to