[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Unlock screen update.
Source position: videoh.inc line 117
procedure UnlockScreenUpdate; |
UnlockScreenUpdate decrements the screen update lock count with one if it is larger than zero. When the lock count reaches zero, the UpdateScreen will actually update the screen. No screen update will be performed as long as the screen update lock count is nonzero. This mechanism can be used to increase screen performance in case a lot of writing is done.
It is important to make sure that each call to LockScreenUpdate is matched by exactly one call to UnlockScreenUpdate
For an example, see GetLockScreenCount.
None.
|
Prevent further screen updates. |
|
|
Get the screen lock update count. |
|
|
Update physical screen with internal screen image. |
lazarus-ccr.sourceforge.net |