diff options
author | Hermet Park <hermetpark@gmail.com> | 2019-06-21 17:30:19 +0900 |
---|---|---|
committer | Hermet Park <hermetpark@gmail.com> | 2019-06-21 17:35:48 +0900 |
commit | 23af6ec640c4166aa912f8d6be1e3b78b0780913 (patch) | |
tree | b844eb6e5dab6dccdb8dda72d028fda3958e7c69 /src/lib/evas/file/evas_module.c | |
parent | 1c02b7740de0938bcbad2e26ee055ad570cdf77c (diff) |
evas vector: support json loader for rlottie integration.
Summary:
Introduce a new evas json loader to support lottie animation.
This json loader uses rlottie library which is a new github open project.
These days most ui frameworks (windowpws, skia, qt, xamarin, react, nativescript) supports lottie,
the rlottie was designed to support lottie as a standalone library and compatible with efl as well.
To enable this,please install rlottie library then remove json disabler in meson_options.txt
For more information, See lottie/rlottie project and its a introdcution article:
https://airbnb.io/lottie/#/
https://github.com/samsung/rlottie
https://hermet.pe.kr/143
Co-authored-by: JunsuChoi <jsuya.choi@samsung.com>
{D8941}
{D8944}
Reviewers: #committers, jsuya, bu5hm4n
Subscribers: bu5hm4n, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8940
Diffstat (limited to '')
-rw-r--r-- | src/lib/evas/file/evas_module.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/evas/file/evas_module.c b/src/lib/evas/file/evas_module.c index 63129bc286..b467ebcdbf 100644 --- a/src/lib/evas/file/evas_module.c +++ b/src/lib/evas/file/evas_module.c | |||
@@ -185,6 +185,7 @@ EVAS_EINA_STATIC_MODULE_DEFINE(engine, wayland_egl); | |||
185 | #if !EVAS_MODULE_NO_VG_LOADERS | 185 | #if !EVAS_MODULE_NO_VG_LOADERS |
186 | EVAS_EINA_STATIC_MODULE_DEFINE(vg_loader, eet); | 186 | EVAS_EINA_STATIC_MODULE_DEFINE(vg_loader, eet); |
187 | EVAS_EINA_STATIC_MODULE_DEFINE(vg_loader, svg); | 187 | EVAS_EINA_STATIC_MODULE_DEFINE(vg_loader, svg); |
188 | EVAS_EINA_STATIC_MODULE_DEFINE(vg_loader, json); | ||
188 | #endif | 189 | #endif |
189 | 190 | ||
190 | #if !EVAS_MODULE_NO_IMAGE_LOADERS | 191 | #if !EVAS_MODULE_NO_IMAGE_LOADERS |
@@ -274,6 +275,9 @@ static const struct { | |||
274 | #ifdef EVAS_STATIC_BUILD_VG_EET | 275 | #ifdef EVAS_STATIC_BUILD_VG_EET |
275 | EVAS_EINA_STATIC_MODULE_USE(vg_loader, eet), | 276 | EVAS_EINA_STATIC_MODULE_USE(vg_loader, eet), |
276 | #endif | 277 | #endif |
278 | #ifdef EVAS_STATIC_BUILD_VG_JSON | ||
279 | EVAS_EINA_STATIC_MODULE_USE(vg_loader, json), | ||
280 | #endif | ||
277 | #endif | 281 | #endif |
278 | #if !EVAS_MODULE_NO_IMAGE_LOADERS | 282 | #if !EVAS_MODULE_NO_IMAGE_LOADERS |
279 | #ifdef EVAS_STATIC_BUILD_BMP | 283 | #ifdef EVAS_STATIC_BUILD_BMP |