Commit graph

23 commits

Author SHA1 Message Date
Daniel Sage
8ec032fc84
Periodically free memory from unused images (#3915)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-09-04 11:23:14 +00:00
fourtf
ed6ef0b98e add a maximum RAM usage for images 2021-06-24 22:54:36 +02:00
fourtf
6229b2f434 sync gif emotes of same length 2020-02-16 14:24:11 +01:00
fourtf
2fc799f85a run destructor of Frames in gui thread 2019-10-07 20:03:15 +02:00
fourtf
da4714944d small fixes in Image 2019-09-22 10:54:32 +02:00
Rasmus Karlsson
57ba829775 Remove previously added includes to Image 2019-09-08 14:08:18 +02:00
Rasmus Karlsson
dbce128cc3 Remove "custom on success" logic from Image.
Create a new message element and message layout element type for mod badges.
2019-09-08 14:08:18 +02:00
Rasmus Karlsson
256a65a12e Load mod badge information from the FFZ API instead of assuming the URL.
This lets us load all sizes of the emote if they are available.

Channel with all versions of the mod badge: https://api.frankerfacez.com/v1/room/pajlada
Channel with only one version of the mod badge: https://api.frankerfacez.com/v1/room/apa420
Channel with no mod badge: https://api.frankerfacez.com/v1/room/forsen
2019-09-08 14:08:18 +02:00
fourtf
dbc20baa65 fixed emote preview not using 3x images 2019-08-21 01:44:19 +02:00
fourtf
6274c05520 Fixed always loading 1x, 2x and 3x images 2019-08-13 13:51:27 +02:00
fourtf
e7d9422431 fixes for last commit 2019-08-01 13:30:58 +02:00
Rasmus Karlsson
641c5822d7 fix various warnings 2018-09-20 13:09:37 +02:00
fourtf
af7b742a23 changed .clang-format 2018-08-15 22:46:20 +02:00
fourtf
44f5a15da3 turning a lot of includes into forward declares 2018-08-11 22:23:06 +02:00
fourtf
c768bd9bd9 fixed image animations 2018-08-11 17:15:17 +02:00
fourtf
edfae49cc9 simplified Image 2018-08-10 18:56:17 +02:00
fourtf
6344fa6b23 loading images on their own thread 2018-08-09 20:46:58 +02:00
fourtf
f71ff08e68 changed to 80 max column 2018-08-06 21:17:03 +02:00
fourtf
defa7e41fa simplified Image a bit 2018-08-06 20:00:04 +02:00
fourtf
35d462d1f1 worked on Image 2018-08-06 18:25:47 +02:00
fourtf
c2e2dfb577 this commit is too big 2018-08-02 14:23:27 +02:00
fourtf
2df0566492 removed namespaces 2018-06-26 16:37:59 +02:00
fourtf
c9722b9780 rename #2 2018-06-26 13:24:55 +02:00
Renamed from src/messages/_Image.hpp (Browse further)