4 Commits
Author SHA1 Message Date
Friedrich W. H. Kossebau 1e2a4a8323 Normalize license headers of the webodf.js source files
* remove @license tag (to prevent Closure compiler keeping the comment)
* use copyright@kogmbh.com email address everywhere
* remove "additional permission", to be added only to released webodf.js
* separate license header by empty line from following content
2014-06-02 12:19:05 +02:00
Philip Peitsch cd8bf92832 Suppress manual task processing to prevent skewing of benchmark figures
Manually processing the redraw tasks vastly affects the current benchmark
results, dwarfing impacts from most other subsystems. Disabling this for
now to aid tuning of non-UI components.
2014-05-16 21:28:46 +10:00
Philip Peitsch 4d685a13f0 Reduce UI flicker on FF as well
FF doesn't execute requestAnimationFrame requests before it's next
repaint, causing flickering when performing some types of updates
(e.g., recomputing Style2CSS). To workaround this, sometimes we force
animation callbacks to redraw ourselves at certain points.

This fixes issue #491 on Firefox
2014-03-28 00:51:22 +11:00
Philip Peitsch a4e08ba851 Schedule UI updates using requestAnimationFrame rather than setTimeout
Using requestAnimationFrame ensures the callback is executed prior to
the next redraw, eliminating undesirable & highly visible flickers for
UI updates.

Fixes issue #491.
2014-03-28 00:12:34 +11:00