On Wed, Apr 14, 2010 at 1:41 AM, Kurt Van Dijck <[email protected]> wrote:
> On Wed, Apr 14, 2010 at 12:30:34AM +0400, Nikita Egorov wrote:
>>
>> > Yes, I see your point. I also checked out DirectFB and was quite surprised 
>> > what a beast it has become. Transparen rotatabe windows? How can that be 
>> > any smaller or faster than X11?
>>
>> Actually the things are not so bad. The chief purpose of DirectFB is
>> support of hardware possibilities. Of course, the software fallbacks
>> will do such conversion with quite slow speed.
>> But when I tried to blit a picture with transparency and rotation
>> using dfb hardware driver (e.g. on embedded system via OpenGL ES) I
>> had only small delay against the simple blitting.

> It's not my intention to start discussing TinyX vs. dfb, I'm just
> interested and know not that much of dfb.
> * Does dfb make use of hardware acceleration in userspace, or kernel
> framebuffer drivers?

DirectFB doesn't use the acceleration possibilities of fbdev. It use
its own gfx driver which is one of dynamic modules of the library. Any
user can create his own graphics driver to accelerate standard
operations. Of course, if he have enough information about the
particular hardware.
If dfb doesn't have proper gfx driver it will draw through embedded
software fallbacks. The fallbacks can use 35 different formats of
pixels and work not slower than any other library.
But DirectFB has only basic functions - lines, triangles, rectangles
and blitting. In my port I had to implement all the rest necessary
operations.

> * is 'OpenGL ES' some kind of third party software in your system?

OpenGL ES is a subset of OpenGL. OpenGL ES is used on many embedded
platforms. Such as Freescale mpc5121, TI OMAP3530, and so on.
I have used OpenGL ES interface to accelerate gfx functions of DirectFB.

-- 
Nikita Egorov

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to