No problem, A surface is a pixel buffer that you draw into. It can either be on screen, meaning that as you draw into it it will show up on the user’s screen, or off screen, meaning that it will not show up on the screen. Off screen surfaces are usually copied to on screen surfaces at some point. The user’s screen is made up of a set of layers each of which have a set depth. These layers are then composited into what the user sees. Each layer has an implicit surface. When you create a “primary” surface, you are using the primary display layer’s implicit surface.
Hope this helps. If not, please clarify your question. Ben From: khajapasha...@rediffmail.com [mailto:khajapasha...@rediffmail.com] Sent: Wednesday, December 29, 2010 9:09 PM To: Defnet, Benjamin R Subject: Re: [directfb-users] Difference between Surface Object and DisplayLayer Thanks For Your Answer... Is it possible to give a detail explanation on it.. Thanks In Advance.. On Thu, 30 Dec 2010 01:17:37 , "Defnet, Benjamin R" <benjamin.r.def...@intel.com> wrote You can think of an IDirectFBSurface as an “off-screen” surface and a IDirectFBDisplayLayer as an “on-screen” surface wrapper. As for your second question, creating a Surface as Primary is the same thing as getting the Primary Display Layer and calling GetSurface(). From: directfb-users-boun...@directfb.org [mailto:directfb-users-boun...@directfb.org] On Behalf Of Pasha Sent: Wednesday, December 29, 2010 5:40 AM To: directfbusers Subject: [directfb-users] Difference between Surface Object and DisplayLayer Hi All, Can any one explain how the Surface object is differ from DisplayLayer. If i created a Surface as Primary how it is differ from DisplayLayer? Thanks In Advance......................................! -- With Regards Pasha [http://www.rediffmail.com/cgi-bin/red.cgi?red=http%3A%2F%2Fsigads%2Erediff%2Ecom%2FRealMedia%2Fads%2Fadstream%5Fnx%2Eads%2Fwww%2Erediffmail%2Ecom%2Fsignatureline%2Ehtm%40Middle&isImage=1&BlockImage=1&rediffng=0]<http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline....@middle?> _______________________________________________ directfb-users mailing list directfb-users@directfb.org<javascript:void(0);> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users [http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline....@middle]<http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline....@middle?>
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users