From: Geoffrey F. <fu...@us...> - 2001-03-23 22:46:47
|
Update of /cvsroot/plplot/plplot/src In directory usw-pr-cvs1:/tmp/cvs-serv25918/src Modified Files: Tag: dyndrv_1 plcore.c Log Message: Flesh this out. Keep records about the loadable devices as we scan the drivers description database. Use this to index the device list into the driver list, since some drivers may provide multiple devices. Implement plLoadDevice(). This is called after plSelectDev() (the old plGetDev()), and checks to see if the dispatch table has valid function pointers for the selected device. If not, we have to load a device. Find the device spec, use its drvidx to look up the driver spec. If the driver isn't loaded, load it. Once loaded, extract its symbols for the requested device, initialize the dispatch table, and send everyone home happy campers. Dan Quayle would be proud of us. |