Commit Graph

25012 Commits

Author SHA1 Message Date
subhransu mohanty
e62f74b624 lottie/render: Use AlignCenter rule when the composition dosen't scale exactly to the requested size.
Change-Id: Ibd8aa929186104378287b65785afbc799cad0e04
2018-07-27 14:51:58 +09:00
subhransu mohanty
792cd0d5f5 lttie/example: fixed layouting issue.
Change-Id: Id6ac76f9e4161321252e32a7a4484f69d130c04f
2018-07-27 12:48:53 +09:00
subhransu mohanty
1c62266e43 lottie/render: Move drawable class to vector.
Change-Id: I4cb296e7a1d86b5215ab191b4306514d3fcdeacf
2018-07-27 11:09:13 +09:00
subhransu mohanty
8b77e6ce93 lottie/vector: refactor vmatrix class as a POD class because memory allocation is showing up in profiling.
Change-Id: Ib86e8e3766faa1f8e43e3b21b356d16adf3c9cab
2018-07-27 10:10:43 +09:00
Michael Schneider
eb4c21c545 Optimize drawing code + add examples how to round corners (#996)
* Use CoreGraphics for drawing and cropping of node content

* Smaller fixes
2018-07-26 09:44:10 -07:00
subhransu mohanty
6f5a77fa45 lottie/optimization: reduce temporary object by calling *= operator.
Change-Id: I9a5273a81cdad0ac78edf6a6564cfb6965884311
2018-07-26 18:29:33 +09:00
subhransu mohanty
f0fc4f8c3b lottie/render: fixed meter join type rendering issue.
Change-Id: Ie32e60b0d613a5ca7b68176d7f8cc0859aa0f315
2018-07-26 13:10:36 +09:00
subhransu mohanty
c4aea88044 lottie/optimization: added reserve() on lottieshapeData to optimize memory allocation
Change-Id: Ic41d90a4463b54c47d3f39fa72bb09d5ddbc47f0
2018-07-26 12:46:07 +09:00
subhransu mohanty
6d5d456d0f lottie/optimization: reserve() memory ahead before calling path api
to optimize the number of allocation.

Change-Id: Iab0b8db715c868de0a0f4a0c688421cc11be4b01
2018-07-26 11:30:18 +09:00
subhransu mohanty
f6658ae623 lottie/vector: update reserve() api in vpath
Change-Id: Ib43afa96a0c1a7764dd410ea1e7f01019f592d6d
2018-07-26 11:11:28 +09:00
subhransu mohanty
f35ca73d48 lottie/optimization: Refactored to reduced number of allocation per task.
Change-Id: I380e0b6c720c698e84e9d157678c8abf6ac83191
2018-07-26 10:47:27 +09:00
subhransu mohanty
8aaeff98a3 lottie: updated library dependancy to c++14
Change-Id: I6262065f30393830ea5192d0f549491f2c42677e
2018-07-26 09:43:36 +09:00
subhransu mohanty
7b4f8a44be lottie: support library version in cmake build system.
Change-Id: I494a29cc02ddd5dbba6014f08d27f11da62ecfb3
2018-07-26 09:33:20 +09:00
Michael Schneider
4880b54db0 Add documentation for rounding corners within Texture (#1044) 2018-07-25 14:08:48 -07:00
subhransu mohanty
a34f172479 lottie: Support tizen gbs build .
Change-Id: I516206ba3cc83d80770888b1d1c21e37780c3e45
2018-07-25 19:24:53 +09:00
subhransu mohanty
970dd83735 lottie: add pc file for lottie player
Change-Id: Ic44b84b756b0ae7939a016cddd1e51eec7d3a3bc
2018-07-25 19:24:27 +09:00
subhransu mohanty
d39ce3f62f lottie: added cmake build system for lottie
Change-Id: I8e03709ae668bc221c4ec936317cf579d326876f
2018-07-25 16:55:40 +09:00
Max Wang
905c582497 Background image load api (#1007)
* fix SIMULATE_WEB_RESPONSE not imported #449

* Fix to make rangeMode update in right time

* remove uncessary assert

* add api to allow delegated calls in background.

* fix typo

* 1. Add class property to decide whether to send delegate callbacks on
main or background.
2. remove non-info api.

* Refactor.

* add ivar for class property.

* Donot use extra api.

* Refactor

* refactor

* revert to use let

* refactor

* make class property atomic.

* kick of new ci test.

* kick off new ci
2018-07-24 15:57:59 -07:00
Huy Nguyen
95de2ab126 Avoid setting frame on the backing store while holding a node's lock (#1048)
Doing so may trigger `-layer:didChangeBoundsWithOldValue:newValue:` on the layer's delegate (i.e `ASCALayerExtendedDelegate`) which then runs other operations that require the lock to be free.
2018-07-24 15:03:47 -07:00
Kevin
b2eb58e9f2 Remove misleading comment and add assertion #trivial (#1027) 2018-07-24 09:15:31 -07:00
Kevin
1beeb9c5e6 Add a comment about tiling mode and issue #1046 (#1047) 2018-07-24 09:13:23 -07:00
subhransu mohanty
85a5463cc0 lottie/vector: refactor vraster to optimize number of memory allocation.
Change-Id: I55ffb29d9a039a458830200a56ff3a6a057ff361
2018-07-24 09:12:13 +00:00
Youngbok Shin
d0a08aadc8 lottie/vector: change addPolystar* method to addPolystar/addPolygon
It also move its implemented code to VPath::VPathData from VPath.

Change-Id: Idc6f04e04930f1863bb78fd1a05ba86c573e328b
2018-07-24 18:00:25 +09:00
subhransu mohanty
9626223abd lottie/vector: use callback version of intersect() for performance.
Change-Id: I194f1da65b766e59c4c5230040b8a329a39fa95b
2018-07-24 08:01:58 +00:00
subhransu mohanty
ea4c4bd5c0 lottie/vector: avoid copy-elision by using move on temporary object.
Change-Id: I6b54951dab7d15966760d5ec682d151e9745da63
2018-07-24 06:15:55 +00:00
subhransu mohanty
3475625b38 lottie/vector: Implement intersect function with callback.
Change-Id: I8d5e3be9d4a77c246ef174e716c22c8766fc82a1
2018-07-24 06:15:10 +00:00
sub.mohanty@samsung.com
5f556cf0d5 lottie: give a make_unique wrapper till we move to c++14
Change-Id: I09061f807f6bf9ad5eea631f206d89705e3ae1bc
2018-07-24 06:11:43 +00:00
subhransu mohanty
84c0411929 lottie/vector: refactor vpath class to use vcow_ptr
Change-Id: Ib16da52a8a97bbee87766ee362e1d6e5678ac305
2018-07-23 05:39:43 +00:00
subhransu mohanty
8c20000b08 lottie/vector: added cow_ptr class to support copy_on_write class in vector.
Change-Id: I485637da44d44ce473dc760aaf484b0377bdcda1
2018-07-23 05:39:01 +00:00
Peter
07fc80ef3a no message 2018-07-21 21:31:48 +03:00
Peter
152d25f4ff no message 2018-07-21 21:31:04 +03:00
Peter
749db46e69 no message 2018-07-21 21:27:57 +03:00
Peter
26fd19a7c0 Merge branch 'master' of https://github.com/TextureGroup/Texture
# Conflicts:
#	Source/ASDisplayNode.h
#	Source/ASDisplayNode.mm
#	Source/ASDisplayNodeExtras.h
#	Source/ASImageNode.h
#	Source/Private/ASBatchFetching.h
2018-07-21 21:13:16 +03:00
Michael Schneider
d9d5b12475 Improve locking situation in ASVideoPlayerNode (#1042)
* Improve locking in ASVideoPlayerNode

* Address comments
2018-07-20 15:27:28 -07:00
Rasul Tataev
5fef6a17a6 Changed lost images to existing one. (#981)
New images taken from http://texturegroup.org/docs/automatic-layout-containers.html.
2018-07-20 15:19:23 -07:00
Flatout73
4b5b90f7a0 [ASTextNode] One more check variables before calling delegate method #trivial (#922) 2018-07-20 15:15:50 -07:00
Peter
c9d67629f0 Merge commit '39fe84064d0e985769b138a967d40ee304ad00fa' 2018-07-20 21:17:58 +03:00
Peter
32c4cc1b99 no message 2018-07-20 21:17:36 +03:00
overtake
673f5855ed Merge branch 'master' of https://github.com/peter-iakovlev/Signals 2018-07-20 17:57:09 +03:00
Ilya Laktyushin
0fbe8ab3a2 no message 2018-07-20 17:56:41 +03:00
Peter
bb0c514735 no message 2018-07-20 17:55:32 +03:00
overtake
f6965e93d1 Merge branch 'master' of https://github.com/peter-iakovlev/Signals 2018-07-20 17:55:23 +03:00
Peter
26a1164939 Merge branch 'master' into feature/secureid 2018-07-20 14:16:37 +03:00
Peter
1af33ce618 no message 2018-07-20 14:16:30 +03:00
Peter
92d81fb6fd Merge branch 'master' into feature/secureid 2018-07-20 14:08:34 +03:00
Peter
3b5b3c6671 no message 2018-07-20 14:08:24 +03:00
Peter
ca8d705b08 Merge branch 'feature/secureid' 2018-07-20 14:01:54 +03:00
Peter
d5f1cbc959 no message 2018-07-20 14:01:49 +03:00
Peter
07623e0d9d no message 2018-07-20 14:00:13 +03:00
Peter
7e5b5b4616 Merge branch 'master' into feature/secureid
# Conflicts:
#	TelegramCore/DeleteMessages.swift
2018-07-20 13:54:09 +03:00