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?

Cheers
Dan

-- 
View this message in context: 
http://www.nabble.com/Writing-a-DirectFB-Driver-tp14577196p14577196.html
Sent from the DirectFB Dev mailing list archive at Nabble.com.


_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to