kaka wrote:
> Hi All,
> 
> We need to provide hardware acceleration for broadcom card.
> We are planning to write gfx driver for broadcom card at the user space to
> provide the hardware acceleration.
> Is the framebuffer driver for the same need to be implemented at the kernel
> side?
> or we can directly provide hardware accelereation from gfx driver from user
> space using vesa(default one provided by linux at kernel side)

If you need to use user space libraries for setting up the display
you should write a system module and not use the framebuffer device
at all. Have a look at the X11 system (latest from GIT) for an example.
After you wrote the system module with at least one layer implementation
you can add a graphics driver for acceleration.

Acceleration using other libraries did not always work so far. It had
to be a very low level interface where DirectFB still manages the whole
graphics memory.

However, with the new surface core (checked in as a branch) the surface
buffer allocation can be implemented in the system module. Please see
the SDL system module there. It also includes a graphics driver which
uses SDL_Blit() for "accelerated" blitting or SDL_FillRect(). The layer
implementation also makes use of SDL_Flip() now :)

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to