Commit graph

4058 commits

Author SHA1 Message Date
Leon Styhre 3f629b6c1e Created proper program structure for LottieComponent. 2022-01-08 11:25:29 +01:00
Leon Styhre 8d648867e1 (Windows) Disabled threading support in rlottie since it was unstable when built using MinGW. 2022-01-07 22:51:14 +01:00
Leon Styhre 29eceedde0 (RPi) Added custom patch to rlottie to be able to link against it. 2022-01-07 19:45:52 +01:00
Leon Styhre 3ee4e4cb35 Added threading support and proper frame pacing to LottieComponent. 2022-01-07 19:09:07 +01:00
Leon Styhre 0c552dd8fb Added a GLSL shader to convert the color model BGRA to RGBA.
Also added support for specifying a separate format as compared to internalFormat when creating textures, although the shader should be used primarily as this is not really supported by the OpenGL standard.
2022-01-07 18:54:52 +01:00
Leon Styhre 7430a8b5f5 Merge commit '79ff784721f4467450f37310322ecff59d3f1ce9' into lottie-support 2022-01-07 18:43:06 +01:00
Leon Styhre 79ff784721 Squashed 'external/rlottie/' changes from bf3d272df..875626965
875626965 Check border of color table while generating gradient
d1636c7b4 Ignore animations with objects of unspecified type
f3eed9a33 add formal parameter void to lottie_init() and lottie_shutdown()
519bd08b0 Add lottie_init() and lottie_shutdown() c api.
447cb7dd1 replace unsigned int with uint32_t in Int()
d7cf0a5ab replace uint ushort and uchar typedefs with uint32 uint16 and uint8 -- added format script to run clang format on latest commit.
16beec845 lottiemodel: Improve opacity calculation for gradient stop
327fb7dba Reject reversed frames
625bc4c48 Finite loop in VBezier::tAtLength()
ddbc9dce7 rlottie/capi: Add missing multiply for Path
c0e16e571 Check Layer.mExtra and Transform.mExtra before dereferencing
9f78532c8 Avoid access to last element of empty mChildren vector
4e08acd8c remove RAPIDJSON_ASSERT() by placing the parser in error state
7affa78fe Fix dereferencing of null pointer in model::Layer::solidColor() getter
9d17ff8e6 Skip dash array of size one or zero
f379dfe15 add the /inc folder as an include path at build time
194b31736 Improve matte rendering performance for simple layer
7c5b40cbb CMake: fix MSVC warnings
fa44b753e fix compileing error
41f906480 On windows, stbi__fopen opens a path containing non-English characters or symbols will fail due to encoding problems, so the filename parameter is assumed to be utf-8 and converted to utf-16, and then call _wfopen_s or _wfopen
29b391b95 add lottie_configure_model_cache_size() c api
3cd00151c Fix comparison
bd4c4e1f8 MT and MTd
c593b57eb Remove link warnings on MSVC
132ca0a00 #include "fix" for rust-bindgen
c9780b46d Fix CMake build in subdirectory
1cb2021d6 Fix crash when path animation  data is empty
ad9beaec6 Added support for RoundedCornor objects.
a41bd7383 rlottie: draw line if width or height is 0
ed94baf14 resource: polish player png image.
9b4c4d2af resource: add rlottie_player image.
2d7b1fa2b Fixed build with GCC 11.
9cd9a6e95 vs2019: Add release build option
d733e953b updated AUTHORS
fc760ef92 updated AUTHORS
d92d4aaf6 wasm: Add extra functions for lottie animation to use them in rlottie viewer
09662b89d updated AUTHORS
71fbff5d5 example/win32Player: removed unnecessary files.
d25911e6c add app executables
538dfd9aa rename directory rlottiePlayer to win32Player
6fbb67d49 fix openJSONFileDialog
85856dff3 fix animation replace error
f86e97d65 fix animation bitmap size to be set dynamically
55815b2cb move function prototype to animation.h To prevent function prototype duplicate code in source.cpp.
9a71eeca9 add an example of win32 app that play rlottie animation by vs2019
619320cbb add rlottiePlayer Project
4884e0e9b Modify: Update .gitignore
3ebf0c7e3 Docs: Fix README typo
502cc3638 updated license in spec file.
e812ba9e9 Docs: Fix README typo
c98ec565d Update README.md
33295c22f Fixed README typo
073224e69 fixed readme typo
ff8ddfc49 ci: upgrade windows build chain to VS2017
10c1055a3 fixed sign extension warning
98ed2620a build: use shared_module instead of shared_library

git-subtree-dir: external/rlottie
git-subtree-split: 875626965959d8e269ca22175c8e1ad190696c43
2022-01-07 18:43:06 +01:00
Leon Styhre 886b99d071 Added some .gitignore rules for rlottie on Windows. 2022-01-07 18:37:22 +01:00
Leon Styhre d96879c57f Fixed a CPACK generator issue on Windows and macOS. 2022-01-07 18:35:47 +01:00
Leon Styhre ecc599e5cc (Windows) Some additional CMake configuration changes to make rlottie link correctly. 2022-01-07 00:38:20 +01:00
Leon Styhre 0021bee104 (Windows) Fixed two compiler warnings. 2022-01-07 00:30:31 +01:00
Leon Styhre 19147eee66 (Windows) CMake configuration changes to make rlottie build correctly. 2022-01-07 00:29:31 +01:00
Leon Styhre 5f9505f780 Added a missing CMake configuration file to build the external dependencies. 2022-01-06 23:25:22 +01:00
Leon Styhre 998830181f Added CMake configuration for the Lottie animation support. 2022-01-06 23:19:37 +01:00
Leon Styhre f56d7cc67b Added a preliminary Lottie animation component.
Also added two temporary test animations.
2022-01-06 23:15:29 +01:00
Leon Styhre 2b4126fcb3 Updated the external/.gitignore file for rlottie. 2022-01-06 23:11:56 +01:00
Leon Styhre 73411266c1 Squashed 'external/rlottie/' content from commit bf3d272df
git-subtree-dir: external/rlottie
git-subtree-split: bf3d272df3916a0c34575ac8286cb0fe672fd0d4
2022-01-06 22:59:15 +01:00
Leon Styhre deb6dced0f Merge commit '73411266c1bf07eb0b659102c3376a3739629ff7' as 'external/rlottie' 2022-01-06 22:59:15 +01:00
Leon Styhre 8644a414d8 Merge branch 'thread-safety-refactoring' 2022-01-05 10:34:42 +01:00
Leon Styhre c62a069448 Fixed an issue where the audio device was accessed after it had been closed. 2022-01-05 00:08:50 +01:00
Leon Styhre f8e201d347 Moved the CollectionSystemsManager cleanup from the destructor to a deinit function. 2022-01-04 23:14:12 +01:00
Leon Styhre 87ace0b8cb Changed some shared_ptr return values to use values instead of references. 2022-01-04 22:36:15 +01:00
Leon Styhre 0cbcb7a516 Changed Settings::getInstance() from returning a smart_ptr to returning a regular pointer. 2022-01-04 21:54:55 +01:00
Leon Styhre 119dfc90f8 Changed ViewController::get() to ViewController::getInstance() 2022-01-04 21:49:22 +01:00
Leon Styhre 5d79c3d77e Fixed a compile error when building with the bundled TLS/SSL certificates. 2022-01-04 21:38:46 +01:00
Leon Styhre 254b00a3d8 Large refactoring to improve thread safety and improve singleton pattern usage. 2022-01-04 21:21:26 +01:00
Leon Styhre 51bb48b603 Documentation update. 2022-01-03 18:55:13 +01:00
Leon Styhre 2a4e7d22b8 Fixed an issue where the busy indicator would not get displayed during multi-scraping. 2022-01-03 18:44:19 +01:00
Leon Styhre 5bb009e604 Added scraper support for displaying the returned platform if it does not match the game platform. 2022-01-03 18:37:43 +01:00
Leon Styhre 6f35f16470 Added a missing scummvm system entry for the TheGamesDB scraper. 2022-01-03 18:22:41 +01:00
Leon Styhre f36245886f Set the 'Scrape actual folders' option as enabled by default.
Also moved it higher up in the scraper options menu.
2022-01-03 18:20:49 +01:00
Leon Styhre 4349322055 Documentation update. 2022-01-02 21:25:34 +01:00
Leon Styhre 0a72780b59 Fixed two small typos. 2022-01-02 21:02:43 +01:00
Leon Styhre 280a6d101b (Windows) Changed the CMake configuration to keep all dependencies in-tree in the 'external' directory. 2022-01-02 20:54:46 +01:00
Leon Styhre f832bb1cab (Windows) Added in-tree dependencies build scripts for MinGW. 2022-01-02 20:23:35 +01:00
Leon Styhre b7d71693f8 (Windows) Added in-tree dependencies build scripts for MSVC. 2022-01-02 18:34:11 +01:00
Leon Styhre 662db54f97 (macOS) Changed a download URL for the in-tree dependency setup script. 2022-01-02 18:29:31 +01:00
Leon Styhre 8b489f6cd9 Merge branch 'master' of https://gitlab.com/leonstyhre/emulationstation-de 2022-01-02 18:18:26 +01:00
Leon Styhre c0702c7530 Changed the .gitignore rules for the 'external' directory. 2022-01-02 18:17:56 +01:00
Leon Styhre f74a8afbd7 Documentation update. 2022-01-02 13:28:24 +01:00
Leon Styhre 6431804ee7 Removed the deprecated VideoVlcComponent. 2022-01-02 13:13:01 +01:00
Leon Styhre 20dbaa01f2 Added year 2022 to the copyright messages. 2022-01-02 12:22:51 +01:00
Leon Styhre 17dbae3c20 (Unix) Added the 1.2.0 release to the AppData file. 2022-01-02 12:20:22 +01:00
Leon Styhre 6e126e2fae Added a Windows-specific section to the user guide. 2021-12-30 11:45:21 +01:00
Leon Styhre cae560bdfe Updated the development documentation for 1.3.0-alpha
Also added a link to the Linux AUR to README.md
2021-12-29 17:22:18 +01:00
Leon Styhre 2bb5d0c164 Bumped the version to 1.3.0-alpha 2021-12-29 15:54:26 +01:00
Leon Styhre e5c6021ba8 Updated THEMES.md for the 1.2.0 release. 2021-12-28 17:22:22 +01:00
Leon Styhre b09e85d75f Updated the download links and documentation for the 1.2.0 release. 2021-12-28 17:01:33 +01:00
Leon Styhre a3561f4c88 Bumped the version to 1.2.0 2021-12-28 11:27:01 +01:00
Leon Styhre fa993a0489 Fixed a texture corruption issue caused by too aggressive optimizations. 2021-12-27 21:24:34 +01:00