Commit Graph

5427 Commits

Author SHA1 Message Date
Kevin Ring b164fc915f Bump to v0.41.0, update CHANGES.md. 2024-11-01 14:07:05 +11:00
Kevin Ring 783adceb87
Merge pull request #956 from CesiumGS/fix-missing-ellipsoid
Fix missing ellipsoid parameters
2024-10-31 21:24:45 +11:00
Ashley Rogers 52a9c7dc11
Update CHANGES.md 2024-10-30 16:51:58 -04:00
Kevin Ring 586ad644a9
Merge pull request #926 from CesiumGS/shared-assets
Cache images across glTFs to avoid duplication
2024-10-30 14:34:11 +11:00
Kevin Ring 750d5f91d1 Fix clang warning. 2024-10-30 14:20:21 +11:00
Kevin Ring ba4f6f54be Update CHANGES.md. 2024-10-30 14:13:58 +11:00
Kevin Ring 3435ad6a3c Pass a TilesetSharedAssetSystem into TilesetExternals. 2024-10-30 14:11:22 +11:00
Kevin Ring e8fbd40e4b Doc and cleanup. 2024-10-30 13:32:30 +11:00
Kevin Ring 9dfe894056 ImageDecoder cleanup. 2024-10-30 13:15:03 +11:00
Kevin Ring e3c3daf6c3 Move SharedAsset to CesiumUtility.
This avoids adding a new dependency on CesiumAsync to CesiumGltf.
2024-10-30 12:49:07 +11:00
Kevin Ring e216b54a4a More small tweaks. 2024-10-30 12:14:33 +11:00
Kevin Ring 8b60ebdd63 Minor tweaks. 2024-10-30 11:06:14 +11:00
Kevin Ring 33d4948634 Image::pCesium -> pAsset 2024-10-30 09:40:04 +11:00
Ashley Rogers f9459d1308
Merge pull request #971 from CesiumGS/shared-assets-wip
Some improvements to the SharedAsset system
2024-10-29 15:25:34 -04:00
Ashley Rogers c654653062 Fix small typo 2024-10-29 15:16:22 -04:00
Ashley Rogers 42ae86b9ed Update CHANGES.md 2024-10-29 11:41:03 -04:00
Ashley Rogers 0c16b690d6 Merge branch 'main' of github.com:CesiumGS/cesium-native into fix-missing-ellipsoid 2024-10-29 11:38:42 -04:00
Kevin Ring a9d6c6a316 Fix another clang warning. 2024-10-29 21:17:07 +11:00
Kevin Ring 323de96de2 Fix clang warning. 2024-10-29 21:11:53 +11:00
Kevin Ring 1eee18f71c Fix recursive mutex locking bug. 2024-10-29 20:56:04 +11:00
Kevin Ring 117b65f362 Merge branch 'shared-assets' into shared-assets-wip 2024-10-29 17:46:14 +11:00
Kevin Ring 172ce88ceb Merge remote-tracking branch 'origin/main' into shared-assets 2024-10-29 17:45:33 +11:00
Kevin Ring ce212af378 Use brace initialization for base class. 2024-10-29 16:01:34 +11:00
Kevin Ring 0961978f0b Fix a clang warning. 2024-10-29 15:42:06 +11:00
Kevin Ring e9fac59ef2 Fix incorrect comparison. 2024-10-29 15:07:15 +11:00
Kevin Ring fd601bceaf Fix clang errors. 2024-10-29 14:31:21 +11:00
Kevin Ring ff87332b7c Formatting. 2024-10-29 14:28:05 +11:00
Kevin Ring c73f5b5f05 staleAssetSizeLimit -> inactiveAssetSizeLimitBytes 2024-10-29 14:09:34 +11:00
Kevin Ring feaf448dc3 Flesh out utility functions slightly. 2024-10-29 14:07:09 +11:00
Kevin Ring 7df4dc43b7 Keep depot alive if any live assets it manages are alive. 2024-10-29 13:39:41 +11:00
Kevin Ring d43edcea85 Add ResultPointer. 2024-10-29 11:38:15 +11:00
Kevin Ring 49f1d6319c Introduce TilesetSharedAssetSystem. 2024-10-29 09:24:43 +11:00
Kevin Ring d16e3ef94a Add doc. 2024-10-28 21:37:38 +11:00
Kevin Ring c5533b7ead Cleanup. 2024-10-28 20:55:29 +11:00
Kevin Ring c75831ff24 Fix some problems that only showed up in Unreal. 2024-10-28 18:56:15 +11:00
Kevin Ring 727a68d064 Introduce AssetEntry. 2024-10-28 17:13:18 +11:00
Kevin Ring 083cb92db2 WIP refactoring. 2024-10-25 00:45:53 -04:00
Ashley Rogers 434e51f461
Merge pull request #951 from CesiumGS/get-up-axis-transform
Add `Transforms::getUpAxisTransform`
2024-10-24 14:53:27 -04:00
Ashley Rogers e35789b2a8 Merge from main 2024-10-23 15:34:56 -04:00
Ashley Rogers 61baa8fba4
Merge pull request #950 from CesiumGS/gzip
Add `CesiumUtility::gzip`
2024-10-23 15:31:32 -04:00
Ashley Rogers b220031fb0 Doubly linked list for deletion candidates 2024-10-11 14:31:23 -04:00
Ashley Rogers 38b4811270 Pass factory to asset depot constructor 2024-10-11 12:00:55 -04:00
Ashley Rogers 3e5eb717b8
Merge pull request #964 from CesiumGS/shared-assets-lifetime
Fix asset lifetime, avoid circular reference counting.
2024-10-10 15:51:46 -04:00
Ashley Rogers a2308129ad
Merge pull request #965 from CesiumGS/shared-assets-tweaks
More tweaks to the shared asset system
2024-10-10 15:51:34 -04:00
Ashley Rogers 883e36f100 Rename ImageAssetMipPosition 2024-10-10 15:44:42 -04:00
Ashley Rogers df1f887e6d Doc comments, rename ImageCesium 2024-10-10 15:28:05 -04:00
Kevin Ring 526e660687 default -> getDefault 2024-10-10 22:19:52 +11:00
Kevin Ring 7f798379f4 GltfSharedAssetSystem 2024-10-10 21:56:09 +11:00
Kevin Ring a9516a0c84 Move SharedAsset[Depot] to CesiumAsync. 2024-10-10 21:00:16 +11:00
Kevin Ring e3975911cd Even independent assets can be shared. 2024-10-10 20:31:17 +11:00