https://bugs.freedesktop.org/show_bug.cgi?id=84000

Jan Holesovsky <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Improve frame-rate of       |Improve precision of the
                   |Impress rendering.          |VCL Timer on Windows

--- Comment #2 from Jan Holesovsky <[email protected]> ---
The LibreOffice Timer implementation uses the Windows native Timer API.  As it
turns out, this cannot be set to anything lower than 10ms:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms644906%28v=vs.85%29.aspx

see "If uElapse is less than USER_TIMER_MINIMUM (0x0000000A), the timeout is
set to USER_TIMER_MINIMUM."

Even then, it is not exact 10ms, normally like 15.6ms, see:

http://stackoverflow.com/questions/24602202/changing-settimer-resolution-on-windows

And really; 1000 / 15.6 = 64.10, exactly the FPS we are seeing ;-)

I'm about to implement the LibreOffice's Timer using the Windows Multimedia
Timers that have higher precision; or at least when the timeout value is (let's
say) <50ms or so.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to