273a25c796
Some LOK messages may get called very often, such as updates about cursor position. And since only the last one matters, they get generated every time, which costs some time, and then later except for one they get all discard again from CallbackFlushHandler queue, which again costs time. Change the model to instead only set an 'updated' flag, and CallbackFlushHandler will request the actual message payload only before flushing. This commit changes LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR and LOK_CALLBACK_INVALIDATE_VIEW_CURSOR to work this way. Change-Id: I376be63176c0b4b5cb492fbf529c21ed01b35481 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124083 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com> |
||
---|---|---|
.. | ||
beans | ||
chart | ||
container | ||
diff | ||
document | ||
drawing | ||
helper | ||
lang | ||
sheet | ||
style | ||
table | ||
text | ||
util | ||
view | ||
bootstrapfixture.cxx | ||
calc_unoapi_test.cxx | ||
callgrind.cxx | ||
htmltesttools.cxx | ||
isheadless.hxx | ||
lokcallback.cxx | ||
screenshot_test.cxx | ||
setupvcl.cxx | ||
setupvcl.hxx | ||
unoapi_property_testers.cxx | ||
unoapi_test.cxx | ||
vclbootstrapprotector.cxx | ||
xmltesttools.cxx |