Functions | |
HC_BOOLEAN | Update_One_Display (const char *segment) |
Executes Update_Display on a single driver instance. More... | |
HC_BOOLEAN Update_One_Display | ( | const char * | segment | ) |
Executes Update_Display on a single driver instance.
segment | - segment from which to begin an update. The segment must be a driver instance, such as /driver/opengl/window2 |
HC_Update_One_Display instructs HOOPS to perform an update on a single driver instance. For example, in some cases the developer may want to update a postscript driver tree, but to avoid a display update.
Drivers that are updated using this function should set the "isolated" driver option (see Set_Driver_Options() ) prior to the first update. One consequence of this requirement is that developers must decide at the time of driver creation whether a given driver is to be updated with this function or with Update_Display. The consequences of not setting the "isolated" driver option can include a crash if and when an expose event trickles down to a normal Update_Display on any of the currently active drivers while this function is working.