platform/core/uifw/dali-toolkit.git
3 years agoUpdate common test harness files for shader reflection 40/253940/1
Richard Huang [Fri, 19 Feb 2021 15:28:44 +0000 (15:28 +0000)]
Update common test harness files for shader reflection

Change-Id: Ib0d76e99d41df1f09377b35fd4a34a0430e5bf96

3 years agoUpdated test harness to match dali-core : CullFace/Blend 84/253484/2
David Steele [Thu, 11 Feb 2021 11:13:37 +0000 (11:13 +0000)]
Updated test harness to match dali-core : CullFace/Blend

Change-Id: Ia6806c94a51b0f81f485d0b12f9ca8f0452f2de8

3 years agoMerge branch 'devel/master' into devel/graphics 59/253559/1
Adeel Kazmi [Mon, 15 Feb 2021 11:41:14 +0000 (11:41 +0000)]
Merge branch 'devel/master' into devel/graphics

Change-Id: Ia3fbbfb14ebbd12eecb9fc047aba2966d2739b6d

3 years agoDALi Version 2.0.13 98/253498/1 dali_2.0.13
Adeel Kazmi [Fri, 12 Feb 2021 09:54:44 +0000 (09:54 +0000)]
DALi Version 2.0.13

Change-Id: Ic5e943212de02cbd7c79ba8d7b9591f90e0b880f

3 years agoUpdated test files to match dali-core Pipeline VtxFmt 22/253222/5 graphics-backend-pre-release-1
David Steele [Fri, 5 Feb 2021 12:09:46 +0000 (12:09 +0000)]
Updated test files to match dali-core Pipeline VtxFmt

Change-Id: I819d9a5588faf1d230c3c34dd7209c771237bdcf

3 years agoFixed memory scribbler in text vector blob 92/253492/1
David Steele [Tue, 9 Feb 2021 11:05:46 +0000 (11:05 +0000)]
Fixed memory scribbler in text vector blob

In the case where mTextureWidth was greater than the width passed in,
the texture copy was scribbling outside the pixbuf array. Changed
it to use the width passed in, so the pixbuf array should contain
only the required blob data.

Change-Id: I6e7dcbf9bd9a12df06319c81448ae9641751b85a
Signed-off-by: David Steele <david.steele@samsung.com>
(cherry picked from commit 6ee6340bae8a44b9257db3d7729e0018e1addb3d)

3 years agoMerge "(Vector) Show the broken image when loading is failed" into devel/master
Heeyong Song [Wed, 10 Feb 2021 00:49:16 +0000 (00:49 +0000)]
Merge "(Vector) Show the broken image when loading is failed" into devel/master

3 years agoupdated test files to match dali-core : buffer impl 22/253122/3
David Steele [Thu, 4 Feb 2021 16:47:59 +0000 (16:47 +0000)]
updated test files to match dali-core : buffer impl

Change-Id: I5b06533a8b92c2f3eb45ed0a708767eccaace780

3 years agoUpdated test files to match dali-core 14/253114/3
David Steele [Thu, 4 Feb 2021 15:17:16 +0000 (15:17 +0000)]
Updated test files to match dali-core

Change-Id: Ia02b239d6ee62805409fd62bc55146861fffb5f6

3 years agoUsing custom deleter with Graphics unique pointer in test harness 14/253314/2
Adam Bialogonski [Mon, 8 Feb 2021 18:26:19 +0000 (18:26 +0000)]
Using custom deleter with Graphics unique pointer in test harness

Change-Id: Id2df79e41414319ea15dd1b81f0e292aed6b6861

3 years agoFixed memory scribbler in text vector blob 88/253388/1
David Steele [Tue, 9 Feb 2021 11:05:46 +0000 (11:05 +0000)]
Fixed memory scribbler in text vector blob

In the case where mTextureWidth was greater than the width passed in,
the texture copy was scribbling outside the pixbuf array. Changed
it to use the width passed in, so the pixbuf array should contain
only the required blob data.

Change-Id: I6e7dcbf9bd9a12df06319c81448ae9641751b85a
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoMerge branch 'devel/master' into devel/graphics 12/253312/1
Adeel Kazmi [Mon, 8 Feb 2021 17:50:45 +0000 (17:50 +0000)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I7b1fb63d1641f531f3f48cc594d5b05c8400863a

3 years ago(Vector) Show the broken image when loading is failed 97/253097/5
Heeyong Song [Thu, 4 Feb 2021 10:36:06 +0000 (19:36 +0900)]
(Vector) Show the broken image when loading is failed

Change-Id: I3910b78c72fb4a81b0f33a7e211bb1dd717ca8f8

3 years agoDALi Version 2.0.12 05/253205/1 dali_2.0.12
Richard Huang [Fri, 5 Feb 2021 11:58:29 +0000 (11:58 +0000)]
DALi Version 2.0.12

Change-Id: Idb90d58742e4136c8626d5452d0843be33f62fa0

3 years agoMerge branch 'devel/master' into devel/graphics 28/253128/1
Adeel Kazmi [Thu, 4 Feb 2021 18:09:40 +0000 (18:09 +0000)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I796ecb5ce8eb9990268bf1472e7585c2f38564c5

3 years agoMerge "Dummy graphics controller for test suite" into devel/graphics
Adeel Kazmi [Thu, 4 Feb 2021 16:49:27 +0000 (16:49 +0000)]
Merge "Dummy graphics controller for test suite" into devel/graphics

3 years agoUpdated all header files to new format 11/253111/2
Adeel Kazmi [Thu, 4 Feb 2021 14:12:27 +0000 (14:12 +0000)]
Updated all header files to new format

Change-Id: I68b3cf032fa1758fff92509f463101bdfd36cce1

3 years agoMerge branch 'devel/master' into devel/graphics
Adeel Kazmi [Wed, 3 Feb 2021 18:58:29 +0000 (18:58 +0000)]
Merge branch 'devel/master' into devel/graphics

3 years agoUpdated all cpp files to new format 30/252830/5
Adeel Kazmi [Wed, 3 Feb 2021 16:49:03 +0000 (16:49 +0000)]
Updated all cpp files to new format

Change-Id: If92183926ff6584c5d05efda672b422b9dd9a322

3 years agoDummy graphics controller for test suite 84/252984/1
Adam Bialogonski [Wed, 3 Feb 2021 15:38:56 +0000 (15:38 +0000)]
Dummy graphics controller for test suite

Change-Id: I6c15bac978d226566fcbd21be2fd38b56630026a

3 years agoShow the broken image in case of invalid svg files 88/252388/3
Heeyong Song [Wed, 27 Jan 2021 09:34:22 +0000 (18:34 +0900)]
Show the broken image in case of invalid svg files

Change-Id: I10d140336eb94f2a22db53e2a1f04b5dfe2a0a77

3 years agoCreate Renderer when the Visual is created 88/252188/5
Heeyong Song [Mon, 25 Jan 2021 08:43:44 +0000 (17:43 +0900)]
Create Renderer when the Visual is created

Change-Id: I08ad0e53774094acf39dda4daaa98f5b899f0d2d

3 years agoTemporarily removed code that checks GL call caching in automated test 04/252704/1
Richard Huang [Fri, 29 Jan 2021 16:21:06 +0000 (16:21 +0000)]
Temporarily removed code that checks GL call caching in automated test

Change-Id: If6c45e76d3942f21ad768ceab52144dd6449d097

3 years agoMerge "Update position & size of web view." into devel/master
JIYUN YANG [Mon, 1 Feb 2021 08:47:18 +0000 (08:47 +0000)]
Merge "Update position & size of web view." into devel/master

3 years agoMerge "fix ellipsis not working issue when the given width is too narrow" into devel...
Adeel Kazmi [Fri, 29 Jan 2021 17:04:16 +0000 (17:04 +0000)]
Merge "fix ellipsis not working issue when the given width is too narrow" into devel/master

3 years agoDALi Version 2.0.11 85/252585/1 dali_2.0.11
David Steele [Fri, 29 Jan 2021 12:53:39 +0000 (12:53 +0000)]
DALi Version 2.0.11

Change-Id: I458b3e7b20bd87320acbb2017f51e41141370b4e

3 years agoUpdate position & size of web view. 72/247972/13
huayong.xu [Mon, 9 Nov 2020 10:20:07 +0000 (18:20 +0800)]
Update position & size of web view.

Originally position of web engine is not updated when position of
web view is changed.
This patch is to update position & size of web view.

Change-Id: I84ff062363ff0d20c8e60c26d57a9f00d47c7305

3 years agoMerge "(Builder) Added Constants that can be used by Custom shaders" into devel/master
Adeel Kazmi [Thu, 28 Jan 2021 21:07:37 +0000 (21:07 +0000)]
Merge "(Builder) Added Constants that can be used by Custom shaders" into devel/master

3 years ago(Builder) Added Constants that can be used by Custom shaders 81/252481/2
Adeel Kazmi [Thu, 28 Jan 2021 16:22:19 +0000 (16:22 +0000)]
(Builder) Added Constants that can be used by Custom shaders

Change-Id: I4654fb649a8bd8113219019a501b05fd7a965256

3 years agoSyncing test harness files 80/252480/1
David Steele [Thu, 28 Jan 2021 14:33:26 +0000 (14:33 +0000)]
Syncing test harness files

Change-Id: I1e1b7d0d3835ab2817913337dc495ab3445c3a76

3 years agoMerge "Change resize policy of favicon." into devel/master
Adeel Kazmi [Thu, 28 Jan 2021 14:24:50 +0000 (14:24 +0000)]
Merge "Change resize policy of favicon." into devel/master

3 years agoChange resize policy of favicon. 32/252332/1
huayong.xu [Wed, 27 Jan 2021 02:04:55 +0000 (10:04 +0800)]
Change resize policy of favicon.

Resize policy of favicon is changed from FILL_TO_PARENT
to USE_NATURAL_SIZE.

Change-Id: I5d1a1851a7e88b3cab1ce95f3ce3760021755afc

3 years agoImprove code related to scroll APIs in web view. 27/252027/4
huayong.xu [Thu, 21 Jan 2021 10:55:45 +0000 (18:55 +0800)]
Improve code related to scroll APIs in web view.

This improvement is suggested by Mr. Richard Huang.

Change-Id: I6f26ada7119e535594217cbb379676730331b5c2

3 years agoMerge "Add some APIs into web view." into devel/master
JIYUN YANG [Tue, 26 Jan 2021 06:04:58 +0000 (06:04 +0000)]
Merge "Add some APIs into web view." into devel/master

3 years agoMerge "DALi Version 2.0.10" into devel/master
David Steele [Fri, 22 Jan 2021 17:28:04 +0000 (17:28 +0000)]
Merge "DALi Version 2.0.10" into devel/master

3 years agoDALi Version 2.0.10 16/252116/1 dali_2.0.10
Adeel Kazmi [Fri, 22 Jan 2021 17:16:10 +0000 (17:16 +0000)]
DALi Version 2.0.10

Change-Id: I80653c3bd53e990ca798aaaa1997d1c8fc4a776a

3 years agoAdd some APIs into web view. 33/250133/5
huayong.xu [Mon, 21 Dec 2020 02:58:30 +0000 (10:58 +0800)]
Add some APIs into web view.

Create, GetTitle, GetFavicon, etc are added.

Change-Id: Ifc6b20704d416b19055b8d242d2aea9863783f29

3 years agoMerge "Implement some new ewk apis in web view." into devel/master
JIYUN YANG [Fri, 22 Jan 2021 10:14:36 +0000 (10:14 +0000)]
Merge "Implement some new ewk apis in web view." into devel/master

3 years agoMerge "Fix opacity issue when we use corner radius" into devel/master
Heeyong Song [Fri, 22 Jan 2021 08:37:09 +0000 (08:37 +0000)]
Merge "Fix opacity issue when we use corner radius" into devel/master

3 years agoMerge "Rounded corner for SVG / Animated Vector Image visual" into devel/master
Heeyong Song [Fri, 22 Jan 2021 08:37:03 +0000 (08:37 +0000)]
Merge "Rounded corner for SVG / Animated Vector Image visual" into devel/master

3 years agoFix opacity issue when we use corner radius 93/251293/9
Heeyong Song [Tue, 12 Jan 2021 08:03:59 +0000 (17:03 +0900)]
Fix opacity issue when we use corner radius

NOTE : As you know, GPU doesn't like if-else statement.
But if we can skip operations for most adjacent pixels,
if-else statemnet is somtimes more efficient.

Change-Id: Ibb09a84e383e4769c3e7ead39f48073455d6e650
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoImplement some new ewk apis in web view. 58/249358/11
huayong.xu [Thu, 10 Dec 2020 10:33:27 +0000 (18:33 +0800)]
Implement some new ewk apis in web view.

Support some new APIs, e.g. BackForwardList, Context, CookieManager,
Settings.

Change-Id: I84a9a60ed80c6da0c3c063af5ddfec8a19c3da2b

3 years agoRounded corner for SVG / Animated Vector Image visual 18/251818/2
Eunki, Hong [Tue, 19 Jan 2021 11:23:55 +0000 (20:23 +0900)]
Rounded corner for SVG / Animated Vector Image visual

Change-Id: I798b46c3cd5cbaedfc717395e4255111f95aef25
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years agoAll tests now output results to xml files 92/250092/6
David Steele [Fri, 18 Dec 2020 17:24:20 +0000 (17:24 +0000)]
All tests now output results to xml files

Change-Id: I7cbf0540d6f32bdb516f75b42384ed3f44685de2

3 years agoConvert more shaders in dali-toolkit and dali-scene-loader to use shader compilation... 03/251703/2
Richard Huang [Mon, 18 Jan 2021 17:13:40 +0000 (17:13 +0000)]
Convert more shaders in dali-toolkit and dali-scene-loader to use shader compilation tool

Change-Id: I0389814f16c3bb33d697fac6d1c73fec5aec87f4

3 years agoMerge "Ensuring test files match dali-core/adaptor" into devel/master
Adeel Kazmi [Mon, 18 Jan 2021 16:30:22 +0000 (16:30 +0000)]
Merge "Ensuring test files match dali-core/adaptor" into devel/master

3 years agoMerge "Support scroll in web view." into devel/master
JIYUN YANG [Mon, 18 Jan 2021 07:18:14 +0000 (07:18 +0000)]
Merge "Support scroll in web view." into devel/master

3 years agoMerge "Fix resource ready state" into devel/master
Heeyong Song [Mon, 18 Jan 2021 01:32:30 +0000 (01:32 +0000)]
Merge "Fix resource ready state" into devel/master

3 years agoEnsuring test files match dali-core/adaptor 23/251623/3
David Steele [Fri, 15 Jan 2021 18:21:39 +0000 (18:21 +0000)]
Ensuring test files match dali-core/adaptor

Change-Id: I8810c5d6f07a22cdecc7235916287f6be0ddf406

3 years agoConvert shaders in devel-api header files to use shader compilation tool 22/251622/1
Richard Huang [Fri, 15 Jan 2021 16:35:44 +0000 (16:35 +0000)]
Convert shaders in devel-api header files to use shader compilation tool

Change-Id: Id63f2e1835b9dbab93a2d2b885bb3bf6156032a5

3 years agoMerge "Shader compilation tool for dali-toolkit" into devel/master
Adeel Kazmi [Fri, 15 Jan 2021 12:44:24 +0000 (12:44 +0000)]
Merge "Shader compilation tool for dali-toolkit" into devel/master

3 years agoDALi Version 2.0.9 01/251601/1 dali_2.0.9
adam.b [Fri, 15 Jan 2021 11:16:41 +0000 (11:16 +0000)]
DALi Version 2.0.9

Change-Id: Iecaea8c30eeadd22839ec0efc03b1460e799d83a

3 years agoFix resource ready state 54/251554/2
Heeyong Song [Fri, 15 Jan 2021 00:33:43 +0000 (09:33 +0900)]
Fix resource ready state

In case of synchronous loading, ResourceStatus::FAILED was not set.

Change-Id: I8a59da45a506941939d69de0f009ff7e75137a5b

3 years agoShader compilation tool for dali-toolkit 34/251434/8
Richard Huang [Wed, 13 Jan 2021 14:47:31 +0000 (14:47 +0000)]
Shader compilation tool for dali-toolkit

Change-Id: I3c3e193e45cc3cc61840e68f64285f0627873da8

3 years agoSupport scroll in web view. 48/250848/4
huayong.xu [Tue, 5 Jan 2021 07:02:50 +0000 (15:02 +0800)]
Support scroll in web view.

Some APIs related to scroll are supported.

Change-Id: I6f4f4430ea236f437196398b4c14a29375a91495

3 years agoDALi Version 2.0.8 47/251147/1 dali_2.0.8
Richard Huang [Fri, 8 Jan 2021 14:35:44 +0000 (14:35 +0000)]
DALi Version 2.0.8

Change-Id: I3618792e3d0a1ecd053dc8893605aed20f1f4657

3 years agoUpdated macOS instructions 78/251078/1
Adeel Kazmi [Thu, 7 Jan 2021 18:24:54 +0000 (18:24 +0000)]
Updated macOS instructions

Change-Id: I9498d84be12c125fc202ae4edc29e9f6d785c470

3 years agoAdd installation instructions for MacOS 19/245919/3
Lucas Cavalcante de Sousa [Tue, 13 Oct 2020 19:39:57 +0000 (16:39 -0300)]
Add installation instructions for MacOS

Change-Id: Idbc11448601d7cd5fa5bf0d80f7a77ed1dfa4cbd

3 years agoMerge "(Max OSX Build) Use vcpkg cairo & enable scene-loader" into devel/master
Adeel Kazmi [Wed, 6 Jan 2021 15:24:02 +0000 (15:24 +0000)]
Merge "(Max OSX Build) Use vcpkg cairo & enable scene-loader" into devel/master

3 years agoMerge "Add support to build on the macOS platform" into devel/master
Adeel Kazmi [Wed, 6 Jan 2021 15:04:48 +0000 (15:04 +0000)]
Merge "Add support to build on the macOS platform" into devel/master

3 years ago(Max OSX Build) Use vcpkg cairo & enable scene-loader 25/250925/3
Adeel Kazmi [Mon, 28 Dec 2020 19:40:33 +0000 (19:40 +0000)]
(Max OSX Build) Use vcpkg cairo & enable scene-loader

Change-Id: I65e706765203bcaa3e824afdd56becd60b0ac37c

3 years agoMerge "Set focus to web engine." into devel/master
JIYUN YANG [Wed, 6 Jan 2021 03:42:32 +0000 (03:42 +0000)]
Merge "Set focus to web engine." into devel/master

3 years agoAdd support to build on the macOS platform 67/244067/7
Wander Lairson Costa [Tue, 8 Sep 2020 15:51:31 +0000 (12:51 -0300)]
Add support to build on the macOS platform

macOS is built mostly like Windows.

Change-Id: Idf817f2e51d2f2b16dc99cd1f8bf90397049e3ba

3 years agoMerge "Support animation of ArcVisual properties" into devel/master
Heeyong Song [Mon, 4 Jan 2021 14:41:56 +0000 (14:41 +0000)]
Merge "Support animation of ArcVisual properties" into devel/master

3 years agoSupport animation of ArcVisual properties 06/250606/2
Heeyong Song [Wed, 30 Dec 2020 06:45:01 +0000 (15:45 +0900)]
Support animation of ArcVisual properties

Change-Id: I9bafe1960c633655847138b91d96528c04b76e6e

3 years agoSet multiline input hint before IME activates 83/250583/1
Seoyeon Kim [Tue, 29 Dec 2020 10:16:13 +0000 (19:16 +0900)]
Set multiline input hint before IME activates

 - All input panel properties, such as layout, return key type, and input hint,
 should be set before input panel activates (or shows).

Change-Id: I72738eee2e772dd3f6358fa52c61ec7100e8a953
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
3 years agodali-scene-loader documentation fixes. 36/250436/2
György Straub [Thu, 24 Dec 2020 14:48:18 +0000 (14:48 +0000)]
dali-scene-loader documentation fixes.

Change-Id: Ie08526df65b4eb83a88a1c1c69c1a69801ef664a
Signed-off-by: György Straub <g.straub@partner.samsung.com>
3 years agoMerge "Add CURRENT_FRAME_NUMBER and TOTAL_FRAME_NUMBER properties to the AnimatedImag...
Adeel Kazmi [Thu, 24 Dec 2020 16:23:38 +0000 (16:23 +0000)]
Merge "Add CURRENT_FRAME_NUMBER and TOTAL_FRAME_NUMBER properties to the AnimatedImageVisual" into devel/master

3 years agoDALi Version 2.0.7 03/250403/1 dali_2.0.7
György Straub [Thu, 24 Dec 2020 07:49:03 +0000 (07:49 +0000)]
DALi Version 2.0.7

Change-Id: I804b83413508da576226fc9e1abdd5601c7c00fd

3 years agoMerge "Support animation of Visual transform properties" into devel/master
Heeyong Song [Wed, 23 Dec 2020 23:19:27 +0000 (23:19 +0000)]
Merge "Support animation of Visual transform properties" into devel/master

3 years agoEnsure DALI_*_API is stripped out from the doxygen documentation 41/250341/1
Adeel Kazmi [Wed, 23 Dec 2020 18:21:29 +0000 (18:21 +0000)]
Ensure DALI_*_API is stripped out from the doxygen documentation

Change-Id: I8d0871bcbbebbef32ca3a54801f764d97f06e50d

3 years agoAdd dali-scene-loader to doxygen documentation 39/250339/1
Adeel Kazmi [Wed, 23 Dec 2020 17:03:57 +0000 (17:03 +0000)]
Add dali-scene-loader to doxygen documentation

Change-Id: I0f36a01a349113556745dbc1a186e339bb0607e7

3 years agoMerge "Make -DUSE_DEFAULT_RESOURCE_DIR=OFF compile again" into devel/master
Adeel Kazmi [Wed, 23 Dec 2020 17:11:58 +0000 (17:11 +0000)]
Merge "Make -DUSE_DEFAULT_RESOURCE_DIR=OFF compile again" into devel/master

3 years agoAdd CURRENT_FRAME_NUMBER and TOTAL_FRAME_NUMBER properties to the AnimatedImageVisual 34/250334/2
Seungho Baek [Wed, 23 Dec 2020 07:01:21 +0000 (16:01 +0900)]
Add CURRENT_FRAME_NUMBER and TOTAL_FRAME_NUMBER properties to the AnimatedImageVisual

Change-Id: I0512d42a0948ebc9adae9475004f7d73aa7eb52d
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years agoMerge "Updated patch coverage script." into devel/master
Adeel Kazmi [Wed, 23 Dec 2020 16:19:42 +0000 (16:19 +0000)]
Merge "Updated patch coverage script." into devel/master

3 years agoFixed the SVACE issue in ExceptionFlinger. 28/250328/2
György Straub [Wed, 23 Dec 2020 11:29:58 +0000 (11:29 +0000)]
Fixed the SVACE issue in ExceptionFlinger.

This ensures that the exception is only thrown following the destruction
of all other data members.

Change-Id: Ice35cc81130a056c168e7124b0277ec32a9526ce
Signed-off-by: György Straub <g.straub@partner.samsung.com>
3 years agoCosmetic fixes in dali-scene-loader. 77/250177/4
György Straub [Mon, 21 Dec 2020 17:05:03 +0000 (17:05 +0000)]
Cosmetic fixes in dali-scene-loader.

- implementation of (public-api) structors moved out of headers;
- default structors replaced with 'default' keyword where possible;
- disallowed construction of 'namespace' classes;
- whitespace;
- etc.

Change-Id: I9c2e5ef3d8620cad9f7077cd2e8bacd352ea37ee
Signed-off-by: György Straub <g.straub@partner.samsung.com>
3 years agoSupport animation of Visual transform properties 91/250191/2
Heeyong Song [Tue, 22 Dec 2020 01:05:34 +0000 (10:05 +0900)]
Support animation of Visual transform properties

Change-Id: I95cc81b6e0e0a545d18db480a715afb9660851b1

3 years agoAdded documentation of the DLI format. 76/250176/2
György Straub [Mon, 21 Dec 2020 17:03:23 +0000 (17:03 +0000)]
Added documentation of the DLI format.

Change-Id: I722a7c27831c67d471f072b840328d06ffbbf411
Signed-off-by: György Straub <g.straub@partner.samsung.com>
3 years agoFixed SVACE and related issues in dali-scene-loader. 67/250267/1
György Straub [Tue, 22 Dec 2020 13:50:36 +0000 (13:50 +0000)]
Fixed SVACE and related issues in dali-scene-loader.

- sprintf() replaced with snprintf() in gltf2-loader;
- ExceptionFlinger's destructor is marked as [[noreturn]]; other
  methods are marked noexcept(true);
- fixed the assertion in MeshDefinition::Blob::ApplyMinMax(), where
  either min or max can be empty, or they have to be the same size;

Change-Id: Ib05c2cde99fb3b3403c5993740fc2d72e2399f48

3 years agofix ellipsis not working issue when the given width is too narrow 09/248509/6
Youngbok Shin [Fri, 27 Nov 2020 07:53:10 +0000 (16:53 +0900)]
fix ellipsis not working issue when the given width is too narrow

This patch fix the issue when the given width is too narrow
for adding an ellipsis glyph.

Change-Id: Ifdea96eb42041c5d603acfd36874b3704a5cb7f9

3 years agoFixed the libdir that dali-scene-loader's CMakeLists.txt uses. 51/250251/1
György Straub [Tue, 22 Dec 2020 09:19:41 +0000 (09:19 +0000)]
Fixed the libdir that dali-scene-loader's CMakeLists.txt uses.

This fixes the Tizen 64 build.

Change-Id: I796aceed451cb0f900ff56b006434c9e8f8a5565

3 years agoAdded libdli to dali-toolkit as dali-scene-loader. 97/247197/52
György Straub [Thu, 12 Nov 2020 10:21:32 +0000 (10:21 +0000)]
Added libdli to dali-toolkit as dali-scene-loader.

Change-Id: I002e58331035101d9d92d719a864be9baeacc44d

3 years agoMake -DUSE_DEFAULT_RESOURCE_DIR=OFF compile again 69/250069/1
Wander Lairson Costa [Mon, 14 Dec 2020 17:53:32 +0000 (14:53 -0300)]
Make -DUSE_DEFAULT_RESOURCE_DIR=OFF compile again

DALI_IMAGE_DIR isn't defined as a path when
USE_DEFAULT_RESOURCE_DIR=OFF. Use the AssetManager class to get the
image path.

Change-Id: I75099c046a248d643419779747a4235e52f510c4

3 years agoDALi Version 2.0.6 50/250050/1 dali_2.0.6
adam.b [Fri, 18 Dec 2020 11:08:34 +0000 (11:08 +0000)]
DALi Version 2.0.6

Change-Id: Ie44592f896114985917d568e346d84eb27e96169

3 years agoMerge "Avoid shader string copy when possible." into devel/master
David Steele [Thu, 17 Dec 2020 11:25:52 +0000 (11:25 +0000)]
Merge "Avoid shader string copy when possible." into devel/master

3 years agoMerge "Check renderer when call DisplayNextFrame()" into devel/master
Adeel Kazmi [Thu, 17 Dec 2020 10:59:33 +0000 (10:59 +0000)]
Merge "Check renderer when call DisplayNextFrame()" into devel/master

3 years agoMerge "Fix SVACE error in npatch-data" into devel/master
Adeel Kazmi [Thu, 17 Dec 2020 10:59:24 +0000 (10:59 +0000)]
Merge "Fix SVACE error in npatch-data" into devel/master

3 years agoFix SVACE error in npatch-data 23/249923/1
Adeel Kazmi [Thu, 17 Dec 2020 10:11:09 +0000 (10:11 +0000)]
Fix SVACE error in npatch-data

Change-Id: I04df0451ded3b1a097f31e96d0a6e7f0558ff17c

3 years agoCheck renderer when call DisplayNextFrame() 19/249319/5
Sunghyun Kim [Thu, 10 Dec 2020 05:55:06 +0000 (14:55 +0900)]
Check renderer when call DisplayNextFrame()

Sometimes DisplayNextFrame() is called even if animatedImageVisual is
disposed.
for avoid this issue, i added this patch.

Change-Id: I4912dbc38e2c911bc7bbfe7815a8fc8f6b9f4d37

3 years agoRemove unnecessary log in the npatch-loader 20/249820/1
seungho [Thu, 17 Dec 2020 03:21:06 +0000 (12:21 +0900)]
Remove unnecessary log in the npatch-loader

 - GetNPatchData method is allowed that can be called before npatchData is created.(like GetNaturalSize)
 - And, to fail to find cache with the id is not an error too.
 - Therefore, this patch removes the error log from the GetCacheIndexFromId

Change-Id: If88dc611d8e5ad7431ae4485a5cbc8e2e08a4111
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoAvoid shader string copy when possible. 75/248975/3
Subhransu Mohanty [Fri, 4 Dec 2020 01:38:56 +0000 (10:38 +0900)]
Avoid shader string copy when possible.

As shader creation will take a copy if the shader is not in the cache
we don't have to create new String for each shader creation request.

we create a new string only when we need to update the shader data
and only pass a string_view to the shader creation.

Change-Id: I595d5f2af8216c2526ba0865fe33b6c0c2538405

3 years agoMerge "use string_view to avoid string copy" into devel/master
David Steele [Wed, 16 Dec 2020 18:08:56 +0000 (18:08 +0000)]
Merge "use string_view to avoid string copy" into devel/master

3 years agoMerge "Fix SVACE error in animated-image-visual.cpp" into devel/master
David Steele [Wed, 16 Dec 2020 17:08:00 +0000 (17:08 +0000)]
Merge "Fix SVACE error in animated-image-visual.cpp" into devel/master

3 years agoFix SVACE error in animated-image-visual.cpp 42/249642/3
Adeel Kazmi [Tue, 15 Dec 2020 21:24:45 +0000 (21:24 +0000)]
Fix SVACE error in animated-image-visual.cpp

Change-Id: I688715d694f5a726cebb95c1a69bf051177b4085

3 years agoSet focus to web engine. 73/247773/5
huayong.xu [Thu, 12 Nov 2020 06:54:28 +0000 (14:54 +0800)]
Set focus to web engine.

When web view focus is gained, it is delivered to web engine.

Change-Id: I0ffdd895eab36390d4ad74bf38d5398153284a67

3 years agoMake NPatchData receive LoadComplete call from TextureManager. 92/248592/18
Seungho Baek [Mon, 30 Nov 2020 05:45:41 +0000 (14:45 +0900)]
Make NPatchData receive LoadComplete call from TextureManager.

 - If an NPatchVisual is destroyed before it receives LoadComplete,
   the loading process of the npatch image is never completed.
 - At that time, because the cache data is already created, every request of the image after that is ignored.
 - In this patch, NPatchData is separated from NpatchLoader and NPatchData request npatch loading to Texture Manager instead of NPatchVisual as a representative.
 - After the loading is completed, NPatchData receives LoadComplete call and makes textureSet.
 - And, The NpatchData sends UploadComplete call to the each NPatchVisuals those originally request it.

 + Additionally, this patch includes an method to remove unused cached data.

Change-Id: I0879a9eaa62aac8533fbc6b8d9416805ab7a0675
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years agoFix 2 animatedImageVisual issues 19/249119/4
Seungho Baek [Mon, 7 Dec 2020 08:10:34 +0000 (17:10 +0900)]
Fix 2 animatedImageVisual issues

 - 1. Make animate image visual do not caching in texture-manager
  - If 2 visual those have same image url and play without sync, it makes caching error.
 - 2. Make NextFrame methods.
  - Currently, the visual requests to load specific frame with index.
    But, if the system getting slow(like so many agif/webp in playing), the request and the loading can not be synchronized.
  - The visual will request next frame index with identical timing, but because the loading is slow, the loading frame will be throwed away and start next frame of the index.
  - This make bottle neck and also make stop to play.
  - This patch adds NextFrame that returns prepared next frame. If the next frame is in loading, this method is not to increase index and returns current rendered frame again.

Change-Id: Ia301ae654bcf8ee88167585bc4f4b1259a1e4e46
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
3 years agoUpdated patch coverage script. 62/249462/1
David Steele [Fri, 11 Dec 2020 18:11:01 +0000 (18:11 +0000)]
Updated patch coverage script.

Ensured that the coverage output is only shown in verbose mode after
all other errors have been found.
Clearly separate the script output from the coverage output
Added errors and warning tags to... errors and warnings.

Change-Id: I9376854620f110e28ca8cad9a54c8b98948970f9

3 years agoMerge "DALi Version 2.0.5" into devel/master
Adeel Kazmi [Fri, 11 Dec 2020 12:14:17 +0000 (12:14 +0000)]
Merge "DALi Version 2.0.5" into devel/master