Cheng-Shiun Tsai [Thu, 9 Jul 2020 15:58:07 +0000 (16:58 +0100)]
Dali::Vector<char> used as file buffer container
dali-adator file reader uses Dali::Vector<char,true> as the container for data buffer.
However, Dali::Vector::Resize always initialize the element by doing PushBack().
Considering now you need to read a file of 1MB,
Resize() would lead to PushBack() of one byte X one million times,
so that it becomes a vector of 1MB, this is unnecessary waste of CPU time.
We need another method which simply allocates the buffer without initialize the value.
It will help use cases such as MCD Avatar3D / AREmoji where there are a lot of resource files
Change-Id: I03eb723142799cc9ae0f71bc1b35036e1b21cc81
Adeel Kazmi [Tue, 25 Aug 2020 18:25:21 +0000 (18:25 +0000)]
Merge "Renaming PropertyBuffer to VertexBuffer" into devel/master
Adeel Kazmi [Tue, 25 Aug 2020 17:24:41 +0000 (17:24 +0000)]
Merge "KeyEvent class pimpling" into devel/master
David Steele [Mon, 24 Aug 2020 15:08:50 +0000 (16:08 +0100)]
Renaming PropertyBuffer to VertexBuffer
Change-Id: I1d00165182d979795629c900400c236c49db3027
Adeel Kazmi [Tue, 25 Aug 2020 15:59:08 +0000 (15:59 +0000)]
Merge "Changed Animation API enums to uppercase." into devel/master
Richard Huang [Tue, 25 Aug 2020 09:33:01 +0000 (10:33 +0100)]
KeyEvent class pimpling
Change-Id: I459ad95131f7e6cf650bfae8b6b98d9ec934032d
David Steele [Fri, 21 Aug 2020 13:37:29 +0000 (14:37 +0100)]
Migrating Handle devel-api to public-api
Change-Id: If2e537646fbcb60149eaa3213e061d836a70e448
Signed-off-by: David Steele <david.steele@samsung.com>
adam.b [Mon, 24 Aug 2020 14:04:59 +0000 (15:04 +0100)]
Changed Animation API enums to uppercase.
Change-Id: I8e755ab1c320d5e8328000cadbd7f2efc5a8c561
David Steele [Thu, 21 Apr 2016 15:47:04 +0000 (16:47 +0100)]
Added terse syntax for Get/Set Property
Added an IndirectValue which enables the setting and getting of property values
using the following syntax:
actor["color"] = Color::BLACK;
AngleAxis orientation = actor[Actor::Property::ORIENTATION];
Change-Id: I01088e5d7011a0b74bda1bf5a5f0f226c85a115c
Signed-off-by: David Steele <david.steele@samsung.com>
György Straub [Fri, 21 Aug 2020 07:51:54 +0000 (08:51 +0100)]
DALi Version 1.9.26
Change-Id: If87a7ffef1b00cb31a0b47c5efa75570fe7781ee
Adeel Kazmi [Tue, 18 Aug 2020 18:31:59 +0000 (19:31 +0100)]
Changed minimum supported Cmake Version to allow C++17 Support
Change-Id: Ieb2bc95af08955737f6477ba99a1edf8f5ef9333
Richard Huang [Tue, 18 Aug 2020 17:06:06 +0000 (18:06 +0100)]
WheelEvent class pimpling
Change-Id: I6cd78c380d0231dd688941fec1f2be428203ccd0
Adeel Kazmi [Wed, 19 Aug 2020 11:20:28 +0000 (11:20 +0000)]
Merge "Change to C++14 Support" into devel/master
Adeel Kazmi [Tue, 18 Aug 2020 17:49:10 +0000 (18:49 +0100)]
Change to C++14 Support
Change-Id: I50332a77cdb85e2f6a4458865762c451f94493b5
Adeel Kazmi [Tue, 18 Aug 2020 12:43:58 +0000 (13:43 +0100)]
(Automated Tests) Added several negative test cases
Change-Id: Id07259f551f6095d7d95bd8447375935587c2605
Adeel Kazmi [Fri, 14 Aug 2020 10:49:49 +0000 (11:49 +0100)]
Renamed TouchData to TouchEvent
Change-Id: I89458424fc73f0eb29fdfe2b525fd075a6b502bf
Victor Cebollada [Mon, 17 Aug 2020 07:38:28 +0000 (08:38 +0100)]
Fixes HoverEvent struct/class forward declarations.
* Fixes the warning
* Fixes the link fail for MS Visual Studio.
Change-Id: I3147360500ca7c4ed122c4a569e8c541ebb98183
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
greynaga [Fri, 14 Aug 2020 10:38:31 +0000 (11:38 +0100)]
DALi Version 1.9.25
Change-Id: I91cecaacf42b7b83bce31605efc818b9aff21174
David Steele [Thu, 13 Aug 2020 16:59:30 +0000 (16:59 +0000)]
Merge "Removed TouchEvent from actor & stage" into devel/master
David Steele [Mon, 10 Aug 2020 17:47:53 +0000 (18:47 +0100)]
Removed TouchEvent from actor & stage
TouchEvent has been deprecated for over 2 versions, now time
to remove it.
Change-Id: I6d4891766b69a7faeeccf340e1de75a4ef329aee
Richard Huang [Wed, 12 Aug 2020 13:34:02 +0000 (14:34 +0100)]
HoverEvent class pimpling
Change-Id: Ie9e8d3fd4966afd5e966a82d7bf5e108cfa15497
Adeel Kazmi [Mon, 10 Aug 2020 17:36:31 +0000 (18:36 +0100)]
Ensure we do not destroy GestureRecognizers while we are still processing them
Change-Id: I0711d8664d84a931926cba1807ebac9a9e9389fc
Adeel Kazmi [Tue, 11 Aug 2020 11:56:53 +0000 (11:56 +0000)]
Merge "Make Dali::Vector movable & add use Modern C++ semantics on public & devel classes" into devel/master
Adeel Kazmi [Mon, 10 Aug 2020 16:57:37 +0000 (17:57 +0100)]
Make Dali::Vector movable & add use Modern C++ semantics on public & devel classes
Change-Id: Idf04221c2700728d81510036da5013d3253419bf
Victor Cebollada [Mon, 10 Aug 2020 08:09:23 +0000 (09:09 +0100)]
Specified C++17 standard for the CMake projects.
Change-Id: I87360040005b919a745af39c97703315e5d071b4
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
David Steele [Fri, 7 Aug 2020 14:41:49 +0000 (15:41 +0100)]
DALi Version 1.9.24
Change-Id: Ifc5e456f0a38ac6b3cf003efe1e6f4a111053041
Adeel Kazmi [Wed, 5 Aug 2020 12:40:30 +0000 (13:40 +0100)]
Remove DALI_COMPILE_TIME_ASSERT macro (use static_assert instead)
Change-Id: If300adf97de686e9b65fa9ed97b5600c8109b5c1
Adeel Kazmi [Wed, 5 Aug 2020 11:07:44 +0000 (12:07 +0100)]
Remove unused loading state header
Change-Id: Ib9ceeeff9c2dcbc0ae6bd8e9ffa424f3d37e4911
Adeel Kazmi [Tue, 4 Aug 2020 16:56:08 +0000 (16:56 +0000)]
Merge "Rename OnStage signals and related internal changes" into devel/master
Richard Huang [Tue, 4 Aug 2020 11:10:16 +0000 (12:10 +0100)]
Rename OnStage signals and related internal changes
Change-Id: I2eeedf87595bede585179a6643c02bc70dd80e69
Joogab Yun [Tue, 4 Aug 2020 01:42:44 +0000 (10:42 +0900)]
add mCaptureAllTouchAfterStart initial value.
Change-Id: I03270db9d4cdec4d2df7c9cf82f5fea268652687
David Steele [Fri, 31 Jul 2020 10:23:39 +0000 (10:23 +0000)]
Merge "DALi Version 1.9.23" into devel/master
Cheng-Shiun Tsai [Fri, 31 Jul 2020 10:10:30 +0000 (11:10 +0100)]
DALi Version 1.9.23
Change-Id: I5434fdd9301143747fff8303efdf5046ec802680
Heeyong Song [Fri, 31 Jul 2020 00:11:53 +0000 (00:11 +0000)]
Merge "Change the timing of Context::GlContextCreated()" into devel/master
Adeel Kazmi [Thu, 30 Jul 2020 16:41:08 +0000 (16:41 +0000)]
Merge "Change copy constructor and copy assignment in common classes to use the default implementation" into devel/master
Adeel Kazmi [Thu, 30 Jul 2020 16:40:57 +0000 (16:40 +0000)]
Merge "Use touch consumed return to set whether we process a gesture or not" into devel/master
Richard Huang [Thu, 30 Jul 2020 13:30:24 +0000 (14:30 +0100)]
Change copy constructor and copy assignment in common classes to use the default implementation
Change-Id: I4bba8268b159fbf032bedc8120286e481d9820ca
Heeyong Song [Wed, 29 Jul 2020 23:50:06 +0000 (23:50 +0000)]
Merge "Fix memory leak" into devel/master
Heeyong Song [Wed, 29 Jul 2020 23:49:49 +0000 (23:49 +0000)]
Merge "Fix mGestureRecognizer leak" into devel/master
Adeel Kazmi [Mon, 20 Jul 2020 17:39:10 +0000 (18:39 +0100)]
Use touch consumed return to set whether we process a gesture or not
Change-Id: I386caa5819a68b5d98d3ef8860b492b516c174d1
David Steele [Wed, 29 Jul 2020 13:04:18 +0000 (14:04 +0100)]
Added test for assigning nullptr to IntrusivePtr
Change-Id: Ice44376754d9aa686b8e3f724655dec85c74c6a1
Heeyong Song [Wed, 29 Jul 2020 06:41:45 +0000 (15:41 +0900)]
Change the timing of Context::GlContextCreated()
It should be called after eglMakeCurrent().
Change-Id: I88e06e443ee50c24dbfdc2a45beea66af7a1c53c
Heeyong Song [Wed, 29 Jul 2020 04:25:21 +0000 (13:25 +0900)]
Fix memory leak
Timers are not deleted in some cases
Change-Id: I06c4ba95f8d42695b1d5922793f1761824004b9d
Heeyong Song [Wed, 29 Jul 2020 02:26:06 +0000 (11:26 +0900)]
Fix mGestureRecognizer leak
IntrusivePtr::Detach doesn't decrease the reference count. So mGestureRecognizer isn't deleted.
Change-Id: Id923e1be0e2646a74c70ec998b2fcab95641035d
Heeyong Song [Tue, 28 Jul 2020 08:01:23 +0000 (17:01 +0900)]
Change ownership of Context from Scene to RenderManager
Change-Id: Idf787e1a582d111e29b92a02a23bd06512c22609
Heeyong Song [Tue, 28 Jul 2020 07:55:08 +0000 (16:55 +0900)]
Fix memory leak of WeakHandle
Change-Id: I8ff5143396df74dd37a86f269e6688b9c627489c
Heeyong Song [Tue, 28 Jul 2020 01:54:31 +0000 (10:54 +0900)]
Remove context from RenderInstruction
Change-Id: I19f43c7728e2d3a59d2bdc74ca7d697f110e53dd
Adeel Kazmi [Mon, 27 Jul 2020 16:32:12 +0000 (16:32 +0000)]
Merge "Add move semantics for IntrusivePtr" into devel/master
Adeel Kazmi [Mon, 27 Jul 2020 15:13:07 +0000 (15:13 +0000)]
Merge "Fix incorrect Dali::Scene comment in actor.h" into devel/master
Richard Huang [Fri, 24 Jul 2020 15:36:48 +0000 (16:36 +0100)]
Add move semantics for IntrusivePtr
Change-Id: I11b2975cc40710eee0277a059cc9882e378b5546
Adeel Kazmi [Mon, 27 Jul 2020 11:00:19 +0000 (12:00 +0100)]
Fix incorrect Dali::Scene comment in actor.h
Change-Id: Ie7008469672ee88bd7eda8213fc348f678067296
Heeyong Song [Mon, 27 Jul 2020 00:21:39 +0000 (00:21 +0000)]
Merge "Fix PropertyNotification issue" into devel/master
Adeel Kazmi [Fri, 24 Jul 2020 15:40:18 +0000 (16:40 +0100)]
Correct property type for DevelActor::Property::CAPTURE_ALL_TOUCH_AFTER_START
Change-Id: I1cfb0c348a968cca772556c9db86f7adc6f6b629
Adeel Kazmi [Fri, 24 Jul 2020 15:38:49 +0000 (15:38 +0000)]
Merge changes I1eb87265,I98fa1da7 into devel/master
* changes:
Added draw command support to the Renderer.
AddOn support
Adeel Kazmi [Fri, 24 Jul 2020 11:58:45 +0000 (11:58 +0000)]
Merge "Refactored NativeImageInterfaceExtension into NativeImageInterface" into devel/master
adam.b [Thu, 16 Jul 2020 11:30:56 +0000 (12:30 +0100)]
Added draw command support to the Renderer.
DrawCommand allows to execute multiple draw calls from a single renderer
Change-Id: I1eb872651543173e27564d375b477047e6fb253e
adam.b [Fri, 24 Jul 2020 11:42:51 +0000 (12:42 +0100)]
AddOn support
Added devel-api to make use of addons easier
Change-Id: I98fa1da7cdfae7e101d53f5f3b9b3ca1806cba00
Richard Huang [Fri, 24 Jul 2020 09:48:06 +0000 (10:48 +0100)]
DALi Version 1.9.22
Change-Id: I1abfe5c345dafd9dbd861c47e8d0139fb019b5e7
David Steele [Fri, 10 Jul 2020 16:27:25 +0000 (17:27 +0100)]
Refactored NativeImageInterfaceExtension into NativeImageInterface
Migrated the APIs from NativeImageInterfaceExtension into the base interface
Changed APIs to remove references to GL.
Added 2 new APIs used for Vulkan implementation for future use.
Change-Id: I26a41d4494e74dc2410bf9260a134202f5cbefd0
Signed-off-by: David Steele <david.steele@samsung.com>
Heeyong Song [Fri, 24 Jul 2020 08:03:57 +0000 (17:03 +0900)]
Fix PropertyNotification issue
Consider step value for Vector3 type
Use the vector length intead of LengthSquared
Change-Id: Iff9a2b2d853a7ad42a7639e7862f2aa64e934b44
Richard Huang [Thu, 23 Jul 2020 08:46:20 +0000 (09:46 +0100)]
Add move semantics to commonly used classes in dali-core
Change-Id: I8f3fc7ea426cc8e431b3675bd90360e5ef2e27c8
Adeel Kazmi [Fri, 3 Jul 2020 17:03:35 +0000 (18:03 +0100)]
Add property which allows touch-down actor to continuously receive touch
Change-Id: Ie1c1cb38a0a8c3b3dc16ef711c65893d4b841df9
adam.b [Fri, 17 Jul 2020 12:11:49 +0000 (13:11 +0100)]
DALi Version 1.9.21
Change-Id: I6fbe059988deabce36913f2648602d0e82db21be
Adeel Kazmi [Tue, 14 Jul 2020 20:43:23 +0000 (21:43 +0100)]
Move Stage to Devel API
Change-Id: I107956311226514865679764fd1cf5ae42ad64e8
Wander Lairson Costa [Mon, 13 Jul 2020 18:53:50 +0000 (15:53 -0300)]
windows: Fix .pdb debug symbol file installation
On Windows, the pdb symbol file is located inside the `Debug`
subdirectory.
Change-Id: Ifa89d827e225e8c30c442291b8109b89662f8aad
Adeel Kazmi [Wed, 15 Jul 2020 10:41:04 +0000 (10:41 +0000)]
Merge "Add method to get ObjectRegistry from Core" into devel/master
Adeel Kazmi [Tue, 14 Jul 2020 13:45:57 +0000 (14:45 +0100)]
Add method to get ObjectRegistry from Core
Change-Id: I1ed1c5772e74ffac27e149f81f238a83cf5531c0
Richard Huang [Tue, 14 Jul 2020 13:30:52 +0000 (14:30 +0100)]
c++17 move operators etc. for the Math classes
Change-Id: I78cb6e6a3435a05deefe327a3fdf0d37f14a2ede
Adeel Kazmi [Fri, 10 Jul 2020 22:26:22 +0000 (23:26 +0100)]
(Automated Tests) Use Scene instead of Stage where possible
Change-Id: I88e987866d10b71b9ae7d80fbc13929d28324f3c
Adeel Kazmi [Wed, 8 Jul 2020 17:10:24 +0000 (18:10 +0100)]
(Vector2) Add a Uint16Pair constructor
Change-Id: Icb1380d889d12369c040ba67fbe741f39233abe6
Adeel Kazmi [Fri, 10 Jul 2020 08:38:25 +0000 (09:38 +0100)]
DALi Version 1.9.20
Change-Id: Ia702a14a034ef2fcf5f5eb2a824203b64f8eb30e
Richard Huang [Wed, 8 Jul 2020 16:30:57 +0000 (17:30 +0100)]
Support weak handle for BaseHandle
Change-Id: I68bab2435d30c44cd1bf2c4457f3cfb92e0bb68e
Heeyong Song [Tue, 7 Jul 2020 04:54:24 +0000 (04:54 +0000)]
Merge "(Scene) Add frame rendered/presented callback" into devel/master
Seungho BAEK [Mon, 6 Jul 2020 08:10:39 +0000 (08:10 +0000)]
Merge "Add comments in the rect.h" into devel/master
Heeyong Song [Mon, 15 Jun 2020 07:35:01 +0000 (16:35 +0900)]
(Scene) Add frame rendered/presented callback
Change-Id: Ic903229e71d76a05a0af24a68b26440d26462fa6
Heeyong Song [Tue, 30 Jun 2020 05:51:07 +0000 (14:51 +0900)]
(Partial update) The color property should be checked
Change-Id: If9f649a2312dd39fa6709b82a0e16292de23560b
Adeel Kazmi [Fri, 3 Jul 2020 10:58:34 +0000 (10:58 +0000)]
Merge "Remove non-touch related deprecated APIs" into devel/master
Victor Cebollada [Fri, 3 Jul 2020 08:51:13 +0000 (09:51 +0100)]
DALi Version 1.9.19
Change-Id: I61798bc5a4407d2462d2a7d89b47409e7fe526ca
Richard Huang [Thu, 2 Jul 2020 09:51:41 +0000 (10:51 +0100)]
Remove non-touch related deprecated APIs
Change-Id: I2fc0c3b4745b465c75b2785b069faa918fd4dcdb
Seungho, Baek [Thu, 2 Jul 2020 01:47:01 +0000 (10:47 +0900)]
Add comments in the rect.h
- Add @SINCE tag at the IsValid, Intersect, Merge, and Inset
- Add @return comment at the Intersect
Change-Id: I20943e1bdd448f40b75b133b0b3d816cbd7a15bc
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
Adeel Kazmi [Tue, 30 Jun 2020 13:09:05 +0000 (14:09 +0100)]
Fix SVACE error in PropertyOwner
Change-Id: I290728eb77d4b01cd418564dfcd1e12f3a6ce75e
György Straub [Fri, 26 Jun 2020 08:09:05 +0000 (09:09 +0100)]
DALi Version 1.9.18
Change-Id: I60b769e32124788f31d7726d9f82d601a74f2ab9
Seungho, Baek [Wed, 17 Jun 2020 02:17:15 +0000 (11:17 +0900)]
Support WebP format
- Add webp and libwebp-dev library on dali-env
- Webp animation requires WEBP_DEMUX_ABI_VERSION 0x0107 or later
Change-Id: I03d9adb70439b06bd6c47022b14913169e4881cd
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
Victor Cebollada [Mon, 22 Jun 2020 14:01:28 +0000 (15:01 +0100)]
Fix MS Windows compile error.
* _Hash_bytes() function added for the Win32 implementation.
Change-Id: I779a493805e8e1a083c7f3d92c1cbf6a3d13d7ed
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Anton Obzhirov [Tue, 14 Apr 2020 14:59:45 +0000 (15:59 +0100)]
Partial update implementation, first phase.
Change-Id: I7d2a70c747247c057af6d00d8c147594bf6c7a3d
greynaga [Fri, 19 Jun 2020 11:02:39 +0000 (12:02 +0100)]
DALi Version 1.9.17
Change-Id: Ie2793c7fdbe8ebe3124a0d62f758714806658fbc
Adeel Kazmi [Wed, 17 Jun 2020 21:15:25 +0000 (22:15 +0100)]
Remove Image & ResourceImage
Change-Id: I7d485c47641bbb8efbae58968bbdd636badfedcf
Adeel Kazmi [Wed, 17 Jun 2020 10:59:43 +0000 (11:59 +0100)]
Remove FrameBufferImage
Change-Id: I30e53af40c6cf5c43d36ba7af4e1acffe37fdd82
Adeel Kazmi [Wed, 17 Jun 2020 10:54:24 +0000 (10:54 +0000)]
Merge "Remove Actor::OnStage public API" into devel/master
Richard Huang [Wed, 17 Jun 2020 10:11:46 +0000 (11:11 +0100)]
Remove Actor::OnStage public API
Change-Id: I52c0db4981a2faefd6ba10443b5f0156933a00ac
Adeel Kazmi [Wed, 17 Jun 2020 09:24:34 +0000 (09:24 +0000)]
Merge "Replace some Dali::Actor public APIs with new properties" into devel/master
Richard Huang [Tue, 16 Jun 2020 11:11:50 +0000 (12:11 +0100)]
Replace some Dali::Actor public APIs with new properties
Change-Id: I84865a0f1050abfb5f89dd8b05fd91c0736a4243
Adeel Kazmi [Tue, 16 Jun 2020 14:07:22 +0000 (15:07 +0100)]
Remove NativeImage
Change-Id: Ia2f92c5eb0365733d4a63709333c465e03e6c1d1
Heeyong Song [Mon, 8 Jun 2020 08:39:43 +0000 (17:39 +0900)]
Always throw an exception in GetEventThreadServices() if the Core is not running
Change-Id: If6e77e7b61ba02319a39079c6619682d5bffd4a8
Adeel Kazmi [Fri, 12 Jun 2020 16:57:06 +0000 (17:57 +0100)]
BufferImage Removal
Change-Id: Ib7daba0bd04cdcbb850488f23746f1ae85d055ad
Adeel Kazmi [Fri, 12 Jun 2020 15:36:49 +0000 (16:36 +0100)]
(Scripting) Remove Image class Usage
Change-Id: I71b7b14762a1bc3bdae106b55642c62160d4d088
Cheng-Shiun Tsai [Fri, 12 Jun 2020 09:06:51 +0000 (10:06 +0100)]
DALi Version 1.9.16
Change-Id: I162e0ba7519c218799ee5ee1d95510e947055647
Richard Huang [Wed, 10 Jun 2020 12:49:27 +0000 (13:49 +0100)]
Remove Setter/Getter public APIs from Dali::Layer
Change-Id: Ic256f62b5488ee271802ff24aeaac1283c1d4634
Adeel Kazmi [Tue, 9 Jun 2020 21:00:10 +0000 (22:00 +0100)]
(AutomatedTests) Remove most BufferImage Usage
Change-Id: I83bf923e1a85e917d34e8e28801dd7a90de89a98
Adeel Kazmi [Mon, 8 Jun 2020 16:42:27 +0000 (17:42 +0100)]
Remove NinePatchImage
Change-Id: Ifb13537311981d83b8dc18078b2e857e1dd13188