-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update runtime with file asset cdn information
adding core definition bits for out of band assets also adding a "loadInBandAssets" flag - [x] get a test in Diffs= af873d55a update runtime with file asset cdn information (#6040) Co-authored-by: Maxwell Talbot <talbot.maxwell@gmail.com>
- Loading branch information
Showing
29 changed files
with
341 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
382a48cf8c79664cc8d5308f2f0a4a504d33b2be | ||
af873d55a4c80c7ba5982186eed4ceb0a0fe579f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#ifndef _RIVE_FILE_ASSET_RESOLVER_HPP_ | ||
#define _RIVE_FILE_ASSET_RESOLVER_HPP_ | ||
|
||
#include <cstdint> | ||
#include <vector> | ||
|
||
namespace rive | ||
{ | ||
class FileAsset; | ||
class FileAssetLoader | ||
{ | ||
public: | ||
virtual ~FileAssetLoader() {} | ||
|
||
/// The return value sets the intention for handling loading the contents | ||
/// of the given asset. When no asset loader commits to handling the contents | ||
/// we will load assets in band if provided. | ||
/// | ||
/// @param asset describes the asset that Rive is looking for the | ||
/// contents of. | ||
virtual bool willLoadContents(FileAsset& asset) { | ||
return true; | ||
} | ||
|
||
/// Load the contents of the given asset | ||
/// | ||
/// @param asset describes the asset that Rive is looking for the | ||
/// contents of. | ||
virtual void loadContents(FileAsset& asset) = 0; | ||
}; | ||
} // namespace rive | ||
#endif |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.