Commit Graph

3531 Commits

Author SHA1 Message Date
Aiosa
360f0d6796 Fix docs, commit before upstream merge. 2024-03-03 14:50:01 +01:00
Aiosa
63f0adbc15 Fix issues with tile reference in cache: keep the 'most fresh' ref. 2024-02-11 17:18:03 +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
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
a97fe34d74 Remove merge marks. 2024-02-05 09:47:10 +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
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
Ian Gilman
f7d86ac244 Changelog for #2466 2024-02-02 09:29:54 -08:00
Ian Gilman
e3c3634266
Merge pull request #2466 from pearcetm/fix-docs
fix jsdoc formatting for drawer classes
2024-02-02 09:26:43 -08:00
Tom
3ced918fb4 fix jsdoc formatting for drawer classes 2024-02-01 14:29:10 -05:00
Tom
23e50b6038 fix jsdoc formatting for drawer classes 2024-02-01 14:24:25 -05:00
Ian Gilman
fdaa3e2f16 Changelog for #2464, #2462 2024-02-01 09:43:51 -08:00
Ian Gilman
2e0868023a
Merge pull request #2464 from jonasengelmann/fix/touch-gesture-dragToPan
Fix dragToPan when flickEnabled is activated
2024-02-01 09:38:28 -08:00
Ian Gilman
98769af678
Merge pull request #2462 from pearcetm/fix-zero-opacity-case
Fix zero opacity case
2024-02-01 09:33:04 -08:00
jonasengelmann
e08274e2b0 fix dragToPan when flickEnabled is activated #2463 2024-02-01 18:01:21 +01:00
Tom
68623ace26 skip drawing zero-opacity images for webgl drawer. remove checks for preload in html and canvas drawers since that is done in tiledimage. 2024-02-01 10:46:45 -05:00
Tom
921171ed2b move logic about zero opacity case into getDrawArea 2024-02-01 08:47:03 -05:00
Tom
84a55968ee Allow preloading of tiles for zero opacity tiled images 2024-01-31 15:40:47 -05:00
Tom
1b44de3b68 Stop tiles from loading if opacity of tiled image is 0 2024-01-31 15:37:09 -05:00
Ian Gilman
f9a8b97cf9 Changelog for #2310 2024-01-31 09:47:49 -08:00
Ian Gilman
52fc10ffa2
Merge pull request #2310 from pearcetm/rotation-seams
Refactor drawing code, add WebGL drawer, and enable plugin renderers
2024-01-31 09:38:56 -08:00
Tom
59519e0e96 fix docs 2024-01-30 13:14:54 -05:00
Tom
d490592b99 expand event validation logic 2024-01-29 13:12:01 -05:00
Tom
024cee42f5 make event handler validation private 2024-01-29 13:01:44 -05:00
Tom
a55071f67b fix documentation for rejectEventHandler 2024-01-29 11:25:36 -05:00
Tom
2add108539 reject adding handlers for certain event names 2024-01-29 10:39:55 -05:00
Tom
c0104c7480 add validation at time of binding event handlers 2024-01-26 12:23:02 -05:00
Ian Gilman
5be1ab6f7d Changelog for #2455 2024-01-25 11:26:33 -08:00
Ian Gilman
4811dd0320
Merge pull request #2455 from BeebBenjamin/webp-support
Fix #2454, add webp to supported image formats
2024-01-25 11:23:25 -08:00
Richard Benjamin Allen
362a060512 Fix, change set supported format example 2024-01-25 16:47:51 +00:00
Tom
d2376b571f clean up comments and error logging 2024-01-24 13:02:50 -05:00
Richard Benjamin Allen
4e9134f66a Fix #2454, add webp to supported image formats 2024-01-22 09:43:02 +00:00
Tom
dc03989bbe throw error if MAX_TEXTURE_IMAGE_UNITS is a bad value 2024-01-19 14:42:34 -05:00
Tom
3cdd5fd711 throw error if MAX_TEXTURE_IMAGE_UNITS is a bad value 2024-01-19 13:19:43 -05:00
Tom
f6c35b44ed move qunit.starTest log message to test.js 2024-01-19 12:54:24 -05:00
Tom
43de595c24 clean up code from testing the MAX_TEXTURE_IMAGE_UNITS error issue 2024-01-18 16:20:28 -05:00
Tom
a2d31e9610 cleaned up additional viewers in tests 2024-01-18 16:06:49 -05:00
Tom
8271b6d8b2 more test details logged 2024-01-18 15:44:29 -05:00
Tom
aae82ab16a more test details logged 2024-01-18 15:34:14 -05:00
Tom
525d9b52fe more test details logged 2024-01-18 13:47:14 -05:00
Tom
bb676a8699 add test info to console.log 2024-01-18 13:32:30 -05:00
Tom
fd648c26e9 add logging directly to webgl drawer 2024-01-18 13:17:35 -05:00
Tom
f6c67b2159 remove additional test logging for testing travis ci 2024-01-18 12:56:03 -05:00
Tom
0a2657cb5b additional test logging for testing travis ci 2024-01-18 12:45:27 -05:00
Tom
44b66be0a9 update tests 2024-01-17 17:07:25 -05:00
Tom
db11611d7d add logging of gl max_texture_image_units errors to multi-image test 2024-01-17 16:13:34 -05:00
Tom
b902256a59 clean up comments. modify tests. add check for max textures in webgldrawer 2024-01-15 14:39:15 -05:00
Tom
f563600635 test canvas and webgl drawers in multi-image 2024-01-11 14:42:11 -05:00
Tom
e0fd78344b add description of WebGLDrawer drawing pipeline 2024-01-11 13:54:01 -05:00