Hi Suresh,
you can only bridge between directfb surfaces. Normally bridging is not
needed.
I guess you need to make a special pool that allocates directfb surfaces
that your system can handle.
I also do not quite understand what you want.
For pictures, normally, you do:
(1) open a picture provider
(2) create a surface
(3) "read" the picture into this surface using the provider
now you can use this surface for your day-to-day tasks, for instance:
(4) blit the surface to the display surface
hth
Niels
Tanjore Suresh wrote:
Hi,
I am using DirectFB 1.3 version.
When does one implement surface pool bridge interfaces?
I am the process of developing the prototype systems and drivers for
our graphics requirement. While debugging that code to set the
background to be an image(.dfbg), it creates an image provider and
then allocates a surface and renders into that surface created by
itself. Subsequently, it tries to copy/bridge to the surface that
our system's can manage.
Currently, i have not supplied the surface pool bridge interfaces. The
routine which calls surface pool bridge interface does not seem to
check for the return code. Becuase of that setting background with an
image does not function well under my environment.
Can some one please let me know when do you supply the surface pool
bridge interfaces and also please reason out why it need to be
supplied?. Is there any means to overcome it without bridging as it
saves a copy of pixel data.
Any information you can offer will be really appreciated.
Thanks for your help in advance,
sureshtk
------------------------------------------------------------------------
_______________________________________________
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