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
Kevin Ring
34bbd2aa31
WIP cmake install.
2021-03-04 09:48:09 +11:00
Samuel Vargas
7946ef2305
Add missing 'uriparser' target to CesiumUtility
2021-03-02 14:43:54 -05:00
Samuel Vargas
5d03477551
Rearchitecture cesium-native's CMake structure
...
This is necessary to support using cesium-native as submodule in
in asset-pipeline
- `draco` and `sqlite3` are guarded with if target blocks to allow
asset-pipeline to provide their own version of the targets.
- Tests are now a dedicated target that clients don't have to build
- Test sources / headers are now a target property instead of using the $<BUILD_INTERFACE... hack
- Added common include variables in extern/CMakeLists.txt
- Defined `RAPIDJSON_HAS_CXX11_RVALUE_REFS` for move support for RapidJson
- Private include directories are automatically extracted via CMake magic
for use in catch tests
- Globbing is now wrapped in a dedicated function that allows one to use
CONFIGURE_DEPENDS depending on their preferences (defaults to OFF)
to retain the old behavior.
2021-03-02 14:28:04 -05:00
Kevin Ring
a69628b785
Merge remote-tracking branch 'origin/master' into ion-ui
2021-02-24 12:59:44 +11:00
Marco Hutter
67dce23a30
Doxygen fixes
2021-02-15 17:14:49 +01:00
Kevin Ring
bb882a15f4
Support listing and creating tokens.
2021-02-15 23:49:04 +11:00
Kevin Ring
d10bd2a16d
Move JsonHelps to CesiumUtility, at ion "me" service.
2021-02-09 22:50:18 +11:00
Kevin Ring
f7caafa626
Add CesiumIonClient library.
...
Also move Uri to CesiumUtility, and add a `post` method to
`IAssetAccessor`.
2021-02-08 21:59:53 +11:00
Kevin Ring
56feb198df
List of errors and warnings instead of a single string for each.
2021-01-20 19:32:14 +11:00
Kevin Ring
b654781b10
Merge remote-tracking branch 'origin/master' into upsample-skirt
2021-01-05 15:01:58 +11:00
unknown
c1c1408160
add option to expose private src for other libraries. Add tests for SkirtMeshMetadata
2020-12-23 15:57:08 -05:00
Kevin Ring
251d2d46f6
Finish replacing nlohmann with RapidJSON.
2020-12-21 17:41:56 +11:00
Nithin Pranesh
89b88f14ed
Marked classes final
...
All classes marked final except for RasterOverlay, RasterOverlayTileProvider, ITaskProcessor, IPrepareRendererResources, and IAsset*.
2020-12-07 10:45:47 -05:00
Kevin Ring
e2a3f0d2db
Add constexpr and noexcept in a bunch of places.
2020-12-03 23:18:32 +11:00
Kevin Ring
7f284ab837
Basics working again after changing everything.
2020-11-25 17:25:00 +11:00
Marco Hutter
e1e8782f00
Added last documentation. Minor fixes.
2020-11-11 16:25:35 +01:00
Kevin Ring
7260ddca4d
Merge remote-tracking branch 'origin/master' into upsample-bounding-volumes
2020-11-04 15:14:43 +11:00
Kevin Ring
20af9ee5cc
Compute tighter bounding volumes for upsampled tiles.
2020-11-04 13:11:01 +11:00
Marco Hutter
ecab20fe03
Documentation fixes from review comments
2020-11-03 18:31:27 +01:00
Marco Hutter
40dc4bd883
Apply basic suggestions from code review
...
This contains the changes that could be applied directly (typos and
minor wording changes). Further suggestions will be addressed
with a separate commit.
Co-authored-by: Kevin Ring <kevin@kotachrome.com>
2020-11-03 15:17:25 +01:00
Marco Hutter
8ee683a39e
Documentation fixes, pedantic mode.
2020-11-01 16:46:54 +01:00