Commit Graph

609 Commits

Author SHA1 Message Date
Kevin Ring 46c01f0d10 Merge remote-tracking branch 'origin/main' into load-tracing 2021-06-30 09:17:27 +10:00
Kevin Ring a74941bf53 Refactor schedulers. 2021-06-27 22:37:32 +10:00
knowmore d6bd025b21 fix: use int32_t rather than uint32_t
ref https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#es106-dont-try-to-avoid-negative-values-by-using-unsigned
2021-06-26 23:00:20 +08:00
Kevin Ring 6186545827 Fix test compilation problems. 2021-06-26 22:36:54 +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
knowmore deab1268a2 fix: const T& for get method
ref https://stackoverflow.com/questions/63972019/understanding-const-at-top-level-which-may-reduce-code-readability-without-i
2021-06-26 15:35:20 +08:00
knowmore e832bd2102 fix: use uint32_t instand of int32_t as count of tiles 2021-06-26 15:33:12 +08:00
Kevin Ring 38a1faea12 Better names for tracing macros. 2021-06-26 00:11:52 +10:00
Kevin Ring 322ec936fb Formatting. 2021-06-25 21:12:28 +10:00
Kevin Ring 8b7832ba83 WIP overhaul of macros for tracing across threads. 2021-06-25 21:11:40 +10:00
Kevin Ring 30390baba8 Formatting. 2021-06-24 17:26:21 +10:00
Kevin Ring 3b5d1545e7 Give TilesetExternals an AsyncSystem rather than an ITaskProcessor. 2021-06-24 17:25:00 +10:00
Kevin Ring 669bdefeec Fix clang warnings. 2021-06-22 21:00:28 +10:00
Kevin Ring 6ece726757 Fix problems when tracing is disabled. 2021-06-22 17:19:33 +10:00
Kevin Ring 0fa144f516 Make "immediately" the default for continuations. 2021-06-22 15:31:30 +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 5f82892528 Don't dispatch worker thread tasks unnecessarily. 2021-06-15 13:57:23 +10:00
Kevin Ring 2f93260a93 Support .then of Future<void>, and more tracing. 2021-06-10 15:46:49 +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 45f24d5177 Generalize thread overhead tracing. 2021-06-09 10:00:14 +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
Kevin Ring 9a46baa591 Basic tracing of tile loads. 2021-06-07 15:05:09 +10:00
Bao Tran a868801cf7 format 2021-05-12 15:49:26 -04:00
Bao Tran bbe8a7fee1 explicitly destroy raster provider 2021-05-12 15:29:30 -04:00
Marco Hutter c8f961c689 Merge remote-tracking branch 'origin/main' into log-tile-ids
# Conflicts:
#	CHANGES.md
2021-05-05 13:47:34 +02:00
Marco Hutter b579401d0f Moved helper function to anonymous namespace 2021-05-05 13:28:50 +02:00
Nithin Pranesh 23d6e1925a apply fixes from review 2021-05-04 11:08:02 -04:00
Kevin Ring 28ccced087 Merge remote-tracking branch 'origin/main' into bing-session-cache2 2021-05-03 22:08:03 +10:00
Kevin Ring f9aba251e1 Don't request the water mask if it's not needed. 2021-05-03 18:09:34 +10:00
Kevin Ring 2b10dff799 Add TileContentLoadInput.cpp, remove Tileset.h from the header. 2021-05-03 15:55:30 +10:00
Kevin Ring d3ede24e27 Merge remote-tracking branch 'origin/main' into watermask 2021-05-03 15:42:54 +10:00
Nithin Pranesh 60472f2223 removed debug print, formatted, CHANGES.md 2021-04-30 16:27:50 -04:00
Nithin Pranesh 077ed0203d initial commit, not working 2021-04-30 16:11:46 -04:00
Nithin Pranesh 1e9a413545 Removed completed TODO comment 2021-04-30 14:01:22 -04:00
Nithin Pranesh f1429f672e added TilesetContentOptions within TilesetOptions 2021-04-30 11:52:16 -04:00
Marco Hutter 51e43bbd49 Comment fixes for clang formatting 2021-04-29 17:06:34 +02:00
Marco Hutter 7f92f95d16 Moved credit creation into main thread 2021-04-28 22:38:49 +02:00
Marco Hutter eab2b854f1 Addressed PR comments 2021-04-28 20:56:37 +02:00
Nithin Pranesh 24e15417ff Added watermask extension correctly 2021-04-28 09:54:19 -04:00
Nithin Pranesh c81c787c52 get rid of custom texcoords code, add geographic projection for texcoords 2021-04-27 13:10:28 -04:00
Nithin Pranesh f028b0876c format 2021-04-26 21:04:04 -04:00
Nithin Pranesh 10932738eb reimplement texture coordinates (is this proper geographic projected?) 2021-04-26 21:00:40 -04:00