Aiosa
d91df0126b
Add base drawer options and fix docs. Implement 'simple internal cache' for drawer data, optional to use.
2024-02-11 11:27:02 +01:00
Aiosa
9ef2d46e75
Fix tests: always fetch up-to-date pixel values, prevent adding loaded tile to the 'bestTiles' array. Enforce _needsDraw check to be based on lastDrawn - we are async now.
2024-02-05 09:42:26 +01:00
Aiosa
fcf20be8ea
Drawers now use new cache API to draw onto a canvas. The type conversion now requires also the tile argument so that conversion can rely on the tile metadata.
2024-02-04 18:48:25 +01:00
Aiosa
2c67860c61
Implement cache manipulation strategy: default copy on access if tile in the rendering process, remove 'canvas' type support, many bugfixes and new tests.
2023-11-26 21:32:26 +01:00
Aiosa
2a1090ffa8
Fix wrong test comparison. Add equality comparator to TileSource API. Return
...
deprecated support for getCompletionCallback. Turn on zombie cache if sources replaced & equal.
2023-11-19 16:14:28 +01:00
Aiosa
219049976c
Add tests for zombie and data type conversion, ensure destructors are called.
...
Fix bugs (zombie was disabled on item replace, fix zombie cache system by separating to its own cache array). Fix CacheRecord destructor & dijkstra. Deduce cache only from originalCacheKey. Force explicit type declaration with types on users.
2023-11-18 20:16:35 +01:00
Aiosa
f01a7a4b3c
Cache Overhaul for OpenSeadragon (areas to discuss marked with FIXME).
2023-09-08 08:47:43 +02:00
Jirka
d82fd35323
Fix comments on #2148 : part 2. Better commens on the new TileSource API. Deprecation if 'tile-loaded' image event parameter. Unwrap ImageJob and add userData property.
2022-04-29 23:45:01 +02:00
Jirka
4f79f29238
Move cache creation, image downloading process and transparency deduction to the TileSource instance to allow custom data fetching, caching, processing.
2022-04-16 21:19:54 +02:00
nein09
6f789e7e88
Everything but the navigator tests
2018-01-02 08:32:45 -08:00
Sean Nichols
ddab768696
Add options for loading tiles via AJAX and custom AJAX request headers.
2017-05-05 15:37:33 -04:00
Antoine Vandecreme
d671049a17
Fix and add unit tests.
2015-06-11 15:27:36 -04:00
Ian Gilman
78e44d487b
TileCache tests
2014-11-20 11:51:24 -08:00