pinq_disp_upd_st(3g) — Subroutines
Name
pinq_disp_upd_st − Returns display update information.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
void pinq_disp_upd_st (
Pint wsid, /∗ (I) Workstation identifier ∗/
Pint ∗error_ind, /∗ (O) Error indicator ∗/
Pdefer_mode ∗def_mode, /∗ (O) Deferral mode ∗/
Pmod_mode ∗mod_mode, /∗ (O) Modification mode ∗/
Pdisp_surf_empty ∗display_surf, /∗ (O) Display surface empty flag ∗/
Pvisual_st ∗state /∗ (O) State of the visual
representation ∗/
)
Data Structures
typedef enum {
PDEFER_ASAP, /∗ Generate images as soon as possible. ∗/
PDEFER_BNIG, /∗ Generate images before the next interaction
globally, or before a sample or event input
occurs. ∗/
PDEFER_BNIL, /∗ Generate images before the next interaction
locally, or before a sample or event input
occurs. ∗/
PDEFER_ASTI, /∗ Generate images at some time. The workstation
determines the exact time. ∗/
PDEFER_WAIT /∗ The workstation waits to generate images. ∗/
} Pdefer_mode;
typedef enum {
PMODE_NIVE, /∗ No immediate visual effect ∗/
PMODE_UWOR, /∗ Update without regeneration ∗/
PMODE_UQUM /∗ Use quick update methods ∗/
} Pmod_mode;
typedef enum {
PSURF_NOT_EMPTY, /∗ display surface is not empty ∗/
PSURF_EMPTY /∗ display surface is empty ∗/
} Pdisp_surf_empty;
typedef enum {
PVISUAL_ST_CORRECT, /∗ correct picture ∗/
PVISUAL_ST_DEFER, /∗ deferred picture ∗/
PVISUAL_ST_SIMULATED /∗ simulated picture ∗/
} Pvisual_st;
Description
pinq_disp_upd_st queries the workstation state list and returns the current deferral mode, modification mode, display surface empty flag, and the state of visual representation. If simulated and deferred actions exist simultaneously, the state of visual representation entry is PVISUAL_ST_DEFER.
See Also
pinq_def_disp_upd_st
predraw_all_structs
pset_disp_upd_st
pupd_ws