This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Create a lock for an offscreen context
int PdCreateOffscreenLock( PdOffscreenContext_t *osc, PdOSCCreateLockParams_t *params );
ph
This function creates an offscreen lock in an offscreen context.
This function doesn't lock the offscreen context; to do that, call PdLockOffscreen(). |
The PdOSCCreateLockParams_t structure includes the following members:
This signal is used only if you set Pg_OSC_LOCK_SIG in the flags member.
You can't lock the primary display unless the application is in direct mode. |
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PdDestroyOffscreenLock(), PdGetOffscreenContextPtr(), PdIsOffscreenLocked(), PdLockOffscreen(), PdUnlockOffscreen()
"Offscreen locks" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide