This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Unlock a layer
int PgUnlockLayer( int layer );
ph
PgUnlockLayer() releases a layer from exclusive use by an application. To lock a layer, call PgLockLayer().
Other applications may not use PgSetLayerSurface() or PgSetLayerArg() on a locked surface.
You must target this function at a device by calling PdSetTargetDevice(). |
Your application should unlock its layers before it exits. You can lock a layer multiple times, but need to unlock it only once.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PdSetTargetDevice(), PgLockLayer(), PgSetLayerArg(), PgSetLayerSurface()
"Layers" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide