Hi,
important here is now DFB is initialized.
It is possible to run DFB on top of the frame buffer device, or on top
of X11.
If you run DFB on top of the frame buffer device, then X11 is not
allowed to run.
If you want to run enlightenment etcetera, you have to compile these to
run on top of DFB using GTK.
You cannot run X11. You can easily see this by doing ldd on your
required libraries.
If you run DFB on top of X11, than you can specify a window where all
DirectFB applications run inside. I think you want this.
Please note that DFB cannot perform hardware acceleration as long as X11
is running!
By default DFB runs on top of the frame buffer device, you need to
specify "system=X11" to run it on top of X11.
hth
Niels
guanghua zhou wrote:
Yes, I have, but at the beginning, DFB will flush the whole screen as
white, then it will render the images in the defined region, how can I
disable the whole screen flush at the beginning? Thanks
On Sat, Nov 28, 2009 at 3:48 AM, Lionel Landwerlin
<llandwer...@gmail.com <mailto:llandwer...@gmail.com>> wrote:
Le samedi 28 novembre 2009 à 02:49 +0800, guanghua zhou a écrit :
> Dear all,
> A touch screen device running with Linux system, the input and
output
> (keyboard/touch screen event and the display) of all the current
> applications are implemented based on Enlightment (ecore, evas...),
> and now, the new application based on directfb which will render
video
> or something else will be integrated into this system, and it
will be
> started by the other application in a given region (maybe a
rectangle
> region in the central of the screen), so how can I create the DFB
> surface context so that this application will not refresh the region
> outside of the given area? Your suggestion and example will be very
> helpful for me, thanks very much!
Why not create a window correctly positionned/sized to fit your
needs ?
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org <mailto:directfb-dev@directfb.org>
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
------------------------------------------------------------------------
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
--
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev