Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #768847

Qt - use QPixmapCache also to store tileset sprites

Added by Anonymous about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
gui-qt
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

1) Loading tileset loads each file two times (all of them or almost all)
2) With this patch in my test with freeciv-qt -a - time to connect, show map and quit went down to 0.97 from 1.10 (because all files were loaded 2 times by default)
3) Scaling tileset looks to be much faster (maybe 200% or even more)
4) File modification time is not checked, but QPixmapCache is cleared when using shortcut to reload tileset or when theme is changed.

qt_pixmapcache.patch (2.85 KB) qt_pixmapcache.patch Anonymous, 2018-08-10 01:45 AM

History

#1 Updated by Anonymous about 3 years ago

#2 Updated by Anonymous about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF