)]}'
{
  "commit": "c21247a0ebba7c59be69e938964ecdf75f10917c",
  "tree": "8708e794c91a702bb550b1ff8d75e9ed9fe7eda0",
  "parents": [
    "81be7f84ff42bef4748308b31a202c3f313b87d1"
  ],
  "author": {
    "name": "mjtalbot",
    "email": "hello@rive.app",
    "time": "Fri Oct 06 08:52:36 2023 +0000"
  },
  "committer": {
    "name": "mjtalbot",
    "email": "hello@rive.app",
    "time": "Fri Oct 06 08:52:36 2023 +0000"
  },
  "message": "Add out of band loading to rive-wasm\n\nDraft, as there\u0027s a quite a few bits to do, but would be neat to get thoughts on it\n\nit \"works\" but there are questions.\n\n- [x] clean up commits a bit\n- [x] pull out cdn stuff to pr that alone \u0026 unblock @umberto-sonnino\n- [x] make prettier example, i think something with a few images is going to work well\n- [x] sort out cpp api for decoding assets. dart lets you set the image, i think cpp needs to do the same. (rather than make it implement decode as it currently does)\n- [x] asyncify?! ( we are not doing this at this point)\n- [x] make fonts replaceable\n- [x] fonts do not replace after rendering/ sometimes async fonts do not get drawn (will tackle this later, need to add artboard referencers to assets so that we know what needs to be made dirty once they are updated)\n- [x] fix tests\n- [x] add tests\n- [x] test webgl\n- [x] figure out caching (pushed off for later pr)\n\nexample looks a bit like this:\n\nhttps://github.com/rive-app/rive/assets/1216025/98bc1eaf-6076-44d2-93ca-a9cc8ea42f9e\n\nbut it can look like this if the fonts do not load properly\n\n![CleanShot 2023-09-26 at 15 52 56](https://github.com/rive-app/rive/assets/1216025/c8e3f06c-2ef4-4e5a-a780-0f764f4d06b3)\n\n(to repro ☝️ set latency to 300ms)\n\nto run.\ncompile wasm\n\n`cd rive/packages/runtime_wasm/wasm` \u0026\u0026 `./build_all_wasm.sh`\n\nrun the example\n`cd rive/packages/runtime_wasm/wasm/examples/out_of_band_example` \u0026\u0026 `npm start` (oh and `npm install` first)\n\nDiffs\u003d\nf95f54140 Add out of band loading to rive-wasm (#6017)\n\nCo-authored-by: Maxwell Talbot \u003ctalbot.maxwell@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "69496162902f034d92c8bcc84f1c582e59cc2a40",
      "old_mode": 33188,
      "old_path": ".rive_head",
      "new_id": "aec9b2c2577acc510e7c9ff2fef20d5c01e3a5cc",
      "new_mode": 33188,
      "new_path": ".rive_head"
    },
    {
      "type": "modify",
      "old_id": "201d5a361dad99c389317356b006de2229a9c69a",
      "old_mode": 33188,
      "old_path": "include/rive/file_asset_loader.hpp",
      "new_id": "32136bbf610d411e2a022f20a9cc84ba5ac5017d",
      "new_mode": 33188,
      "new_path": "include/rive/file_asset_loader.hpp"
    },
    {
      "type": "modify",
      "old_id": "17b84a0e4a378708517f0f1cb2d439ea45083a84",
      "old_mode": 33188,
      "old_path": "include/rive/relative_local_asset_loader.hpp",
      "new_id": "30d7d8a7e3edff0cecf08639a131ab0ca09053ea",
      "new_mode": 33188,
      "new_path": "include/rive/relative_local_asset_loader.hpp"
    },
    {
      "type": "modify",
      "old_id": "53fe254b8861c034733c38ef60b1a27895e0d707",
      "old_mode": 33261,
      "old_path": "skia/dependencies/make_skia_wasm.sh",
      "new_id": "81b47c508b5adab152377f7014afc330ccc9019c",
      "new_mode": 33261,
      "new_path": "skia/dependencies/make_skia_wasm.sh"
    },
    {
      "type": "modify",
      "old_id": "67394d4829ab41781ac7cf5a590a075493355578",
      "old_mode": 33188,
      "old_path": "skia/renderer/src/skia_factory.cpp",
      "new_id": "96e70b518f3b2c369bfdf249e85b15652a61ddef",
      "new_mode": 33188,
      "new_path": "skia/renderer/src/skia_factory.cpp"
    },
    {
      "type": "modify",
      "old_id": "f7d8ffd897d510da6dbe7366e04b76a116b54921",
      "old_mode": 33188,
      "old_path": "src/importers/file_asset_importer.cpp",
      "new_id": "545b462f97cd342132a4755b327852670d92753a",
      "new_mode": 33188,
      "new_path": "src/importers/file_asset_importer.cpp"
    },
    {
      "type": "modify",
      "old_id": "c4b95876650d9835f62271d4da9cf2946c1d2dfb",
      "old_mode": 33188,
      "old_path": "test/in_band_asset_load_test.cpp",
      "new_id": "b9a50c5616c9fef12700b68fc3e7c335008fc16a",
      "new_mode": 33188,
      "new_path": "test/in_band_asset_load_test.cpp"
    }
  ]
}
