aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-27 01:08:34 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-27 01:13:49 +0200
commit9866713ba916f9768edca02c61ed5ec580bd9557 (patch)
treee3f31e47f45c50656ce7fdb609c62d9df66583cd /TODO
parenta00bdf3c76cd2d813533788b83abac87d6449b18 (diff)
Reduce scroll cpu usage from 10% to 1-2% by load image files in another thread but load the texture in the main thread
Diffstat (limited to 'TODO')
-rw-r--r--TODO1
1 files changed, 0 insertions, 1 deletions
diff --git a/TODO b/TODO
index 2baecfc..41a5971 100644
--- a/TODO
+++ b/TODO
@@ -30,7 +30,6 @@ Use one special thread to load cached files. Right now if there are multiple ima
Press pgup/pgdown to scroll and entire page.
Press home/end to scroll to top/bottom.
Scrolling past page causes the page to jump up and down very fast because the new thumbnail is loaded. Fix this somehow. In youtube this can be fixed by setting the thumbnail image fallback size to the same size and thumbnail images, but that doesn't work for matrix with different image sizes!
-Find a way to decrease cpu usage when scrolling fast. Right now sf::Texture::load will use up to 10% cpu on my machine.
Add setting to disable sending typing events to the server (matrix).
Support emoji (mainly for matrix), by readding Text code from dchat. Also do the same but for inline images, text editing and url colors and clicking (also clicking on inline images).
Also take code from dchat to support gifs (inline in text). \ No newline at end of file