Nicholas Guriev [Sun, 21 Jul 2019 10:49:40 +0000 (13:49 +0300)]
Run tests with CMake on travis
* Increase minimal Cmake version to bypass a crash in GoogleTest module.
Change-Id: Ic898190a00101553db10b48c1620a5205a2f7158
Nicholas Guriev [Sun, 21 Jul 2019 09:35:36 +0000 (12:35 +0300)]
Add tests with CMake
sub.mohanty@samsung.com [Sun, 21 Jul 2019 06:34:57 +0000 (15:34 +0900)]
test: Added rect test case to vector test suite
sub.mohanty@samsung.com [Sun, 21 Jul 2019 06:24:28 +0000 (15:24 +0900)]
vector: changed conversion constructor to conversion operator
sub.mohanty@samsung.com [Sun, 21 Jul 2019 04:32:49 +0000 (13:32 +0900)]
CI: update travis CI to use docker image and enable running test suits.
sub.mohanty@samsung.com [Sun, 21 Jul 2019 02:31:03 +0000 (11:31 +0900)]
vector: Fix regression in VRecF for uniform initialization constructor
Fixes vector test suite.
subhransu mohanty [Fri, 19 Jul 2019 06:24:06 +0000 (15:24 +0900)]
meson: move generation of cmake config file to cmake option flag
Change-Id: I3217fbec58d46dfdb20fa78d16ce5003776f8cb6
JunsuChoi [Fri, 19 Jul 2019 01:46:20 +0000 (10:46 +0900)]
meson: Temporarily comment out the cmake code.
this code needed cmake version check
Change-Id: I9921731411aaa4a52efa386a894efa2c378f8323
Shinwoo Kim [Fri, 19 Jul 2019 01:02:32 +0000 (10:02 +0900)]
build pixman arm neon only for arm cpu family(not for aarch64)
Change-Id: I1ba42956784967173da17f9107ec4691bff65173
subhransu mohanty [Thu, 18 Jul 2019 07:55:23 +0000 (16:55 +0900)]
meson: Add support for building rlottie as a static library
Change-Id: Iabe1611e27d864a9c7aef2681445e6c68ccb941e
subhransu mohanty [Thu, 18 Jul 2019 07:27:54 +0000 (16:27 +0900)]
rlottie: Add missing parameter for non thread render scheduler
subhransu mohanty [Thu, 18 Jul 2019 01:02:21 +0000 (10:02 +0900)]
meson: Fix regression in library size
As all the meson variables are in global scope the compiler_flags
in stb module reseted all the optimization flag set in the src directory
which increased the library size by 100KB.
subhransu mohanty [Thu, 18 Jul 2019 00:18:51 +0000 (09:18 +0900)]
rlottie: Fix warning on clnag-8
subhransu mohanty [Wed, 17 Jul 2019 01:36:31 +0000 (10:36 +0900)]
meson: Add a summary at the end of configuration
subhransu mohanty [Mon, 15 Jul 2019 08:03:07 +0000 (17:03 +0900)]
rlottie/api: Added support for rendering without keeping aspect ratio
subhransu mohanty [Fri, 12 Jul 2019 06:37:04 +0000 (15:37 +0900)]
vector: refactor bitmap class
subhransu mohanty [Fri, 12 Jul 2019 06:51:58 +0000 (15:51 +0900)]
build fix
Vincent Torri [Fri, 12 Jul 2019 05:08:13 +0000 (07:08 +0200)]
define LOT_BUILD only for DLL
subhransu mohanty [Fri, 12 Jul 2019 06:09:53 +0000 (15:09 +0900)]
meson: Don't generate cmake config files on for windows platform
subhransu mohanty [Fri, 12 Jul 2019 01:20:44 +0000 (10:20 +0900)]
lottie: Refcator internal api and remove warnings.
Hermet Park [Fri, 12 Jul 2019 04:59:01 +0000 (13:59 +0900)]
--compile warning
more get rid of data type converting warnings on windows.
subhransu mohanty [Thu, 11 Jul 2019 04:46:44 +0000 (13:46 +0900)]
fix clang code model warning.
Hermet Park [Thu, 11 Jul 2019 08:48:35 +0000 (17:48 +0900)]
update ignore files.
Hermet Park [Thu, 11 Jul 2019 08:47:47 +0000 (17:47 +0900)]
vs2019: disable more build warnings.
Hermet Park [Thu, 11 Jul 2019 08:34:14 +0000 (17:34 +0900)]
keep consistency of size_t usage.
Hermet Park [Thu, 11 Jul 2019 08:12:23 +0000 (17:12 +0900)]
replace integers to size_t data type.
these data source are size_t,
keep the consistency to avoid type converting.
subhransu mohanty [Thu, 11 Jul 2019 03:24:00 +0000 (12:24 +0900)]
meson: fix issue when cmake is not installed
subhransu mohanty [Thu, 11 Jul 2019 02:58:53 +0000 (11:58 +0900)]
meson: generate cmake config files
cmake config files needed by cmake's find_package to able to find rlottie.
Hermet Park [Thu, 11 Jul 2019 02:35:11 +0000 (11:35 +0900)]
use proper type of round() function.
Hermet Park [Thu, 11 Jul 2019 02:23:23 +0000 (11:23 +0900)]
code refactorig.
To avoid implicit double type data,
Tell compiler to treat numbers as float explicitly.
Hermet Park [Thu, 11 Jul 2019 02:12:30 +0000 (11:12 +0900)]
vs2019: move disable warning into solution configuration.
subhransu mohanty [Thu, 11 Jul 2019 00:51:23 +0000 (09:51 +0900)]
Fixed warnings
Hermet Park [Wed, 10 Jul 2019 12:22:21 +0000 (21:22 +0900)]
example: remove unused compile warnings in efl_animview.
subhransu mohanty [Wed, 10 Jul 2019 10:31:14 +0000 (19:31 +0900)]
move vectorTest to test from example
Hermet Park [Wed, 10 Jul 2019 09:14:52 +0000 (18:14 +0900)]
windows: disable a warning that class 'type' needs to have dll-interface to be used by clients of class 'type2'
Subhransu [Wed, 10 Jul 2019 09:04:15 +0000 (18:04 +0900)]
update with windows build badge
subhransu mohanty [Wed, 10 Jul 2019 08:15:35 +0000 (17:15 +0900)]
code cleanup
subhransu mohanty [Wed, 10 Jul 2019 08:10:05 +0000 (17:10 +0900)]
CI: Added support for windows build using appveyor
subhransu mohanty [Wed, 10 Jul 2019 04:22:25 +0000 (13:22 +0900)]
meson: better handling of dependency using disabler
subhransu mohanty [Wed, 10 Jul 2019 01:40:56 +0000 (10:40 +0900)]
fix missing header in windows
Change-Id: I6e743b16d89ee772541f4e4f430c7e3fc114813d
subhransu mohanty [Wed, 10 Jul 2019 00:22:36 +0000 (09:22 +0900)]
fix coreguideline warning from clang
Hermet Park [Tue, 9 Jul 2019 12:37:59 +0000 (21:37 +0900)]
stb: ++safety.
make it safe not to leave potential dangling pointers.
Hermet Park [Tue, 9 Jul 2019 12:36:39 +0000 (21:36 +0900)]
pixman: ++safety
make it safe not to leave potential dangling pointers.
Hermet Park [Tue, 9 Jul 2019 12:35:49 +0000 (21:35 +0900)]
Revert "stb: ++safety."
unintended code. revert it.
This reverts commit
cca357019d7822b2c21eb1a910f08cdff60645a1.
Hermet Park [Tue, 9 Jul 2019 12:29:08 +0000 (21:29 +0900)]
stb: ++safety.
make it safe not to leave potential dangling pointers.
subhransu mohanty [Tue, 9 Jul 2019 07:06:12 +0000 (16:06 +0900)]
Fix clang code model warning
subhransu mohanty [Tue, 9 Jul 2019 05:06:15 +0000 (14:06 +0900)]
lottie/optimize: Reduce LOTLayerData size
- better packing
- move seldom use data to extra storage
- reuse layerSize for layer as well as solidlayer size.
Now Size(LOTLayerData) reduced from 262 to 128 byte.
sub.mohanty@samsung.com [Sun, 7 Jul 2019 06:27:52 +0000 (15:27 +0900)]
example: use std::string api
sub.mohanty@samsung.com [Sun, 7 Jul 2019 04:36:59 +0000 (13:36 +0900)]
rlottie: Fix Crash when the resource is not a valid lottie resource
- when resource dosen't have valid header
- layer dosen't have a transform object
Hermet Park [Fri, 5 Jul 2019 09:05:43 +0000 (18:05 +0900)]
vs2019: added the preset visual studio project.
This is a compilable vs project to generate library
for the fan of visual studio.
Still, there are a lot of compile warnings,
it works to generate working dll and lib.
sub.mohanty@samsung.com [Thu, 4 Jul 2019 12:49:58 +0000 (21:49 +0900)]
fix warning regarding nested anonymus union
subhransu mohanty [Thu, 4 Jul 2019 10:47:51 +0000 (19:47 +0900)]
rlottie/meson: make rlottie buildable as a subproject
subhransu mohanty [Thu, 4 Jul 2019 00:20:31 +0000 (09:20 +0900)]
fix msvc build
subhransu mohanty [Wed, 3 Jul 2019 06:57:47 +0000 (15:57 +0900)]
rlottie/gbs: move gbs build from cmake to meson
subhransu mohanty [Wed, 3 Jul 2019 05:28:06 +0000 (14:28 +0900)]
rlottie/meson: refactor meson buildsystem
Change-Id: I0627e3d51cc55f5b177351b67fa4f30e5e235e98
sub.mohanty@samsung.com [Tue, 2 Jul 2019 13:09:50 +0000 (22:09 +0900)]
rlottie/exampe: add correct implementation of basename()
subhransu mohanty [Mon, 1 Jul 2019 10:37:03 +0000 (19:37 +0900)]
rlottie/example: fix typo
Vincent Torri [Mon, 1 Jul 2019 09:23:26 +0000 (11:23 +0200)]
fix dirname() implementation of Windows in lottieloader.cpp, and fix basename() implementation by using strrchr() and not strchr()
subhransu mohanty [Mon, 1 Jul 2019 09:37:09 +0000 (18:37 +0900)]
rlottie: refactor VGradient to remove unnecessary inheritance
subhransu mohanty [Mon, 1 Jul 2019 09:19:43 +0000 (18:19 +0900)]
rlottie: fix warning regarding no return value
subhransu mohanty [Mon, 1 Jul 2019 08:19:07 +0000 (17:19 +0900)]
rlottie/meson: Move comipler options to default_options for customizable build
subhransu mohanty [Mon, 1 Jul 2019 07:34:29 +0000 (16:34 +0900)]
rlottie: Fix issue with LOT_EXPORT for windows
Vincent Torri [Mon, 1 Jul 2019 06:58:30 +0000 (08:58 +0200)]
lottie2gif.cpp: use _fullpath() instead of realpath() and mimic basename() 2 strchr()
Notes:
1) arguments of realpath() and _fullpath() are in reverse order
2) 2 calls of strchr() are needed because / and \ are valid path separators on Windows
subhransu mohanty [Mon, 1 Jul 2019 00:24:18 +0000 (09:24 +0900)]
Fix windows build
sub.mohanty@samsung.com [Sat, 29 Jun 2019 14:57:15 +0000 (23:57 +0900)]
rlottie: fix old style cast.
sub.mohanty@samsung.com [Sat, 29 Jun 2019 14:07:22 +0000 (23:07 +0900)]
rlottie: Fix cmake build
sub.mohanty@samsung.com [Sat, 29 Jun 2019 11:27:09 +0000 (20:27 +0900)]
rlottie: fix windows build
sub.mohanty@samsung.com [Sat, 29 Jun 2019 09:13:16 +0000 (18:13 +0900)]
rlottie: refactor meson build file
sub.mohanty@samsung.com [Sat, 29 Jun 2019 08:47:16 +0000 (17:47 +0900)]
rlottie: make dependancy to dl library optional for windows build
Vincent Torri [Fri, 28 Jun 2019 08:40:16 +0000 (10:40 +0200)]
Iamage loader: include windows.h and not Windows.h
Indeed, when cross-compiling on Linux, which has a case
sensitive file system, and as minwg-w64 provides windows.h,
we must use lower case name for header files.
sub.mohanty@samsung.com [Thu, 27 Jun 2019 12:47:45 +0000 (21:47 +0900)]
rlottie: Get size data from the model
JunsuChoi [Wed, 26 Jun 2019 11:12:25 +0000 (20:12 +0900)]
Fix typo that incorrect matrix information.
subhransu mohanty [Wed, 26 Jun 2019 05:54:20 +0000 (14:54 +0900)]
rlottie/vector: backport optimization from freetype
subhransu mohanty [Wed, 26 Jun 2019 01:53:44 +0000 (10:53 +0900)]
rlottie: Update DirtyMatrix only when needed.
subhransu mohanty [Tue, 25 Jun 2019 10:04:11 +0000 (19:04 +0900)]
rlottie: use correct default opacity value.
Change-Id: I9b2012a0951aecb1ead036181fb1f90c50a9bcdd
Hermet Park [Tue, 25 Jun 2019 07:21:33 +0000 (16:21 +0900)]
rapidjson: filterate BOM encoding mark out as it's necessary.
Previously, json file containing BOM(Byte Order Mark),
it wouldn't recognize it as the normal data,
Our StringStream could filter out BOM if it's necessary.
See: https://en.wikipedia.org/wiki/Byte_order_mark
subhransu mohanty [Tue, 25 Jun 2019 00:58:38 +0000 (09:58 +0900)]
rlottie/model: Refactor LOTTransformData object to optimize object size
subhransu mohanty [Mon, 24 Jun 2019 07:51:29 +0000 (16:51 +0900)]
rlottie: ran clang-format with the latest code
subhransu mohanty [Mon, 24 Jun 2019 06:50:47 +0000 (15:50 +0900)]
rlottie: Fix build break
Hermet Park [Mon, 24 Jun 2019 06:52:05 +0000 (15:52 +0900)]
example: changed file permission.
Keep their access mode as others' same.
Hermet Park [Mon, 24 Jun 2019 06:48:23 +0000 (15:48 +0900)]
example: remove some example resources.
These are not guranteed as free resources.
subhransu mohanty [Mon, 24 Jun 2019 05:44:02 +0000 (14:44 +0900)]
rlottie: Fix clang-tidy warning
subhransu mohanty [Mon, 24 Jun 2019 04:57:55 +0000 (13:57 +0900)]
rlottie: Fix issue with Line join(Miter) by using the implementation similar to what PDF uses.
Freetype has 2 types of miter join SW_FT_STROKER_LINEJOIN_MITER_VARIABLE and SW_FT_STROKER_LINEJOIN_MITER_FIXED.
SW_FT_STROKER_LINEJOIN_MITER_FIXED is similar to what PostScrip and PDF generates.
SW_FT_STROKER_LINEJOIN_MITER_VARIABLE is similar to what XPS generates.
sub.mohanty@samsung.com [Sun, 23 Jun 2019 03:25:25 +0000 (12:25 +0900)]
rlottie: Add LOTTIE_CACHE_SUPPORT config variable to enable/disable lottie model cache strategy
subhransu mohanty [Fri, 21 Jun 2019 02:37:26 +0000 (11:37 +0900)]
rlottie: disable copy and move operation for layeritem and contentitem
Hermet Park [Thu, 20 Jun 2019 08:13:57 +0000 (17:13 +0900)]
capi: expose layer item name for utiliziing by demand.
subhransu mohanty [Thu, 20 Jun 2019 00:10:09 +0000 (09:10 +0900)]
rlottie: Fix all cppcheck warnings.
Subhransu Mohanty [Wed, 19 Jun 2019 09:02:17 +0000 (18:02 +0900)]
rlottie: Fix a issue when shape animation data are not same size
subhransu mohanty [Wed, 12 Jun 2019 07:45:32 +0000 (16:45 +0900)]
lottie/vector: Added reset api to VBitmap class
Change-Id: Idec04c77350bf2ae33cf03b5a1f92cb060d639da
subhransu mohanty [Wed, 19 Jun 2019 00:09:04 +0000 (09:09 +0900)]
rlottie: fix typo which was causing invalid memory read
Change-Id: I724b9097b4239702807bc82c2dbd15e6bb31b369
subhransu mohanty [Tue, 18 Jun 2019 04:53:53 +0000 (13:53 +0900)]
rlottie: Fix issue with handling hidden Layer
subhransu mohanty [Mon, 17 Jun 2019 04:09:35 +0000 (13:09 +0900)]
rlottie/optimization: remove unnecessary pointer indirection to optimize memory allocation.
subhransu mohanty [Fri, 14 Jun 2019 08:20:06 +0000 (17:20 +0900)]
rlottie: Refactor Rle Generation to optimize memory allocation.
Moved the Rle Generation to Rasterizer class which will take care of
handling async rle generation efficiently by reusing Task.
Now Rle Task scheduler will take a shared_ptr to the Task data which will
be created once in Rasterizer.
subhransu mohanty [Wed, 12 Jun 2019 07:51:03 +0000 (16:51 +0900)]
rlottie: Keep an offscreen buffer in the layer.
The offscreen buffer is created on demand if the layer has any matte.
so we only create the buffer once and reuse for subsequent frame rendering.
JunsuChoi [Tue, 11 Jun 2019 08:25:16 +0000 (17:25 +0900)]
lottieitem : Fix layer alpha transparency issue.
When a layer has transparency, we need to send it to layer node.
So I add mAlpha member to the LOTLayerItem.
sub.mohanty@samsung.com [Sat, 8 Jun 2019 14:48:23 +0000 (23:48 +0900)]
rlottie/cmake: Fix cmake build issue for Mac
subhransu mohanty [Fri, 7 Jun 2019 01:58:46 +0000 (10:58 +0900)]
meson/build: meson has builtin option 'b_sanitize' to run asan msan and tsan
subhransu mohanty [Wed, 5 Jun 2019 01:53:54 +0000 (10:53 +0900)]
rlottie/json: updated to latest rapidjson
subhransu mohanty [Tue, 4 Jun 2019 08:45:48 +0000 (17:45 +0900)]
rlottie/parser: opacity attribute can be float
subhransu mohanty [Tue, 4 Jun 2019 04:58:32 +0000 (13:58 +0900)]
rlottie/example: refactor to use evas_object_image_pixels_dirty_set() api