Commit graph

2176 commits

Author SHA1 Message Date
Michael Gibson
8c6d1f4f88 Update documentation to match new flag behavior 2025-03-07 21:21:40 -07:00
Michael Gibson
3cb5152905 Change flag name 2025-03-07 21:18:42 -07:00
Michael Gibson
5cc76737b4 Fix flag type 2025-02-28 15:37:13 -07:00
Michael Gibson
f312bae614 Document flag 2025-02-28 15:35:25 -07:00
Michael Gibson
97d388be7d Add loadTilesOnAnimationPath flag 2025-02-28 11:30:30 -07:00
Michael Gibson
fd27327737 Factor out common traversal code 2025-02-28 11:10:29 -07:00
Michael Gibson
5c60f669ec Clean up 2025-02-28 09:33:49 -07:00
Michael Gibson
6ceac75b7a During animations, load tiles in the destination region 2025-02-28 09:17:41 -07:00
Benny Lichtner
138215e22f
delete trailing whitepsace 2025-01-30 20:12:05 +01:00
Benny Lichtner
337af91373
Update viewer.addOverlay doc
Mention the preserveOverlays option
2025-01-30 14:45:30 +01:00
Ian Gilman
dbc72d4d98
Merge pull request #2643 from RationAI/fix/fallback-canvas-drawer
Flexible support for drawers to modify cache
2025-01-23 09:37:52 -08:00
Aiosa
71c3c8437a Rename new drawer base api to reflect that it deals with internal cache. 2025-01-14 12:20:39 +01:00
Aiosa
6e81bedc39 Improve docs, change order of calls in prepareForRendering for better code stability. 2025-01-14 12:14:28 +01:00
Aiosa
03b7c5b9a6 Update tests, fix async cache bug - first convert to supported format, then process. Record drawer ID in the internal cache type. 2025-01-10 22:05:16 +01:00
Ian Gilman
ffe12888cf
Merge pull request #2644 from RationAI/feat/import
Import Openseadragon Dynamically
2025-01-10 09:51:54 -08:00
Ian Gilman
306adb9b6a
Merge pull request #2657 from cff29546/master
use unique hash for MouseTracker
2025-01-10 09:32:12 -08:00
Aiosa
226a44c498 Fix docs. 2025-01-10 14:57:41 +01:00
Aiosa
b1feb367b8 Fix typo. 2025-01-10 14:49:59 +01:00
Aiosa
cb06a5c0fb Debug fallback to canvas drawer, small bugfixes, add support for drawer cleanup in cache. 2025-01-10 14:46:52 +01:00
Ian Gilman
003dd3a9da
Merge pull request #2652 from pearcetm/fix-2651
Mark tiled image as needing update when opacity changes
2025-01-09 10:02:35 -08:00
Ian Gilman
3aaa8fa721
Merge pull request #2649 from Seafret/master
Fixed issue with MouseTracker where hasGestureHandlers and hasScrollHandler values were not getting updated upon dynamically adding/removing handlers.
2025-01-09 09:42:51 -08:00
Min Xiang
39671f4d78 use unique hash for MouseTracker 2025-01-09 07:53:05 +08:00
Aiosa
6315662078 DrawerBase API for internal cache. 2025-01-07 19:56:21 +01:00
Tom
3f22b6aa3a mark tiled image as needing an update when opacity changes 2025-01-06 09:39:28 -05:00
Jessica R.
641e085259
Updated MouseTracker's hasGestureHandlers and hasScrollHandler to be getters 2025-01-02 23:07:13 -07:00
Jessica R.
9527f15f52
Changed hasScrollHandler to be a function to better work with dynamically added handlers
Previously, we were setting hasScrollHandler once in the constructor and never re-assigning it after the initial creation. Changing hasScrollHandler to a function better accommodates dynamically added/removed handlers. See previous commit for change to hasGestureHandlers for further details and reasoning.
2025-01-01 22:45:12 -07:00
Jessica R.
865c3884b2
Changed hasGestureHandlers to be a function to better work with dynamically added handlers
Previously, we were setting hasGestureHandlers once in the constructor and never re-assigning it after the initial creation. This resulted in MouseTrackers created without gesture handlers never updating its hasGestureHandlers values, even when gesture handlers were dynamically added after creation. By changing this to a function, our MouseTrackers' hasGestureHandlers value should always be in the proper state, even if handlers are dynamically created or removed.
2025-01-01 22:38:48 -07:00
Paul Cram
ef0f14a03d Revert "Add useTwoPassRendering as an option to the webgl drawer"
This reverts commit 55f53e8369.
2024-12-19 15:32:00 -05:00
Aiosa
ad943e5472 feat: ability to attach OSD to window reference if available 2024-12-19 16:22:50 +01:00
Aiosa
4c2b0715af fix: typo 2024-12-19 16:20:50 +01:00
Aiosa
a5c569ab5d fix: reference to the cpuData on webgldrawer 2024-12-19 16:11:53 +01:00
Paul Cram
55f53e8369 Add useTwoPassRendering as an option to the webgl drawer 2024-12-17 10:36:31 -05:00
pcram-techcyte
acb7563257
Merge branch 'openseadragon:master' into v5.0.1-hasTransparency-fix 2024-12-17 09:01:36 -05:00
pcram-techcyte
45bd3f48f9
Typo in hasTransparency check 2024-12-10 09:12:39 -05:00
Aiosa
fec033f9d2 Clear up few todos, introduce tile processing promise to await single tiles. 2024-12-10 14:16:19 +01:00
Aiosa
bee5cb2471 Merge conflicts from master. 2024-12-10 13:50:41 +01:00
Ian Gilman
07502e6d58
Merge pull request #2627 from pearcetm/pixel-density-change
Fix #2623
2024-12-06 09:30:41 -08:00
Tom
1843bbd89c update docs 2024-12-04 16:42:25 -05:00
Tom
a5987db8d5 fix #2623 2024-12-04 16:41:24 -05:00
Aiosa
039ffbd37a Fix typo 2024-12-04 09:16:04 +01:00
Aiosa
1a7a5ee1d6 Respect tainted() when uploading a texture. 2024-12-04 09:08:00 +01:00
Aiosa
d6bb8d3bd1 Fix typo. Remove tileSource prototype extension - adds implementation for methods that throw exceptions. 2024-11-30 10:03:39 +01:00
Aiosa
271f437568 Force prototype extension on inlined tile source. Ensure zombies are processed with invalidation before restored in the system. WebGL drawer can use canvas drawer. Add changelog updates. 2024-11-30 09:52:27 +01:00
sbarex
5438fd65e1
Update webgldrawer.js
Fixed a bug that caused a completely white image to be rendered when two-pass rendering mode was requested (required when multiple images, using transparency, or in debug mode).
2024-11-26 23:38:13 +01:00
Aiosa
85e8b381b8 Add cache clear on viewer.clear(). Add tile and viewer state checks to invalidation. Fix IIF test (timer is now built-in). 2024-11-26 15:24:51 +01:00
Aiosa
ef7628f098 Fix bug: webgl 'manual instanced rendering' return -> continue, do not count as drawn index. 2024-11-26 14:08:32 +01:00
Aiosa
17f13885c7 Add back overlapFraction logic for webgl drawer. 2024-11-26 00:48:43 +01:00
Aiosa
6b4c0f873a Add maxTilesPerFrame degradation, fix tests. 2024-11-22 13:03:16 +01:00
Aiosa
8b16628950 Write documentation fo cache/data overhaul. Rename url type to be more explicit. 2024-11-22 12:43:14 +01:00
Aiosa
f03f2a5d31 Add fixes for working smoothing in the webgl renderer. 2024-11-21 16:51:38 +01:00