[Overview][Constants][Types][Procedures and functions][Variables] |
Prevent further screen updates.
Source position: videoh.inc line 115
procedure LockScreenUpdate; |
LockScreenUpdateincrements the screen update lock count with one. As long as the screen update lock count is not zero, UpdateScreenwill not actually update the screen.
This function can be used to optimize screen updating: If a lot of writing on the screen needs to be done (by possibly unknown functions), calling LockScreenUpdatebefore the drawing, and UnlockScreenUpdateafter the drawing, followed by a UpdateScreencall, all writing will be shown on screen at once.
For an example, see GetLockScreenCount.
None.
|
Update physical screen with internal screen image. |
|
|
Unlock screen update. |
|
|
Get the screen lock update count. |