Get a table of your driver's core 2D drawing functions
int devg_get_corefuncs (disp_adapter_t *ctx, unsigned pixel_format, disp_draw_corefuncs_t *fns, int tabsize);
A driver must provide an entry point called devg_get_corefuncs(). The graphics framework calls it to get a table of your driver's core 2D drawing functions for a particular pixel format.
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.
Neutrino
Safety: | |
---|---|
Interrupt handler | Not applicable |
Signal handler | Not applicable |
Thread | Not applicable |
devg_get_contextfuncs(), devg_get_miscfuncs(), disp_adapter_t, DISP_ADD_FUNC(), disp_draw_corefuncs_t, ffb_get_corefuncs()