This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Get a table of your driver's modeswitcher functions
int devg_get_modefuncs (disp_adapter_t *ctx, disp_modefuncs_t *fns, int tabsize);
A driver that contains a modeswitcher module must provide an entry point called devg_get_modefuncs(). The graphics framework calls it to get a table of your driver's modeswitcher functions.
The arguments are:
Use the DISP_ADD_FUNC() macro to add function pointers to the table. It checks the tabsize argument and adds a function pointer only if there's space for it in the table.
Photon
Safety: | |
---|---|
Interrupt handler | Not applicable |
Signal handler | Not applicable |
Thread | Not applicable |
devg_get_contextfuncs(), devg_get_corefuncs(), devg_get_memfuncs(), devg_get_miscfuncs(), devg_get_vcapfuncs(), devg_get_vidfuncs(), disp_adapter_t, DISP_ADD_FUNC(), disp_modefuncs_t