Graphics Driver API

This chapter includes reference pages for the entry points your driver must provide, as well as for the macros and data structures you'll use when writing a graphics driver:

devg_get_contextfuncs()
Get a table of your driver's context drawing functions
devg_get_corefuncs()
Get a table of your driver's core 2D drawing functions
devg_get_memfuncs()
Get a table of your driver's video memory-management functions
devg_get_miscfuncs()
Get a table of your driver's miscellaneous drawing functions
devg_get_modefuncs()
Get a table of your driver's modeswitcher functions
devg_get_rendfuncs()
Get a table of your driver's 3D rendering functions

Note: The 3D rendering functions are not documented.

devg_get_vcapfuncs()
Get a table of your driver's video capture functions
disp_2d_caps_t
Description of your driver's 2D capabilities
disp_adapter_t
Description of the graphics hardware's adapter
DISP_ADD_FUNC()
Add a function pointer to a table
disp_crtc_settings_t
CRT Controller settings
disp_draw_context_t
Draw context for a graphics driver
disp_draw_contextfuncs_t
Table of a driver's context drawing functions
disp_draw_corefuncs_t
Table of a driver's core drawing functions
disp_draw_miscfuncs_t
Table of miscellaneous drawing functions
disp_layer_query_t
Query the capabilities of a given layer
disp_memfuncs_t
Table of memory-management functions
disp_mode_info_t
Information for a display mode
disp_modefuncs_t
Table of your driver's modeswitcher functions
disp_module_info_t
Driver module information
disp_surface_t
Description of a two-dimensional surface
disp_vcap_props_t
Configurable properties of a video capture unit
disp_vcapfuncs_t
Table of video capture functions