summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2016-05-30 17:36:37 +0200
committerMichael Meeks <michael.meeks@collabora.com>2016-05-31 15:37:23 +0000
commit75cfd5e81d5ba04df55053b4f52d285328fd708e (patch)
tree5729c2af0c4d154f00b1f9ca9b47e3a00ac45da1 /offapi
parentd12a9cb847029d89edf0829a27de58375f9f2741 (diff)
tdf#100092: Deterministic scheduling to prevent unpredictable behavior.
Low priority idles can fire more or less randomly, and consequently two consequent runs of LibreOffice differ in the amount of the idles that have been performed during an operation. This commit adds a possibility to turn on a 'deterministic mode' where two subsequent runs of LibreOffice trigger about the same amount of events when they perform the same set of operations. Change-Id: I92566ef4eee20e7d604cfd48f01c4df30c77e653 Reviewed-on: https://gerrit.libreoffice.org/25712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/awt/XToolkitExperimental.idl16
1 files changed, 10 insertions, 6 deletions
diff --git a/offapi/com/sun/star/awt/XToolkitExperimental.idl b/offapi/com/sun/star/awt/XToolkitExperimental.idl
index 7c5d36331958..89828b2864e1 100644
--- a/offapi/com/sun/star/awt/XToolkitExperimental.idl
+++ b/offapi/com/sun/star/awt/XToolkitExperimental.idl
@@ -19,14 +19,18 @@ module com { module sun { module star { module awt {
interface XToolkitExperimental : XToolkit2
{
- /** Process all pending idle events
- */
- void processEventsToIdle();
+ /** Process all pending idle events
+ */
+ void processEventsToIdle();
- /** Get the number of OpenGL buffer swaps.
- */
- hyper getOpenGLBufferSwapCounter();
+ /** Get the number of OpenGL buffer swaps.
+ */
+ hyper getOpenGLBufferSwapCounter();
+
+ /** Turn on or off deterministic scheduling (off is the default).
+ */
+ void setDeterministicScheduling([in] boolean bDeterministicMode);
};
}; }; }; };