Commit Graph

4124 Commits

Author SHA1 Message Date
Kevin Ring 6a3b9d5e7b Move async bits to CesiumAsync library. 2020-12-02 16:34:41 +11:00
Kevin Ring 8462c4c1ca Add forward reference. 2020-12-02 15:04:47 +11:00
Kevin Ring 7dd2de5af7 Clean up AsyncSystem 2020-12-01 21:41:31 +11:00
Kevin Ring 5dc8d5ed86 And another warning. 2020-12-01 18:32:18 +11:00
Kevin Ring 9e8741b04d Yet another Linux warning. 2020-12-01 18:29:49 +11:00
Kevin Ring 8fcdee7903 Fix another warning on Linux. 2020-12-01 18:28:32 +11:00
Kevin Ring 18708df003 Fix some warnings on Linux. 2020-12-01 18:26:28 +11:00
Kevin Ring 991a85a7a5 Add ability to catch async errors. 2020-12-01 18:13:55 +11:00
Kevin Ring c5370444f1 Use updated method name. 2020-12-01 16:20:09 +11:00
Kevin Ring d4a3decb33 Use AsyncSystem for initial tileset requests. 2020-12-01 15:55:37 +11:00
Kevin Ring 2eabcfb1b1 Use AsyncSystem for upsampling. 2020-11-30 22:12:19 +11:00
Kevin Ring b1314ba7df Use AsyncSystem for Tile content loading. 2020-11-30 21:39:20 +11:00
Kevin Ring 4bb7f63883 Doc and other cleanup. 2020-11-30 15:33:33 +11:00
Kevin Ring 909e2ce6a1 Merge remote-tracking branch 'origin/master' into promises 2020-11-30 11:11:31 +11:00
Kevin Ring 117a5a7253
Merge pull request #57 from CesiumGS/external-tileset-tokens
Refresh tokens in external tilesets, too.
2020-11-30 11:10:42 +11:00
Kevin Ring 6643e827dc Refresh tokens in external tilesets, too. 2020-11-28 16:50:02 +11:00
Kevin Ring d1fd6c4447 Improve stability. 2020-11-28 16:44:56 +11:00
Marco Hutter b10a50dc0b Pass logger as shared pointer
To be reviewed in terms of ABI compatibility
2020-11-27 12:59:41 +01:00
Marco Hutter 913ad095bd Preparing actual unreal integration.
Macros are bad. Period.
2020-11-26 17:34:01 +01:00
Marco Hutter 90d972d089 Fixes for errors from Linux build 2020-11-25 18:16:08 +01:00
Marco Hutter 08a7ecf68b Added basic interface for external loggers 2020-11-25 17:51:46 +01:00
Marco Hutter 3d8017c239 Updated logging header paths 2020-11-25 14:15:47 +01:00
Marco Hutter 307d9f6614 Moved logging header to right directory. 2020-11-25 14:13:55 +01:00
Marco Hutter 43b46a6887 Moved logging header to include (maybe temporarily)
Mainly intended for first tests, and for figuring out the
best way to register "external" loggers.
2020-11-25 14:11:18 +01:00
Kevin Ring 7f284ab837 Basics working again after changing everything. 2020-11-25 17:25:00 +11:00
Marco Hutter e682a9e29f Giving up on printf formatting
See changes in Tileset.h for a glimpse of the reasons.
2020-11-24 16:21:00 +01:00
Marco Hutter 766e412a31 Removed comments that are obsolete
According to draft PR feedback
2020-11-24 14:26:54 +01:00
Marco Hutter 2d0aafa94f Merge remote-tracking branch 'origin/master' into spdlog-integration 2020-11-24 14:19:41 +01:00
Kevin Ring 786f574376 WIP async/promise-like system. 2020-11-24 21:22:46 +11:00
Marco Hutter d5f1078699 Use string formatting in log messages 2020-11-23 16:11:37 +01:00
Kevin Ring b34fa3a359 Hold shared_ptrs to externals. 2020-11-23 17:22:53 +11:00
Marco Hutter 9045f7c954 First examples of possible logging and error handling 2020-11-19 18:14:56 +01:00
Kevin Ring b6e1794909
Merge pull request #55 from CesiumGS/load-priority
Load tiles in order of priority.
2020-11-19 22:48:18 +11:00
Kevin Ring 44129f8427 Load tiles in order of priority.
Using the priority metric from CesiumJS's terrain engine.
2020-11-19 22:39:32 +11:00
Kevin Ring a62e2305c6
Merge pull request #54 from CesiumGS/cache-size
Restrict cache to a number of bytes instead of a number of tiles, increasing cache capacity
2020-11-19 22:09:39 +11:00
Kevin Ring 359b43cef5 Fix warning on linux. 2020-11-19 21:54:06 +11:00
Kevin Ring 169c9f5ac1 Remove commented-out line of code. 2020-11-19 21:46:14 +11:00
Kevin Ring 0b85d44b88 Faster and more accurate accounting of tile data size. 2020-11-19 21:39:15 +11:00
Kevin Ring 8dba8c0447 Restrict cache to a number of bytes instead of a number of tiles. 2020-11-19 18:00:36 +11:00
Kevin Ring d3420bea4f
Merge pull request #53 from CesiumGS/gltf-accessor-typedef
Add value_type typedef to GltfAccessor.
2020-11-18 21:31:13 +11:00
Kevin Ring 4733d9e433 Add value_type typedef to GltfAccessor.
Bringing it to par with the version in cesium-unreal.
2020-11-18 21:24:06 +11:00
Kevin Ring e056b441bc Add spdlog to build. 2020-11-18 20:20:08 +11:00
Kevin Ring fe4d903ce4
Merge pull request #52 from CesiumGS/unload-tiles-only-once
Make sure that unloadContent is only executed once.
2020-11-18 12:37:41 +11:00
Marco Hutter afe99fcc68 Make sure that unloadContent is only executed once.
The main change is that unloadContent is no longer called
from the Tileset destructor (because it is already called
from the Tile destructor), and that it returns immediately
if the tile already is unloaded.

Also added noexcept for functions that are called from
the Tileset or Tile destructor.
2020-11-17 22:10:05 +01:00
Kevin Ring 1fe8bded5b
Merge pull request #48 from CesiumGS/basic-doxygen-fixes-part-4
Documentation for TileMapServiceRasterOverlayOptions
2020-11-17 12:54:41 +11:00
Kevin Ring 6badfe6a1c
Merge pull request #50 from CesiumGS/wait-for-rasters
Wait for raster loading before destroying tileset.
2020-11-17 11:30:49 +11:00
Kevin Ring ea7ac2d6c4 Wait for raster loading before destroying tileset. 2020-11-17 11:17:02 +11:00
Marco Hutter 7444fa0f50 Documentation for TileMapServiceRasterOverlayOptions
Essentially taken from TileMapServiceImageryProvider
of CesiumJS
2020-11-16 16:41:48 +01:00
Kevin Ring 81e46271dc
Merge pull request #46 from CesiumGS/avoid-empty-queries
Do not append empty queries to URLs
2020-11-16 11:01:12 +11:00
Kevin Ring 9e02d08c2f
Merge pull request #42 from CesiumGS/basic-doxygen-fixes-part-3
Basic doxygen fixes part 3
2020-11-16 09:27:00 +11:00