PEXSetWorkstationHLHSRMode(3) — Subroutines
Name
PEXSetWorkstationHLHSRMode - Set Workstation HLHSR Mode
Synopsis
void PEXSetWorkstationHLHSRMode(Display ∗display, PEXWorkstation workstation, int hlhsr_mode)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
workstationThe resource identifier of the workstation.
hlhsr_modeThe workstation HLHSR mode (PEXHLHSROff, PEXHLHSRZBuffer, PEXHLHSRPainters, PEXHLHSRScanline, PEXHLHSRHiddenLineOnly, PEXHLHSRZBufferID).
Returns
None
Description
This function sets the requested HLHSR mode of the specified workstation. If the workstation’s display surface attribute is PEXEmpty, or if the dynamic modification for HLHSR mode is PEXIMM, the current HLHSR mode is set to the specified HLHSR mode and the HLHSR update is set to PEXNotPending; otherwise, the HLHSR update is set to PEXPending and the current HLHSR mode is not changed.
Data Structures
typedef XID PEXWorkstation;
Errors
BadAllocThe server failed to allocate resources needed for HLHSR.
BadPEXWorkstation
The specified workstation resource identifier is invalid.
BadValueThe specified HLHSR mode is invalid.