Home
last modified time | relevance | path

Searched hist:a64cdd1dcc6b7b0f029b14d39d0badbd49edd0e2 (Results 1 – 3 of 3) sorted by relevance

/haiku/src/kits/tracker/
H A DThumbnails.ha64cdd1dcc6b7b0f029b14d39d0badbd49edd0e2 Tue Apr 26 18:55:12 UTC 2022 Augustin Cavalier <waddlesplash@gmail.com> Tracker: Overhaul thumbnail generation logic.

* Use a JobQueue and BJobs to generate the thumbnails, instead of
spawning a potentially unlimited number of threads (which can
of course rapidly exhaust resources.) Use two threads: one for
smaller files, and another for larger files.

* Directly insert the new thumbnails into the icon cache once they
have been generated, avoiding the port-search dance on filesystems
that do not support writing attributes (or at least large ones.)

* Skip calling mimeset, is it not needed after the previous commit.

* Combine all the duplicated image-scaling logic into one function.

May help with or fix #17225, #17619, and other thumbnail-related matters
e.g. #17557. Also addresses comments from the mailing list last summer.
H A DThumbnails.cppa64cdd1dcc6b7b0f029b14d39d0badbd49edd0e2 Tue Apr 26 18:55:12 UTC 2022 Augustin Cavalier <waddlesplash@gmail.com> Tracker: Overhaul thumbnail generation logic.

* Use a JobQueue and BJobs to generate the thumbnails, instead of
spawning a potentially unlimited number of threads (which can
of course rapidly exhaust resources.) Use two threads: one for
smaller files, and another for larger files.

* Directly insert the new thumbnails into the icon cache once they
have been generated, avoiding the port-search dance on filesystems
that do not support writing attributes (or at least large ones.)

* Skip calling mimeset, is it not needed after the previous commit.

* Combine all the duplicated image-scaling logic into one function.

May help with or fix #17225, #17619, and other thumbnail-related matters
e.g. #17557. Also addresses comments from the mailing list last summer.
H A DIconCache.ha64cdd1dcc6b7b0f029b14d39d0badbd49edd0e2 Tue Apr 26 18:55:12 UTC 2022 Augustin Cavalier <waddlesplash@gmail.com> Tracker: Overhaul thumbnail generation logic.

* Use a JobQueue and BJobs to generate the thumbnails, instead of
spawning a potentially unlimited number of threads (which can
of course rapidly exhaust resources.) Use two threads: one for
smaller files, and another for larger files.

* Directly insert the new thumbnails into the icon cache once they
have been generated, avoiding the port-search dance on filesystems
that do not support writing attributes (or at least large ones.)

* Skip calling mimeset, is it not needed after the previous commit.

* Combine all the duplicated image-scaling logic into one function.

May help with or fix #17225, #17619, and other thumbnail-related matters
e.g. #17557. Also addresses comments from the mailing list last summer.