Commit 9af5f2b4 authored by Richard Hult's avatar Richard Hult Committed by Alexander Larsson

Disable/enable screen updates around process_all_updates to speed up rendering

parent 53b3343d
......@@ -406,6 +406,8 @@ void
_gdk_windowing_before_process_all_updates (void)
{
in_process_all_updates = TRUE;
NSDisableScreenUpdates ();
}
void
......@@ -432,6 +434,8 @@ _gdk_windowing_after_process_all_updates (void)
g_slist_free (old_update_nswindows);
in_process_all_updates = FALSE;
NSEnableScreenUpdates ();
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment