Commit Graph

3960 Commits

Author SHA1 Message Date
Joseph Kaile a2cebe04f1 add test to verify compressed vertex attributes are within range 2023-07-31 17:41:45 -04:00
Kevin Ring 5c89b3c7d3 Tiny tweaks, mostly to formatting. 2023-07-31 19:08:08 +10:00
Joseph Kaile 40d22b1b14 fix doc comments 2023-07-28 12:45:18 -04:00
Kevin Ring ef58d31fa0 Add LocalHorizontalCoordinateSystem constructors taking matrices. 2023-07-28 22:59:58 +10:00
Joseph Kaile 6e1c17c9a5 reorg meshopt decode 2023-07-27 22:21:26 -04:00
Joseph Kaile 6b957de071 Merge branch 'main' into meshopt-compression 2023-07-27 10:54:47 -04:00
Kevin Ring ffd330fb21
Merge pull request #690 from CesiumGS/support-stale-while-revalidate
Support stale-while-revalidate
2023-07-27 22:28:02 +10:00
Kevin Ring a59ffac3ef A few more test cases, and tweak the logic so they pass. 2023-07-27 22:00:58 +10:00
Joseph Kaile 65090a7327 decode filter 2023-07-26 13:50:08 -04:00
Brian Langevin e00a12b37d
Update CHANGES.md 2023-07-26 11:11:39 -06:00
Brian Langevin e92e7a0654
Merge branch 'main' into support-stale-while-revalidate 2023-07-26 11:10:11 -06:00
Joseph Kaile d9857303e0 fix linux compile error 2023-07-26 12:32:13 -04:00
Brian Langevin 5cbda54b7f
Update CHANGES.md 2023-07-26 10:04:20 -06:00
Brian L 8abe88353a Add support for cases where we only need Etag or Last-Modified to cache 2023-07-26 09:52:51 -06:00
Janine Liu 64a2e30fe7
Merge pull request #686 from CesiumGS/unconditionally-refined-leaves
Treat fully-loaded, empty, unconditionally-refined tiles with no children as renderable
2023-07-26 10:51:05 -04:00
Kevin Ring fd20f5e272
Merge pull request #688 from javagl/remove-credits-argument
Remove credits argument
2023-07-26 15:10:15 +10:00
Joseph Kaile 5cc8dff015 apply pull request comments 2023-07-25 20:32:31 -04:00
Joseph Kaile 6049f72a3f apply pull request review code changes 2023-07-25 14:26:19 -04:00
Brian L 53689f1123 Modify shouldCacheRequest for additional no-cache cases. Add more unit tests 2023-07-25 12:21:13 -06:00
Brian L a72438bec0 Remove redundant code from shouldRevalidateCache() 2023-07-25 11:33:45 -06:00
Brian L 018a7380b8 Refactor using std::optional. Fixup unit tests 2023-07-25 11:11:23 -06:00
Joseph Kaile 87980fdb04 fix compile warnings 2023-07-24 17:37:56 -04:00
Janine Liu 89a317d9f9
Merge pull request #692 from CesiumGS/hide-registering-log-messages
Remove logs when registering magic headers of file extensions
2023-07-24 16:45:33 -04:00
Joseph Kaile 7965f5d50b add more error checking 2023-07-24 15:12:50 -04:00
Joseph Kaile e0642b6f6b fix linux compile errors 2023-07-24 13:36:29 -04:00
Brian L 3664ad8884 Remove logs when registering magic headers of file extensions 2023-07-24 10:42:50 -06:00
Joseph Kaile 053846489b fix rename error 2023-07-24 11:52:37 -04:00
Joseph Kaile 643b2f1831 fix testing failure and add some performance benefits 2023-07-24 11:34:16 -04:00
Brian L 29f2625708 Add unit tests similar to Google 3D Tiles response headers 2023-07-22 10:06:35 -06:00
Joseph Kaile 030c5462b4 add testing data and test 2023-07-21 21:52:15 -04:00
Joseph Kaile 1779ca87f3 add warning messages when meshopt fails 2023-07-21 19:04:04 -04:00
Brian L 2227dd6cd9 Back out check for etag and last-modified
We can still cache requests without this. Logic error caught by unit tests.
2023-07-21 16:58:25 -06:00
Brian L ce3bd6ff5a Fix for unit tests (function rename) 2023-07-21 15:45:49 -06:00
Brian L 6733535218 Handle noCache properly
Let it store to cache, but always indicate stale (needs to revalidate)
2023-07-21 15:34:51 -06:00
Joseph Kaile 4802c6a813 use 32 bit indices when numVertices > 65535 2023-07-21 17:27:51 -04:00
Brian L 2e966fbeae Modify ResponseCacheControl to support checking for existence of directives with values
Add additional logic to shouldCacheRequest:
- Return false if no etag or last-modified header exists, can't revalidate
- If cache control and max age (or s max age) exists, ignore Expires header
2023-07-21 14:58:30 -06:00
Joseph Kaile 4f4901c717 address pull request comments 2023-07-21 14:43:51 -04:00
Joseph Kaile 39b5cc79f8 fix linux compile errors 2023-07-21 12:39:14 -04:00
Kevin Ring 1c36c0e09a Merge remote-tracking branch 'origin/main' into meshopt-compression 2023-07-21 14:11:10 +10:00
Joseph Kaile 35b23187d7 transform texture coordinates on cpu 2023-07-20 15:32:43 -04:00
Marco Hutter b7da6add99 Removed unused lambda capture 2023-07-20 16:57:36 +02:00
Marco Hutter 7f482ef98d Remove credits argument 2023-07-20 16:15:46 +02:00
Janine Liu 34db0687a0
Merge pull request #683 from CesiumGS/clean-zlib
Don't let zlib dirty its repo on configure
2023-07-19 14:01:33 -04:00
Janine Liu 0b60504e9b
Merge branch 'main' into unconditionally-refined-leaves 2023-07-19 13:42:06 -04:00
Brian L fa24d9fd92 Let stale-while-revalidate requests now go to disk cache 2023-07-19 11:26:37 -06:00
Brian L 2b0911d4a0 Run clang-format 2023-07-19 10:50:17 -06:00
Janine Liu 8dedd37203
Merge pull request #682 from CesiumGS/ktx2-mipmaps
Fix handling of KTX2 images without mipmaps.
2023-07-19 12:38:02 -04:00
Brian L 6ab9f41ad5 Add stale-while-revalidate support to ResponseCacheControl class 2023-07-19 10:27:35 -06:00
Janine Liu b41f6da1fc
Fix typos 2023-07-19 11:22:41 -04:00
Joseph Kaile 311489838a initial commit for meshopt-compression 2023-07-18 21:22:00 -04:00