Heeyong Song [Thu, 17 Sep 2020 23:36:37 +0000 (23:36 +0000)]
Merge "Fix texture bound cache issue" into devel/master
Adeel Kazmi [Thu, 17 Sep 2020 21:13:25 +0000 (21:13 +0000)]
Merge "Added API to apply native texture modification to shader" into devel/master
Heeyong Song [Wed, 16 Sep 2020 15:23:13 +0000 (00:23 +0900)]
Fix texture bound cache issue
ActiveTexture should be called if mActiveTextureUnit is different.
We don't need to check it in BindTextureForUnit().
And the mBoundTextureId should store ids per target.
Change-Id: I30d93784577a2ce261ef047f2ec36c6adb766b0a
Adeel Kazmi [Wed, 16 Sep 2020 17:44:36 +0000 (17:44 +0000)]
Merge "Fix AddUniformMapping() interface to take uniform name by value." into devel/master
Subhransu Mohanty [Tue, 1 Sep 2020 09:24:16 +0000 (18:24 +0900)]
Fix AddUniformMapping() interface to take uniform name by value.
this will avoid temporary string allocation.
Change-Id: I21e358150c3ac40496ae62c23562a77551e66acd
Subhransu Mohanty [Mon, 14 Sep 2020 01:00:34 +0000 (10:00 +0900)]
refactor PropertyMetadata table.
- keep string_view insted of const char* for performance.
- make both table constexpr so that we can sanity check during compile time.
Change-Id: I13a424b3f9c5fadd52ea02889ba6d687f8f41346
Heeyong Song [Mon, 14 Sep 2020 14:16:21 +0000 (14:16 +0000)]
Merge "Ensure animation is not played when an actor is not on scene" into devel/master
David Steele [Fri, 11 Sep 2020 16:20:47 +0000 (17:20 +0100)]
Added API to apply native texture modification to shader
If a given texture is using a Native Image, then update the shader
using the custom prefix and sampler from that NativeImage.
Change-Id: Ic94e5b6eb90ad453d9e7e288837964634f20a2db
Signed-off-by: David Steele <david.steele@samsung.com>
adam.b [Fri, 11 Sep 2020 11:56:15 +0000 (12:56 +0100)]
DALi Version 1.9.29
Change-Id: I971d9664063dc8f7a9c178735103c39fa64eb4ed
Heeyong Song [Fri, 11 Sep 2020 04:05:09 +0000 (13:05 +0900)]
Ensure animation is not played when an actor is not on scene
Change-Id: Iadfe60520ad14de6db2c1867bc6df223fa5bf10a
David Steele [Mon, 7 Sep 2020 14:10:54 +0000 (15:10 +0100)]
Formatting automated-tests
Change-Id: Ic0fd2e6eef75ad8af21511ba6b9383fa287009a4
David Steele [Wed, 9 Sep 2020 17:28:27 +0000 (18:28 +0100)]
Formatted API
Change-Id: I46852b09a374bb8115a2ce12959800f030e54c60
Subhransu Mohanty [Mon, 31 Aug 2020 02:08:43 +0000 (11:08 +0900)]
clang-format: added .clang-format with rules adhere to dali coding guidelines.
added ./format file which will apply the coding guideline to the latest commit at HEAD^ and
reformats the files if it violates Dali style guideline.
Change-Id: Ic265bdab2f43123eba72dd3317f2fda39248c2e4
Richard Huang [Thu, 10 Sep 2020 09:08:59 +0000 (10:08 +0100)]
Export Setter APIs in DevelKeyEvent
Change-Id: Id14c93d01b2cfad68ba2bb9a01b6fad457ab6231
György Straub [Wed, 9 Sep 2020 10:02:34 +0000 (11:02 +0100)]
Adding 'override', removing 'virtual' from overriding functions' declarations in tests.
Change-Id: I8954231725d60faf8caac222db73ebf7b5a4bfae
Signed-off-by: György Straub <g.straub@partner.samsung.com>
Adeel Kazmi [Tue, 8 Sep 2020 17:25:10 +0000 (17:25 +0000)]
Merge "Add devel api to create valid handle for Gesture classes" into devel/master
Adeel Kazmi [Tue, 8 Sep 2020 10:56:58 +0000 (10:56 +0000)]
Merge "Changed 'virtual' function override declarations to 'override' in automated-tests." into devel/master
Richard Huang [Tue, 8 Sep 2020 10:16:18 +0000 (11:16 +0100)]
Add devel api to create valid handle for Gesture classes
Change-Id: I63f180b330ad0da44f09ad0e323d89ec78101ae0
Adeel Kazmi [Tue, 8 Sep 2020 10:51:13 +0000 (10:51 +0000)]
Merge "Fix indenting" into devel/master
Adeel Kazmi [Tue, 8 Sep 2020 10:47:39 +0000 (10:47 +0000)]
Merge "use modern construct 'nullptr' instead of 'NULL' or '0'" into devel/master
Adeel Kazmi [Tue, 8 Sep 2020 10:30:30 +0000 (10:30 +0000)]
Merge "Add Integration API to Create public event type" into devel/master
Adeel Kazmi [Tue, 8 Sep 2020 09:57:21 +0000 (09:57 +0000)]
Merge "fix deep copy of the vector." into devel/master
Adeel Kazmi [Tue, 8 Sep 2020 09:49:52 +0000 (09:49 +0000)]
Merge "use modern construct 'override' in the derive class." into devel/master
Seungho BAEK [Tue, 8 Sep 2020 06:49:45 +0000 (06:49 +0000)]
Merge "Make Update() function of frame callback is called for every frame." into devel/master
Subhransu Mohanty [Tue, 8 Sep 2020 03:26:54 +0000 (12:26 +0900)]
fix deep copy of the vector.
as the function returns the vector by const& and our temporary
object dosen't match the return type we make a deep copy of the vector.
Change-Id: Ie402d85962b138ed08bf00cbb3a8453190b8f812
Subhransu Mohanty [Tue, 8 Sep 2020 01:47:59 +0000 (10:47 +0900)]
use modern construct 'nullptr' instead of 'NULL' or '0'
This patch is auto generated by clang-tidy with modernize-use-nullptr check.
Change-Id: Iafb79e884e79ec02ebdf32ea687f519aceb1f4dc
Subhransu Mohanty [Mon, 7 Sep 2020 00:14:01 +0000 (09:14 +0900)]
use modern construct 'override' in the derive class.
this patch is auto generated by clang-tidy with modernize-use-override.
Change-Id: Id2a6abb4a6ce9725bd870dc6a846e8cea33b37ae
Adeel Kazmi [Mon, 7 Sep 2020 15:52:57 +0000 (16:52 +0100)]
Fix indenting
Change-Id: I352dcbb67b54f928ee20695f63f009afa58f8cd7
Seungho, Baek [Mon, 13 Jul 2020 04:39:37 +0000 (13:39 +0900)]
Make Update() function of frame callback is called for every frame.
- Currently updateScene flag is not be true even though frame callback is existed.
- So, make updateScene true when frame callback processor is existed.
Change-Id: If5003ab5be3fa9293ef94ed2482e6cd36ac5166e
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
Subhransu Mohanty [Mon, 7 Sep 2020 01:14:15 +0000 (10:14 +0900)]
Use modern construct 'using' instead of typedef.
this patch is auto generated by clang-tidy using 'modernize-use-using' check.
Change-Id: I269203c391d6a676db65a28ac7dd4b19301bdbd1
György Straub [Fri, 4 Sep 2020 15:40:23 +0000 (16:40 +0100)]
Changed 'virtual' function override declarations to 'override' in automated-tests.
Change-Id: I39b03b7d75ceb50c20ca2b964eb65fa488827040
Signed-off-by: György Straub <g.straub@partner.samsung.com>
Richard Huang [Fri, 4 Sep 2020 10:15:39 +0000 (11:15 +0100)]
DALi Version 1.9.28
Change-Id: I1dc2f217b6ef5c25114c7dc1e03bd2cee4055d19
Daekwang Ryu [Tue, 1 Sep 2020 05:24:31 +0000 (14:24 +0900)]
Add Integration API to Create public event type
Add intergration API to support GlWindow.
It is used gl-window-impl in dali-adaptor.
Change-Id: I296ed587911135c3fea616f7114352f5a6af6a9e
Adeel Kazmi [Thu, 3 Sep 2020 17:23:32 +0000 (17:23 +0000)]
Merge "Removed On(...)Event()" into devel/master
adam.b [Thu, 3 Sep 2020 15:55:40 +0000 (16:55 +0100)]
Removed On(...)Event()
Change-Id: Ia14b294a1fbdde5bf82cac93ff3101285f86727f
Subhransu Mohanty [Thu, 27 Aug 2020 01:18:32 +0000 (10:18 +0900)]
change Object::OnPropertySet() interface signature.
the old interface was taking Property::Value object by value which
was making a deep copy (2 allocation). so changed the interface to
take it as a const& object.
Change-Id: I6cd67f6900ea61ea47154f9345a9ffe8f949f816
György Straub [Wed, 2 Sep 2020 07:44:52 +0000 (08:44 +0100)]
Moved Gesture::State and -::Type to gesture-enumerations.h.
- GestureState is now an enum class;
- Their values have been changed to upper case in compliance with the
DALi coding standards;
- Added tests for Pinch- & TapGestureProcessor abort cases;
Change-Id: Iae9414e0f771535dffe6373e448c8769131f1b6d
Adeel Kazmi [Wed, 2 Sep 2020 20:09:31 +0000 (20:09 +0000)]
Merge "Renamed TouchSignal to TouchedSignal" into devel/master
Adeel Kazmi [Wed, 2 Sep 2020 11:57:41 +0000 (12:57 +0100)]
Renamed TouchSignal to TouchedSignal
Change-Id: Iee038875f65be610804e4209c0be22be9914df02
Richard Huang [Wed, 2 Sep 2020 13:44:06 +0000 (14:44 +0100)]
Add devel API to create an initialized HoverEvent handle
Change-Id: I8860e77d8abce7d2097cdd146316dff936303086
Adeel Kazmi [Tue, 1 Sep 2020 20:00:34 +0000 (20:00 +0000)]
Merge "Added move semantics to TouchEvent & fixed some other internal event classes" into devel/master
Adeel Kazmi [Tue, 1 Sep 2020 18:00:23 +0000 (19:00 +0100)]
Added move semantics to TouchEvent & fixed some other internal event classes
Change-Id: Iaff0eb50d4cdb9b7e481cfe5def5ad850c58eb92
Adeel Kazmi [Tue, 1 Sep 2020 17:36:43 +0000 (17:36 +0000)]
Merge "Moved (DEFAULT|DEBUG)_BACKGROUND_COLOR out of Stage and over to constants.h" into devel/master
Joogab Yun [Fri, 5 Jun 2020 01:57:43 +0000 (10:57 +0900)]
Refactoring Gestures Class
Change-Id: I5e11996bc2a02f7fb0e9ebe958d8c8b794912635
György Straub [Tue, 1 Sep 2020 12:41:11 +0000 (13:41 +0100)]
Moved (DEFAULT|DEBUG)_BACKGROUND_COLOR out of Stage and over to constants.h
Change-Id: I48371fcc2684ba3c2205440fa51fc06515d9bd5f
Signed-off-by: György Straub <g.straub@partner.samsung.com>
György Straub [Fri, 28 Aug 2020 12:32:57 +0000 (13:32 +0100)]
Renaming of enum values for coding standards compliance.
Change-Id: I9a718cb49886146a169f82bb3cd5acf81d121fa2
Signed-off-by: György Straub <g.straub@partner.samsung.com>
Richard Huang [Fri, 28 Aug 2020 15:27:05 +0000 (16:27 +0100)]
Move TouchPoint to Devel API
Change-Id: I8c9bc63e159f64593998281e1cff85ef83c13752
Victor Cebollada [Fri, 28 Aug 2020 10:11:23 +0000 (11:11 +0100)]
DALi Version 1.9.27
Change-Id: I1452176bdf4ece1a22c77e0c7127fd5fb53955ac
Adeel Kazmi [Thu, 27 Aug 2020 20:11:24 +0000 (20:11 +0000)]
Merge "Changed const variables to constexpr where possible." into devel/master
David Steele [Wed, 26 Aug 2020 17:28:55 +0000 (18:28 +0100)]
Changed const variables to constexpr where possible.
Some const variables can't be changed, such as class members that
require that class's constructor.
Change-Id: I4f60b58220b069265de81fa59ba9405b2754db56
Signed-off-by: David Steele <david.steele@samsung.com>
György Straub [Thu, 27 Aug 2020 07:39:36 +0000 (08:39 +0100)]
Renamed KeyEvent enum values to comply with coding standards.
Change-Id: I3a643607c9a7b97ac89a92d1ba2c6128184b3602
Signed-off-by: György Straub <g.straub@partner.samsung.com>
Adeel Kazmi [Wed, 26 Aug 2020 18:10:03 +0000 (19:10 +0100)]
Moved RotationGesture to the Public API
Change-Id: Ibb604d9e4fef2cb7843c00aa0f09e306a47af9d9
Paul Wisbey [Wed, 26 Aug 2020 17:59:25 +0000 (17:59 +0000)]
Merge "Dali::Vector<char> used as file buffer container" into devel/master
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 14:03:31 +0000 (15:03 +0100)]
Use the default methods in the rect class rather
Change-Id: Ib99649fada571d2ed933e644fbcdbe0cab52c4e1
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