On Wed, Jan 02, 2008 at 03:53:41AM -0800, Daniel Laird wrote: > > Hi All, > > I have written a DirectFB already and am now writing a new one for a new HW > device. > I have decided to revisit other GFX driver implementations to have a look to > see if I am doing things in the correct way. > > I find myself confused about the concepts of DriverData and DeviceData. > > In my Hardware I have 2 screens. Each screen has N layers. There is a 2D > HW accel unit. > The layers can be accessed as FB devices. (like davinci) > > As I look through the code I think the difference between DriverData and > Device Data is most important in multi application world. > As I understand it the DeviceData is initialised only once(but after > InitDtriver called) where as for following invocations of DirectFB only > InitDriver is called. > So I should store things in Device Data that are common to all my instances > of DirectFB and things that are instance specific should be in DriverData. > > Is this the correct usage?
Yes. -- Ville Syrjälä [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev