1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/src/chatlog
sudden6 3c58b992c6
perf: reduce repainting in animations
By profiling qTox using perf I discovered, that
NotificationIcon::updateGradient takes significant amount of CPU time
even though qTox is idle and no one is typing.

This commit fixes:

1) correctly determine visibility of NotificationIcon
2) only invalidate boundingRect in fixed intervals
3) apply the same fixes to Spinner since it has the same problem
2021-11-28 12:45:14 +01:00
..
content perf: reduce repainting in animations 2021-11-28 12:45:14 +01:00
chatline.cpp refactor(chatlog): Remove unused getRow functions from ChatLine 2021-11-21 16:18:44 -08:00
chatline.h refactor(chatlog): Rename ChatLog -> ChatWidget 2021-11-21 16:18:45 -08:00
chatlinecontent.cpp refactor(chatlog): Remove unused getRow functions from ChatLine 2021-11-21 16:18:44 -08:00
chatlinecontent.h refactor(chatlog): Remove unused getRow functions from ChatLine 2021-11-21 16:18:44 -08:00
chatlinecontentproxy.cpp fix(chatlog): Prepare geometry changes on chatline proxy 2019-09-13 14:41:10 -07:00
chatlinecontentproxy.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00
chatlinestorage.cpp chore(review): Copyright notice cleanup 2021-11-21 16:19:22 -08:00
chatlinestorage.h chore(review): Copyright notice cleanup 2021-11-21 16:19:22 -08:00
chatmessage.cpp refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
chatmessage.h refactor: Provide a Virtual Method Anchor for Classes in Headers 2021-10-26 16:47:40 +00:00
chatwidget.cpp chore(review): Copyright notice cleanup 2021-11-21 16:19:22 -08:00
chatwidget.h refactor(chatlog): Rename ChatLog -> ChatWidget 2021-11-21 16:18:45 -08:00
customtextdocument.cpp docs(copyright): update and add copyright info 2019-06-28 01:18:26 +02:00
customtextdocument.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00
documentcache.cpp docs(copyright): update and add copyright info 2019-06-28 01:18:26 +02:00
documentcache.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00
pixmapcache.cpp docs(copyright): update and add copyright info 2019-06-28 01:18:26 +02:00
pixmapcache.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00
textformatter.cpp revert(toxme): remove toxme from qTox - the service is offline permanently 2020-01-16 13:28:41 -08:00
textformatter.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00
toxfileprogress.cpp docs(copyright): update and add copyright info 2019-06-28 01:18:26 +02:00
toxfileprogress.h refactor(style): use #pragma once rather than include guards 2020-05-03 15:51:52 -07:00