Mode |
GLC_CREATE_OVERLAY |
Default |
FALSE |
Function |
On the POWERgraphics GXT1000 adapter, this mode controls whether the winX subroutine will automatically create an overlay window. When this mode is set to TRUE, and the XID passed to winX is not an overlay window, then the winX routine will create an overlay window and make it a child of the indicted X window. Although the overlay window will be a distinct X11 window, internally, it will be used to emulate overlay plane functions. It can be accessed via the drawmode subroutine and can be drawn into with the usual GL functions. |
|
When this mode is set to FALSE, the winX routine will simply accept the indicated X Window, and create and attach a GL context to that window. The drawmode subroutine should not be used with windows created by winX when this mode is FALSE. |
|
This mode has no effect on graphics adapters other than the POWERgraphics GXT1000. |
Mode |
GLC_ISSUE_OVERDRAW |
Default |
FALSE |
Function |
On the POWERgraphics GXT1000 adapter, this mode controls how exposure events for the overlay planes are handled. When the mode is TRUE, the REDRAW_OVERLAY event will be issued whenever the overlay planes are uncovered and need redrawing. The REDRAW event will not be issued if the main frame buffer window has not been damaged. |
|
When the mode is FALSE, damage to the overlay planes will be reported with the REDRAW event. Note that if the main frame buffer has also been damaged, it may happen that two REDRAW events are reported for the window. |
|
Set this mode to FALSE if your application does not handle REDRAW_OVERLAY events, but needs to find out when the overlays need to be redrawn. |
|
This mode has no effect on graphics adapters other than the POWERgraphics GXT1000. |
Mode |
GLC_FB_FULLSCREEN |
Default |
FALSE |
Function |
On the POWERgraphics GXT1000 adapter, this mode enables the fullscrn routine to affect the main frame buffer. By default, the fullscrn subroutine applies only to the overlay bit-planes. |