Commit Graph

240 Commits

Author SHA1 Message Date
Aiosa
e24f7d1358 Update demo plugins to the new api design 2024-11-13 15:04:09 +01:00
Aiosa
541fe2e4df Redesign working cache: it is now owned by the event, not a tile. Tests are not yet updated. 2024-11-13 14:35:50 +01:00
Aiosa
e059b8982e Add try-catch for a plugin 2024-11-07 12:22:18 +01:00
Aiosa
cc7474ec9b
Merge branch 'openseadragon:master' into cache-overhaul-reviewed 2024-11-05 18:59:34 +09:00
Aiosa
9bfdd55b2e Make tile-invalidated event before tile-loaded. Try to fix behavior of maxTilesperFrame 2024-11-05 10:58:41 +01:00
Aiosa
f127014f0f Design of separated events: drop update data support for tile-loaded, use only invalidated event. 2024-11-01 21:43:12 +01:00
Tom
fab607584c fix problem with asymmetric viewport margins 2024-10-25 11:15:52 -06:00
Aiosa
d5cdf59993 Fix styling on the plugin demo. 2024-10-21 10:00:53 +02:00
Aiosa
3c6c7e0ab7 Add plugin interaction demo. 2024-10-21 09:55:23 +02:00
Aiosa
68f0ed8901 Do not spit out warns on invalid tile unload (preemtive working cache deletion), do not ignore working cache even if __restore=true. 2024-10-21 09:00:24 +02:00
Tom
6c20101c8b make webgl drawer account for viewport margins 2024-10-17 15:06:04 -04:00
Aiosa
1b6fea72d8 Add assets for fallback compatibility filtering plugin demo. 2024-10-17 12:17:24 +02:00
Aiosa
0b63a943b6 Tests & Bugfixes: new cache tests, working cache preemptively deleted when restore() called, zombie cache had bug (restored cache had no attached tile reference and restoration failed since we relied on any existing tile on the cache to inherit state), deprecated old HTMLDrawer props on tile, rewritten HTMLDrawer to work also with cache API. 2024-10-17 12:10:04 +02:00
Aiosa
b6693ee50d Fixed outdated demo pages. 2024-10-16 11:12:20 +02:00
Aiosa
3d21ec897b Set fully loaded for reset() call on tiled image to false. Add old plugins demo to see how they behave. Remove basic2 demo as it was added by accident. 2024-10-07 11:18:36 +02:00
Aiosa
2033814227 Update documentation and minor cleanup. 2024-10-05 11:50:21 +02:00
Aiosa
63180a1589 Simplify filtering plugin demo. 2024-08-24 09:59:18 +02:00
Aiosa
29b01cf1bd First visually correct design: tile invalidation event manages three caches that are shared among equal tiles (based on cache key). Works with both latest drawers and shared caches. 2024-08-24 09:49:16 +02:00
Aiosa
999ff30e74
Merge branch 'master' into cache-overhaul-reviewed 2024-08-15 11:53:50 +01:00
Ian Gilman
74b69d99de Changelog for #2546 2024-07-16 09:36:24 -07:00
Ian Gilman
819d4cb20c
Merge pull request #2546 from BeebBenjamin/flip-overlay
Fixed: Invert overlay scale and rotate on flip
2024-07-16 09:30:02 -07:00
Richard Benjamin Allen
c1c1d480dd Fixed: Try renaming to something more descriptive 2024-07-16 08:38:39 +01:00
Richard Benjamin Allen
396fcb33a5 Fixed: Outer div added to element to allow independent flipping
An outer div has been added to the internal HTML of the overlay element to allow for independent flipping of the content.  Flipping will invert the `scaleX` value of the transform property for the style of the element.  By setting the value `overlayContentFlipped: true` in the OSD config we can flip the content in the opposite direction to the overlay, but by setting this to false we can flip the content along with the overlay.  This allows for some people who are using images in their overlay to flip the images along with the overlay.
2024-07-11 22:08:37 +01:00
Aiosa
0a035afc2d Merge master 2024-06-01 16:37:12 +02:00
Aiosa
e2c633a23b Small bugfixes, rename some properties. Add more redraw calls. 2024-03-04 19:23:47 +01:00
Aiosa
52ef8156c0 Fixed: internal cache not allways calling destructor, refresh handler was not called on internal cache. Polish code. Improve filtering demo. 2024-03-03 17:59:39 +01:00
Aiosa
135fa76fde Merge webgl PR - problems with tained canvas and texture upload. 2024-03-03 15:17:54 +01:00
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
Tom
d4e82d374e account for viewport rotation in addition to tiledImage rotation 2024-02-09 15:19:40 -05:00
Tom
5b2c6d7ed9 add support for placeholderFillStyle to webgl drawer. fix spring logic to avoid getting stuck updating due to floating point math. update tilesource-swap demo. 2024-02-09 15:06:52 -05:00
Aiosa
cae6ec6bee Revert weird tiledImage check - tests worked now also without. Add generic drawerswitcher utility for demos. 2024-02-08 13:11:10 +01:00
Aiosa
3fa13570ef Resolve Merge with First WebGL PR: code is merged, but not operable [drawer refactoring needs interaction implemented with cache system]. 2024-02-04 15:41:05 +01:00
Tom
3bab3c2190 small cleanups 2024-01-11 13:29:59 -05:00
Tom
834795b4b8 fix basic demo 2024-01-10 14:48:48 -05:00
Tom
58f918aaa1 clean up tests 2024-01-10 12:13:00 -05:00
Aiosa
a690b50eee Add external execution pipeline (proof of concept implementation, needs polishing). Add filtering plugin live demo for testing. Fix issues with tile cache access outside its lifespan. Add custom css for the static page renderer and differentiate folder icons. Remove some old deprecations. 2023-12-10 16:34:42 +01:00
Tom
6b995c018b re-enable html drawer in drawer comparison demo; deal with merge conflict resolution issues 2023-11-29 17:35:49 -05:00
pearcetm
36d8b3d9ad
Merge branch 'master' into rotation-seams 2023-11-29 17:28:42 -05:00
Tom
c86158f0ca cleaning up changes 2023-11-29 16:46:14 -05:00
Aiosa
191ba39cbb Remove demo references to the modular renderer. 2023-11-21 20:53:06 +01:00
Aiosa
6447009c18 Remove blend time from comparison demo (not functional). 2023-10-23 16:05:18 +02:00
Aiosa
cd9d340038 Removed date loader (will be handled by future OSD cache system). Attempt to use instanced rendering. Refactoring of the module. 2023-10-23 16:03:47 +02:00
Aiosa
e3024deb46 Modular webgl2 drawer: fix small bugs. Add drawer IDs to demo page urls to allow refreshing/direct running 2023-09-26 15:31:43 +02:00
Ian Gilman
17cd6b51ce Changelog for #2387 and tweaks to its demo page 2023-08-08 09:39:45 -07:00
Tom
2fcdcc3f6a add attribution for rStats code 2023-08-01 12:20:13 -04:00
Tom
77b5766fa2 update drawerperformance demo 2023-07-31 15:48:29 -04:00
Peter
13955b0bf6 added demo with maxTilesPerFrame = 3 2023-07-31 10:14:27 +02:00
Tom
c77a7e7386 enhance performance demo. rename variables for clarity. 2023-07-28 17:49:24 -04:00
Aiosa
ca45e96142
Merge branch 'rotation-seams' into rotation-seams 2023-07-26 23:58:07 +02:00
Tom
1e37745764 sync webgldemodrawer with webgldrawer 2023-07-26 15:44:38 -04:00