![]() |
![]() |
![]() |
![]() |
This chapter includes:
The graphics drivers are independent of the Photon microGUI; the driver that you supply is implemented as one or more shared objects (your choice) that can be used by Photon or by any other application requiring the services of a graphics driver.
You provide a set of well defined entry points, and the appropriate graphics system dynamically loads your driver and calls the entry points.
By way of example, this is how your driver interacts with Photon and the graphics driver subsystem, io-graphics, under QNX 6:
How a driver interacts with Photon.
As you can see from the above diagram, a set of Photon infrastructure components are responsible for the interface to Photon:
When you install the DDK package, the source is put into a directory under the /usr/src/ddk-6.2.0 directory. Currently, the directory structure for the Graphics DDK looks like this:
Directory structure for the Graphics DDK.
![]() |
![]() |
![]() |
![]() |