From e7dd1efef408effe52d0bd3d3aa0b5d4ee10ed90 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 25 Aug 2009 18:07:00 -0700 Subject: Ensure that rotation updates happen frequently The smart scheduler is designed to minimize scheduler overhead by increasing the interval between WaitForSomething calls when a single client is running. However, the software rotation code depends on its BlockHandler being invoked for screen updates; the long delays caused by the smart scheduler optimizations means that screen updates can be delayed a long time as well. The change is simple -- prevent the smart scheduler from increasing the scheduling interval while any screen is using software rotation. Signed-off-by: Keith Packard --- include/dix.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/dix.h b/include/dix.h index e2db6b655..49dfe3774 100644 --- a/include/dix.h +++ b/include/dix.h @@ -229,6 +229,12 @@ extern _X_EXPORT void WakeupHandler( int /*result*/, pointer /*pReadmask*/); +void +EnableLimitedSchedulingLatency(void); + +void +DisableLimitedSchedulingLatency(void); + typedef void (* WakeupHandlerProcPtr)( pointer /* blockData */, int /* result */, -- cgit v1.2.3