aboutsummaryrefslogtreecommitdiff
path: root/src/AsyncImageLoader.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-17 13:42:31 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-17 14:56:41 +0200
commit4a7b86829025664f6eeef6fcb5fc0894733f2ad6 (patch)
treeefd29796ec64b31609640dfea633e3ada982ee1d /src/AsyncImageLoader.cpp
parent9bf163d51a252fb5a611e88c2e0b4123a98169e1 (diff)
Matrix: make displayname more bright, add circle mask shader for avatar and room thumbnails
Diffstat (limited to 'src/AsyncImageLoader.cpp')
-rw-r--r--src/AsyncImageLoader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AsyncImageLoader.cpp b/src/AsyncImageLoader.cpp
index eaf4564..bfef294 100644
--- a/src/AsyncImageLoader.cpp
+++ b/src/AsyncImageLoader.cpp
@@ -70,6 +70,7 @@ namespace QuickMedia {
return "";
}
+ // TODO: Run in 5 different threads, and add download_to_file(_cache) to reduce memory usage in each (use -O curl option)
bool AsyncImageLoader::load_thumbnail(const std::string &url, bool local, sf::Vector2i resize_target_size, bool use_tor, std::shared_ptr<ThumbnailData> thumbnail_data) {
update();