Commit Graph

25012 Commits

Author SHA1 Message Date
subhransu mohanty
1c4bd6c966 lottie/example: delete the animator only when its created.
Change-Id: Id6a4a7e704a8da298c0cae91a7065b80163f843d
2018-08-14 10:08:33 +00:00
overtake
6b05a0e2cc no message 2018-08-14 13:04:13 +03:00
Hermet Park
e6b7dd8551 lottieplayer: fix broken animation.
A patch occured regression bug, because its depeneded patch was rebased.
call setPos() properly even in deferred method.

Change-Id: I89fa849304b6e5d260cc88c3863d8879c7bb463b
2018-08-14 18:57:00 +09:00
Peter
01ed96e839 no message 2018-08-14 12:56:40 +03:00
Peter
0d2883fd64 no message 2018-08-14 12:56:07 +03:00
Hermet Park
49d374788d lottieplayer: simple optmization for deffered update.
This skips unnecessary update process from every user render-request.

Change-Id: Id3123bdb31879e1c559b6048ccf60d88dccb690f
2018-08-14 09:22:44 +00:00
Hermet Park
2d81a0920d lottieplayer: apply lazy update.
update size when it ready to go.

Change-Id: Ic1f27bc3f365526313059d7c9026478c41b557c8
2018-08-14 09:19:21 +00:00
subhransu mohanty
d0b3aa86dd lottie/render: Fixed valgrind warning for uninitialize member variable.
Change-Id: I3c985c00b54d91b936c401febe9dff0d766e1793
2018-08-14 08:47:10 +00:00
Hermet Park
9410d9e32d lottieplayer: code refactoring.
change type to struct and declare type scopes explicitly.

Change-Id: If85fbc97917ba324030c3e65765f315e590239ed
2018-08-14 03:29:35 +00:00
Hermet Park
adddac6180 lottieplayer: merge setPos() with renderList()
renderList() build render tree based on current Position.
merge both api helps user to avoid mistake.

Change-Id: Ia158f28b5ab66ec6e20665726a21d7f1c4e4cc13
2018-08-14 03:27:35 +00:00
Hermet Park
a36f340a0b lottieplayer: remove redundant calls.
Those calls are useless on load time.

Change-Id: If69033eb244078c4f9b9258fcbc71eff17b894c9
2018-08-13 19:08:21 +09:00
subhransu mohanty
b73a2cfdcf lottie/render: remove unused functions.
Change-Id: Ib8d7319da4af0814072ed60869e053896336298d
2018-08-13 14:02:00 +09:00
subhransu mohanty
dfecf07d94 lottie/player: call setPos() only if size is already set.
Change-Id: If08c49c398d6d8d90ab845020108b368ea204505
2018-08-13 13:46:04 +09:00
sub.mohanty@samsung.com
505a208f93 lottie/render: fixed issue with + and - operator implementation of VRle.
Change-Id: Idd852768fde5bdd731c2a85e8abdee094b39f110
2018-08-13 13:36:15 +09:00
Ilya Laktyushin
db83793ce1 no message 2018-08-10 09:23:09 +03:00
subhransu mohanty
1a65665d9c lottie/render: fixed transparency issue in renderer.
Change-Id: I8c1128b5cdd46718deeff6eda21663699dfd4b4c
2018-08-09 19:39:01 +09:00
subhransu mohanty
43b23f4802 lottie/resource: add more lottie resource.
Change-Id: Ife04ca8de9da22e1188b73aa550aae9df4d262de
2018-08-09 18:06:05 +09:00
subhransu mohanty
cf784388d0 lottie/player: Update dirty flag enum value.
Change-Id: I590ac039ca84c6f9b553db017188821ead852abb
2018-08-09 18:03:53 +09:00
subhransu mohanty
12c88ff4b0 lottie: few more resource for testing.
Change-Id: I11c1bd4d87ca79416698a9f9b6ba9b68d859892d
2018-08-09 04:44:31 +00:00
subhransu mohanty
7f7cde6b30 lottie/render: Draw layers form back to front in the composition layer.
Change-Id: I41c0aedef7cc76e768c6d4776f7a29b3b1cab474
2018-08-09 02:33:10 +00:00
subhransu mohanty
b4bdebb2d0 lottie: added new resource for testing.
Change-Id: I0050594833dfabf8f3d724d1da1636e2a18e735f
2018-08-09 10:29:00 +09:00
subhransu mohanty
123f76e7ed lottie/player: take buffer argument by value.
As we have async rendering, we can't rely on the caller to keep the buffer alive till render finish.

Change-Id: Ic7f9670a5e5003424c2b695c171a13717e531b21
2018-08-09 10:10:44 +09:00
subhransu mohanty
de6d53632b lottie/player: make sure model or composition available before calling api.
Change-Id: Ia1351bbd076d0e3189d033f708bd3ec281c30cd4
2018-08-09 09:59:05 +09:00
subhransu mohanty
d424320bd4 lottie/vector: added isEmpty() api in size class.
Change-Id: Ia49254b2d83c047d268ff7510c058c6b25873564
2018-08-09 09:51:43 +09:00
subhransu mohanty
0a7ca8137c lottie/render : fixed dash regression
Change-Id: I7a79295348ba23d8328718014a49760c2e11e731
2018-08-08 14:14:19 +09:00
subhransu mohanty
13966ac8c4 lottie/vector: fixed dasher issue.
Change-Id: If602ac7441469c5ed8bfe0500154a585087f433f
2018-08-08 13:57:39 +09:00
Grishka
529a3bf14f 2.2.2: more fixes
- Probable fix for a mysterious crash in WASAPI
- Hopefully fixes telegramdesktop/tdesktop/4219 by setting PA stream role and bypassing filters
- Outgoing packet queue now uses Buffer instead of BufferPool
2018-08-07 23:10:31 +03:00
Adlai Holler
03e6ce0916 Reduce copying in ASTextNode2 stack (#1065)
* Remove copying in text stack, make text container have an optional immutable mode

* Changelog

* Comment

* Update CHANGELOG.md

* Use new name

* Import header
2018-08-07 08:32:43 -07:00
Peter
9322699a38 no message 2018-08-07 14:03:57 +03:00
Peter
da464a3286 Current network type detection
Small changes in Postbox API
2018-08-07 14:02:38 +03:00
Peter
3dc988b927 Fixed an edge case in message history index initialization 2018-08-07 14:01:15 +03:00
subhransu mohanty
62b1cea9e3 lottie/vector: refactored VRle class to use cow_ptr.
Change-Id: I00dd76c57e94a255efb478a61465ce6b20e8d0b5
2018-08-07 04:35:36 +00:00
subhransu mohanty
92c363da42 lottie/render: Implement drawRle() with position information.
Change-Id: Ia5bbcf911baaaa4b684045a6ac28c4dcfc14f841
2018-08-06 10:25:41 +09:00
Adlai Holler
2bb216b02e Readability improvements in ASDataController #trivial (#1067) 2018-08-05 17:24:13 -07:00
Michael Schneider
847884a7b4 Add NS_DESIGNATED_INITIALIZER to ASViewController initWithNode: (#1054)
* Add NS_DESIGNATED_INITIALIZER to ASViewController initWithNode:

* Add changelog
2018-08-05 08:20:20 -07:00
Adlai Holler
b136e84b4e Add an experimental framesetter cache in ASTextNode2 (#1063)
* Add an experimental framesetter cache in ASTextNode2, and stop keeping framesetters around

* Update configuration schema

* Fix imports

* Fix import again and remove set statement
2018-08-04 07:33:53 -07:00
Adlai Holler
c5b1d09b49 Remove direct ivar access on non-self object to fix mocking case #trivial (#1066)
* Remove direct ivar access on non-self object to prevent issues when the object is actually a mock

* Comment

* Remove lock to avoid deadlock risk
2018-08-03 16:35:24 -07:00
Peter
ab261ecbc7 no message 2018-08-03 23:23:02 +03:00
Peter
4a80fec8b0 no message 2018-08-03 23:22:39 +03:00
Peter
f751e22384 no message 2018-08-03 23:21:57 +03:00
Peter
f5e4c97558 no message 2018-08-03 23:21:37 +03:00
Peter
4dbe6818f0 Merge commit '97089527f579a9f99fb207ba56420ce7ad4f2b34' 2018-08-03 23:21:13 +03:00
Peter
2f2ad75a6b no message 2018-08-03 23:17:47 +03:00
Peter
eea5853ef1 no message 2018-08-03 23:17:28 +03:00
Peter
c1af1a2787 Merge commit 'e233443e4b53fb25a9f7f8a582cfa35e53a9c417'
# Conflicts:
#	Source/ASImageNode.h
#	Source/ASMultiplexImageNode.h
#	Source/Base/ASAssert.m
2018-08-03 23:16:40 +03:00
Adlai Holler
40e3bf8952 Remove objc association & weak proxy from node -> controller pointer (#1061)
* Remove objc association & weak proxy from node -> controller relationship

* Rename ASNodeController+Beta.m to ASNodeControllerx+Beta.mm

Currently we can't import ASDisplayNodeInternal from C

* Update project pointers

* Rename ASNodeControllerx+Beta.mm to ASNodeController+Beta.mm
2018-08-03 10:24:37 -07:00
Adlai Holler
e76b4f02f6 Remove extra string/attributed string creation in accessibility properties (#1062) 2018-08-03 10:23:05 -07:00
Grishka
3334409ac7 2.2.1: bug fixes 2018-08-03 17:26:00 +03:00
Youngbok Shin
296534e3c0 lottie/render: don't redraw stroke/dash if there is no change
It will improve performance.

Change-Id: I3764d126d7eae19d009d72998247789e620205a1
2018-08-03 08:55:34 +00:00
Youngbok Shin
10cb2bda92 lottie: don't redraw path item if its properties are not changed
A path item has few animation frames, it has to be redrawn only in
animated frames. If the path item became static after animation frames,
it shouldn't redraw its path.
It will improve performance.

Change-Id: I583f2b8a889208a07530f6d06ed90469bcee726c
2018-08-03 08:48:32 +00:00