Commit Graph

185 Commits

Author SHA1 Message Date
Janine Liu 6dcadfe38e Create PropertyView 2023-08-15 12:43:10 -04:00
Kevin Ring fd4b97bbf6 A different solution to zlib's dirty repo. 2023-07-11 11:26:45 +10:00
Joseph Kaile 3b4879c032 fix signedness error 2023-05-18 14:55:20 -04:00
Joseph Kaile 3dd709a874 fix ci 2023-05-18 14:27:36 -04:00
Joseph Kaile 80025f1540 change gzip function from static to extern 2023-05-18 14:07:32 -04:00
Joseph Kaile ce479a202f formatting 2023-05-18 13:37:42 -04:00
Joseph Kaile 84f2e8f550 automatically unzip data if gzipped data is detected 2023-05-18 13:11:49 -04:00
Kevin Ring b78059f30c Fix tracing framework. 2023-03-13 12:41:10 +11:00
Janine Liu ed5bd6e058 Add tests for pnts metadata 2023-01-30 13:54:10 -05:00
Janine Liu d9dd135522 Add AttributeCompression tests 2023-01-30 11:49:36 -05:00
Janine Liu 3fdc5ac176 Add AttributeCompression library, add batch IDs to pnts glTF 2023-01-27 15:32:26 -05:00
wangkang bdadb0d660 fix building error while enable tracing
there missed macro condition.
2022-11-30 16:54:58 +08:00
Kevin Ring f31638fbfa Cleaner RasterOverlay error reporting. 2022-10-18 17:59:23 +11:00
Kevin Ring 72cc94496a Merge remote-tracking branch 'origin/intrusive-lifetime' into async-prepare 2022-10-14 21:51:15 +11:00
Kevin Ring df5759de40 Merge remote-tracking branch 'origin/main' into intrusive-lifetime 2022-10-14 21:44:30 +11:00
Kevin Ring 3936d0d9d9 Fix IntrusivePointer comparison and assignment operators. 2022-10-11 23:09:31 +11:00
Nithin Pranesh cc903e7b8d allow tracing macros to be overriden by clients 2022-10-04 22:54:13 -04:00
Kevin Ring 84c13f1ebe Fix IntrusivePointer conversion to base type. 2022-09-22 18:30:03 +10:00
Kevin Ring ac84e6d357 Remove unnecessary `typename`. 2022-08-31 21:30:48 +10:00
Kevin Ring 4801ed398c Don't use unique_ptr for raster overlays. 2022-08-31 19:00:06 +10:00
Kevin Ring 486f73d17f Use a base class for ref counting everywhere except RasterOverlayTile. 2022-08-31 18:45:13 +10:00
Kevin Ring ac0ba1462d Non owning reference from RasterOverlayTile to Provider. 2022-08-30 12:01:37 +10:00
Kevin Ring de6b66553e Const correctness, more intrusive pointers. 2022-08-29 18:18:15 +10:00
Kevin Ring f80be561b9 Fix GCC/Clang warning. 2022-03-31 15:19:21 +11:00
Kevin Ring 1ce789a15e Escape URL parameters, other cleanup. 2022-03-31 14:10:18 +11:00
Kevin Ring 32edab0511 Merge remote-tracking branch 'origin/main' into scope-guard 2022-03-10 18:30:50 +11:00
Kevin Ring 1e602943e6 Release -> release 2022-03-10 18:27:32 +11:00
Bao Tran d038c3231d fix test header 2022-02-28 13:41:33 -05:00
Bao Tran 1ba2e44664 add comment for ScopeGuard 2022-02-28 13:36:47 -05:00
Bao Tran 3c8404d2ee run format 2022-02-28 13:18:06 -05:00
Bao Tran 1bbb1d51e8 fix typo 2022-02-28 13:17:16 -05:00
Bao Tran f020f122b0 add scope guard utility 2022-02-28 13:01:20 -05:00
Kevin Ring 7efd09db05 Merge remote-tracking branch 'origin/main' into ue5 2022-02-24 10:48:11 +11:00
Kevin Ring f68afd0987
Merge pull request #429 from CesiumGS/intrusive-ptr-derived
enable IntrusivePointer to be created from a derived class
2022-01-26 14:34:57 +11:00
Joseph Kaile 25e3b41c1d fix compile error in linux 2022-01-25 12:42:48 -05:00
Kevin Ring 0e7830d373 Formatting. 2022-01-25 20:39:19 +11:00
Kevin Ring 1a100de53e More renaming for consistency. 2022-01-25 19:36:10 +11:00
Kevin Ring a5e3f11846 Impl->CesiumImpl, TWO_PI->TwoPi. 2022-01-25 11:55:43 +11:00
Joseph Kaile 5f5249e59a added intrustive pointer test 2022-01-24 18:57:50 -05:00
Joseph Kaile 91122383e3 enable IntrusivePointer to be created from a derived class 2022-01-21 18:18:42 -05:00
Sean Lilley 5e78d1d72a Added more gltf and 3d tiles extensions 2022-01-21 14:25:35 -05:00
Joseph Kaile 2cbc23a85c port cesium js math improvements 2022-01-20 13:58:58 -05:00
Sean Lilley 2cdcb92e20 Namespace cleanup 2021-12-02 18:34:22 -05:00
Kevin Ring 71faadd617 Add a test, fix two bugs. 2021-11-08 23:40:22 +11:00
Sean Lilley 52283f3359 Fix includes 2021-10-11 17:28:44 -04:00
Sean Lilley 7dad7003bb One ExtensibleObject 2021-10-11 16:47:49 -04:00
Marco Hutter 9855400417 Use proper relative paths in all public headers 2021-09-28 17:23:07 +02:00
Marco Hutter 27fdd26e27 Merge remote-tracking branch 'origin/main' into include-style-fixes
# Conflicts:
#	Cesium3DTilesSelection/include/Cesium3DTilesSelection/GltfContent.h
#	Cesium3DTilesSelection/src/Batched3DModelContent.cpp
#	Cesium3DTilesSelection/src/CompositeContent.cpp
#	Cesium3DTilesSelection/src/ExternalTilesetContent.cpp
#	Cesium3DTilesSelection/src/GltfContent.cpp
#	Cesium3DTilesSelection/src/QuantizedMeshContent.cpp
#	Cesium3DTilesSelection/src/Tile.cpp
#	Cesium3DTilesSelection/src/TileContentFactory.cpp
#	Cesium3DTilesSelection/src/calcQuadtreeMaxGeometricError.h
2021-09-28 14:38:33 +02:00
Marco Hutter 0e827f7afd Updated includes based on clang-format with Regroup
This MAINLY inserted some blank lines between
the blocks.
2021-09-26 17:46:27 +02:00
Marco Hutter 44388cb8c2 Include style fixes for CesiumUtility 2021-09-19 15:31:57 +02:00
Marco Hutter 47d49ecca0 Changed const to constexpr
C26814: The const variable ... can be computed at compile-time.
Consider using constexpr
2021-09-15 16:20:35 +02:00
Marco Hutter de8145ab9e Added missing const keyword
C26496: The variable ... is assigned only once, mark it as const
2021-09-15 15:37:29 +02:00
Marco Hutter 588c5a1ab9 Add noexcept for default constructors
C26455: Default constructor may not throw.
2021-09-15 01:35:34 +02:00
Marco Hutter 97a2757e39 Added missing noexcept specifiers
Reported as "C26440 Function ... can be declared noexcept"
2021-09-14 16:12:50 +02:00
Kevin Ring 5c6062ab99 Add Math::roundUp and roundDown. 2021-08-23 20:52:40 +10:00
Daniel Krupka 0c740d2609 Move ExtensibleObject to CesiumUtility 2021-07-29 09:02:42 -04:00
Kevin Ring 449068c3d6
Merge pull request #281 from CesiumGS/feature-metadata-extension
Upgrade batch table to EXT_feature_metadata extension
2021-07-24 21:32:14 +10:00
Kevin Ring 52c52984b5 ReinterpretCastSpan -> reinterpretCastSpan. 2021-07-24 20:50:15 +10:00
Bao Tran 303bc24f4f add reintepret_cast for span 2021-07-23 13:23:24 -04:00
Kevin Ring 4e45bab460 Use angle brackets to #include catch2. 2021-07-04 22:57:11 +10:00
Kevin Ring 192920e218 Normalize all the line endings. 2021-07-01 16:34:08 +10:00
Kevin Ring bf25e2b925 Changes from review. 2021-06-30 09:53:24 +10:00
Kevin Ring 839e3b3f06 Avoid VS2019 internal compiler error.
Apparently caused by a trailing comma in a lambda capture.
2021-06-26 22:26:51 +10:00
Kevin Ring e6e9ec0065 Cleanup tracing. 2021-06-26 21:44:30 +10:00
Kevin Ring 76ee53fdca Move tracing classes to the Impl namespace. 2021-06-26 15:59:28 +10:00
Kevin Ring 38a1faea12 Better names for tracing macros. 2021-06-26 00:11:52 +10:00
Kevin Ring 8b7832ba83 WIP overhaul of macros for tracing across threads. 2021-06-25 21:11:40 +10:00
Kevin Ring 6ece726757 Fix problems when tracing is disabled. 2021-06-22 17:19:33 +10:00
Kevin Ring f7e4bb9d66 Allow trace begin/end to be outside async process. 2021-06-22 14:06:50 +10:00
Kevin Ring 09b4e393de More cleanup of tracing macros. 2021-06-22 12:26:07 +10:00
Kevin Ring 44a69d4cda Clean up tracing API. 2021-06-21 17:33:59 +10:00
Kevin Ring 5b88b652b7 Make ContinuationFutureType actually a Future. 2021-06-16 15:22:29 +10:00
Kevin Ring 0b4618914c Better request tracing. 2021-06-09 11:28:06 +10:00
Kevin Ring b5d54f07a9 Better macro names. 2021-06-09 10:21:35 +10:00
Kevin Ring 6f109b05c9 Trace overlay loading. 2021-06-08 16:22:55 +10:00
Kevin Ring 0648cb07d2 Allocate unique IDs for tileset loading slots. 2021-06-08 15:23:36 +10:00
Kevin Ring ca9cc41064 Improved load tracing. 2021-06-07 22:57:45 +10:00
Kevin Ring 58d7ffd36f Enlist threads into async processes. 2021-06-07 18:37:50 +10:00
Kevin Ring b40028c2c8 Use our profiler instead of minitrace. 2021-06-07 16:36:11 +10:00
Kevin Ring 491531147d Merge remote-tracking branch 'origin/profiler' into load-tracing 2021-06-07 16:35:19 +10:00
Marco Hutter 51e43bbd49 Comment fixes for clang formatting 2021-04-29 17:06:34 +02:00
Kevin Ring b3d7dfa652 Encoding NaN/Inf as null instead of throwing.
Consistent with behavior in JavaScript and elsewhere.
2021-04-19 10:23:03 +10:00
Kevin Ring 3bd97b37b6 Don't use try/catch to detect int narrowing in JsonValue. 2021-04-19 10:01:05 +10:00
Kevin Ring 710011cb97 Add missing const on some JsonValue methods. 2021-04-16 16:19:20 +10:00
Kevin Ring 999c382cc1 Merge remote-tracking branch 'origin/main' into gltf-extensions 2021-04-16 16:07:23 +10:00
Kevin Ring 02e3be9b03 Merge remote-tracking branch 'origin/main' into gltf-extensions 2021-04-15 21:54:03 +10:00
Kevin Ring 88795c0045 Move JsonValue to CesiumUtility. 2021-04-13 23:24:53 +10:00
Jordi Torres 6333b1cb0a First pass of clang tidy
Mainly caching else after return, not using empty() instead of size() == 0, missing const references to avoid copies and removing redundant initializations
2021-04-12 13:22:03 +02:00
Bao Tran cfdfb02d03 add tracer for upsample terrain 2021-03-24 16:22:12 -04:00
Bao Tran 2afc995420 turn off clang format for some macro 2021-03-24 15:07:53 -04:00
Bao Tran d8d21a4ed4 format 2021-03-24 15:04:45 -04:00
Bao Tran 08357c8f78 add support for tracing lambda 2021-03-24 15:04:00 -04:00
Bao Tran ee36a7f646 format 2021-03-24 14:12:19 -04:00
Bao Tran fee94a204d add profiler 2021-03-24 13:56:55 -04:00
Kevin Ring 92312deb78 Correctly detaches rasters when removing an overlay. 2021-03-16 18:24:51 +11:00
Shehzan Mohammed 8a2957d32f Run clang format 2021-03-08 20:39:46 -05:00
Shehzan Mohammed ef8bf72710 Fix missing header files 2021-03-08 20:30:50 -05:00
Shehzan Mohammed 887744202d Remove other PRIVATE flags from link libraries 2021-03-04 10:50:19 -05:00
Kevin Ring ddfc584baa Don't qualify class name unnecessarily. 2021-03-04 18:23:12 +11:00
Shehzan Mohammed 3faff010d7 Installing thirdparty deps working on linux 2021-03-03 20:47:31 -05:00