summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-08-25 18:07:00 -0700
committerKeith Packard <keithp@keithp.com>2009-08-25 18:14:19 -0700
commite7dd1efef408effe52d0bd3d3aa0b5d4ee10ed90 (patch)
treedccb4b61e30cf7d454a3492a5ceeb391292ad1f9 /include
parent1740cda7a37abc7d0a169ab4555b446adaa62211 (diff)
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 <keithp@keithp.com>
Diffstat (limited to 'include')
-rw-r--r--include/dix.h6
1 files changed, 6 insertions, 0 deletions
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 */,