platform/core/uifw/dali-adaptor.git
3 years agoAdding NativeImage implementation 99/254499/2
David Steele [Wed, 24 Feb 2021 18:58:01 +0000 (18:58 +0000)]
Adding NativeImage implementation

Fixing ubo handling when no uniforms
TH updates for Native Image

Change-Id: Iceede334ca67bfb470b8d7cd1ea545deb0425902

3 years agoSyncing Test harness updates 18/254418/2
David Steele [Tue, 2 Mar 2021 12:26:19 +0000 (12:26 +0000)]
Syncing Test harness updates

Change-Id: I346f99ec48fcbccdd858a5832b9611e2a2c3c672

3 years agoMerge branch 'devel/master' into devel/graphics 70/254370/1
Adeel Kazmi [Mon, 1 Mar 2021 19:11:09 +0000 (19:11 +0000)]
Merge branch 'devel/master' into devel/graphics

Change-Id: Ifd6fea100d8c9eb37a208c1a93a9e2839437ca1b

3 years agoFixed crash on exit 61/254361/1 graphics-backend-pre-release-2
Adam Bialogonski [Mon, 1 Mar 2021 12:06:55 +0000 (12:06 +0000)]
Fixed crash on exit

Making sure that pipeline cache first destroys pipelines and then programs.

Change-Id: I2a7ab0cef8dc2866c04fbaf15852258bb415ebf0

3 years agoReflection: Ignoring vertex attribute added implicitly by the GLSL compiler (gl_Verte... 56/254356/1
Adam Bialogonski [Mon, 1 Mar 2021 10:22:34 +0000 (10:22 +0000)]
Reflection: Ignoring vertex attribute added implicitly by the GLSL compiler (gl_VertexID, gl_InstanceID) which return location -1.

Fixes crash in the reflecion.

Change-Id: I58a7b1bae42c88757d86c49b4e7efe8ce4363264

3 years agoTest Harness updates 43/254343/3
David Steele [Fri, 26 Feb 2021 17:27:28 +0000 (17:27 +0000)]
Test Harness updates

Change-Id: I1e5f5b39ed2e6f26af1288ef029bca6467ed030c

3 years agoShader support 09/254109/11
Adam Bialogonski [Thu, 25 Feb 2021 17:03:36 +0000 (17:03 +0000)]
Shader support

- program implementation
- pipeline cache upgraded
- pipeline cache supports caching program
- shader reflection bound with Program
- added shader compilation and program linking

Change-Id: I53569d04848410b21150ca239b6f9b01015310b9

3 years agoDALi Version 2.0.15 29/254329/1 dali_2.0.15
David Steele [Fri, 26 Feb 2021 12:43:29 +0000 (12:43 +0000)]
DALi Version 2.0.15

Change-Id: I1719fda0e9a7d49c152df130a7deea01930842b9

3 years agoShader Reflection 11/253511/14
Richard Huang [Fri, 12 Feb 2021 14:29:08 +0000 (14:29 +0000)]
Shader Reflection

Change-Id: I5f528748c5de1009a6911343d6a6a243be28b46b

3 years agoAdd APIs to show javascript popup in web engine. 27/250627/9
huayong.xu [Wed, 30 Dec 2020 09:41:37 +0000 (17:41 +0800)]
Add APIs to show javascript popup in web engine.

Add callbacks for 'url,changed', 'load,progress', and javascript
alert/confirm/prompt.

Change-Id: I8b5a0b91ac58a7e1ccb541e32b20d2c745b3ef66

3 years agoPipeline caching 16/253516/3
Adam Bialogonski [Fri, 12 Feb 2021 18:16:07 +0000 (18:16 +0000)]
Pipeline caching

- naive pipeline caching
- returns unique_ptr to wrapper of pipeline rather than actual implementation
- still requires optimization inside the pipeline implementation

Change-Id: I53f31b08bc7174b35dc64e6fdc6166b4d9a038dc

3 years agoMerge "DALi Version 2.0.14" into devel/master
Adeel Kazmi [Fri, 19 Feb 2021 10:51:35 +0000 (10:51 +0000)]
Merge "DALi Version 2.0.14" into devel/master

3 years agoDALi Version 2.0.14 06/253906/1 dali_2.0.14
Adam Bialogonski [Fri, 19 Feb 2021 08:46:06 +0000 (08:46 +0000)]
DALi Version 2.0.14

Change-Id: I1d59df8680ccf53d2a8944525648eaa5773b344a

3 years agoFix jpeg loader considering rotation 80/253180/14
tscholb [Fri, 19 Feb 2021 03:05:33 +0000 (12:05 +0900)]
Fix jpeg loader considering rotation

1.Add GetOriginalImageSize() considering rotation
2.Naming modifcation of jpegTransform

Change-Id: I4459c44e15a06ca1d585b8493ad569741db5f055

3 years agoEnsure texture uploads are tightly packed 52/253852/1
David Steele [Thu, 18 Feb 2021 16:46:26 +0000 (16:46 +0000)]
Ensure texture uploads are tightly packed

Change-Id: If37c96bb51c60070c3abae6b3e4dc7c69f916676

3 years agoCall MakeContextCurrent in PreRender 33/253333/2
Daekwang Ryu [Tue, 9 Feb 2021 02:46:18 +0000 (11:46 +0900)]
Call MakeContextCurrent in PreRender

When creating multiple NativeRenderSurface,
Dali didn't render from second RenderSurface.

Change-Id: I536e831bfbd6d2e5a2a1cb7e31ec5a505c91ca22

3 years agoAdded CullFace and blending modes support 66/253566/3
Adam Bialogonski [Mon, 15 Feb 2021 12:49:42 +0000 (12:49 +0000)]
Added CullFace and blending modes support

Change-Id: Id41f94fbef2798c8125dc4d1e8606cc8c3531282

3 years agoUpdated test harness to match dali-core : CullFace/Blend 83/253483/2
David Steele [Thu, 11 Feb 2021 11:12:06 +0000 (11:12 +0000)]
Updated test harness to match dali-core : CullFace/Blend

Change-Id: I363f2d52c48355ec682b2363907d4e935c24c2d1

3 years agoMerge branch 'devel/master' into devel/graphics 57/253557/1
Adeel Kazmi [Mon, 15 Feb 2021 11:40:46 +0000 (11:40 +0000)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I4e1280478df523045513591d354e83b84d723625

3 years agoGLES Pipeline and draw call support 06/253406/12 graphics-backend-pre-release-1
Adam Bialogonski [Fri, 12 Feb 2021 11:51:30 +0000 (11:51 +0000)]
GLES Pipeline and draw call support

This patch brings following changes:
- Added BindPipeline and Draw(...) commands implementation
- Pipeline initial implementation (VertexInputState, InputAssemblyState)
- Added Context object to handle a stream of commands
- Execution of GL state when draw command issued
- Draw calls Draw and DrawIndexed supported

Change-Id: Ib5f2841ee84d4dcb8502703fdfa11c1f2b70cb0f

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

Change-Id: Ie34e0228acdab92f062aeeb3515b75c92b67e38f

3 years agoUpdated test harness to match dali-core, Pipeline VxFmt 25/253125/7
David Steele [Thu, 4 Feb 2021 17:56:42 +0000 (17:56 +0000)]
Updated test harness to match dali-core, Pipeline VxFmt

Change-Id: I9b5e59e29e890cad7e1a66b2557b1d0c61a2808c

3 years agoGLES Texture and Buffer naive implementation 27/253127/17
Adam Bialogonski [Fri, 5 Feb 2021 17:45:04 +0000 (17:45 +0000)]
GLES Texture and Buffer naive implementation

Change-Id: I3be80a810b0a8a418ecf6ec704123cc2a1607974

3 years agoUpdated test harness to match dali-core, Buffer impl 21/253121/4
David Steele [Thu, 4 Feb 2021 16:34:39 +0000 (16:34 +0000)]
Updated test harness to match dali-core, Buffer impl

Change-Id: Ic6b1fcb807392ad1bca78b34a00391d0d06a5d1f

3 years agoUpdated test harness to match dali-core : Textures 85/252985/4
David Steele [Wed, 3 Feb 2021 15:53:44 +0000 (15:53 +0000)]
Updated test harness to match dali-core : Textures

Change-Id: I7bb7b4db2c540f5fee385d9f7a9775b006bc47e1

3 years agoUsing custom graphics deleter in test harness 13/253313/3
Adam Bialogonski [Mon, 8 Feb 2021 18:19:25 +0000 (18:19 +0000)]
Using custom graphics deleter in test harness

Change-Id: I226c4955551cb4347c28389eedc7aaaf5bd8deb2

3 years ago(Vector) Add a method to load a file 95/253095/3
Heeyong Song [Thu, 4 Feb 2021 10:33:36 +0000 (19:33 +0900)]
(Vector) Add a method to load a file

Change-Id: Idc843765b494824b50408554575babeb6808f338

3 years agoMerge branch 'devel/master' into devel/graphics 11/253311/1
Adeel Kazmi [Mon, 8 Feb 2021 17:48:59 +0000 (17:48 +0000)]
Merge branch 'devel/master' into devel/graphics

Change-Id: Iae119f397bf89a67305cb79fdc4cb2f888a9c984

3 years agoRemove chunk image test as it doesn't really guarantee it is testing the chunk get... 09/253309/1
Adeel Kazmi [Mon, 8 Feb 2021 16:33:45 +0000 (16:33 +0000)]
Remove chunk image test as it doesn't really guarantee it is testing the chunk get url code

The image it refers to takes a long time to respond so the test ends up failing.
A visual test also loads this image so this part of the functionality can still be tested.

Change-Id: I244fcebef77c4ac91ace57ec00b0bcf2b33a97d2

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

Change-Id: I0b4e2d7c012837be0dac282332d76cebf2bf1856

3 years agoMerge branch 'devel/master' into devel/graphics 26/253126/1
Adeel Kazmi [Thu, 4 Feb 2021 17:59:52 +0000 (17:59 +0000)]
Merge branch 'devel/master' into devel/graphics

Change-Id: Ia164f185f4da1a1ac400a6b32a90e4d24dc62e3e

3 years ago(WebEngine) Add string includes 17/253117/1
Adeel Kazmi [Thu, 4 Feb 2021 16:13:28 +0000 (16:13 +0000)]
(WebEngine) Add string includes

Change-Id: I0d027ef32141236a148795543f86f97cd8cf929f

3 years agoUpdated header files to new format too 77/252977/6
Adeel Kazmi [Thu, 4 Feb 2021 13:45:46 +0000 (13:45 +0000)]
Updated header files to new format too

Change-Id: If7768e46a52d7c2d7b0c23f861d859f12b34b562

3 years agoFix SVACE issue 55/253055/1
Heeyong Song [Thu, 4 Feb 2021 05:43:05 +0000 (14:43 +0900)]
Fix SVACE issue

Change-Id: If8c8f2c61248125dca481e308148bd5cc584bb6d

3 years agoDummy graphics controller 75/252975/2
adam.b [Thu, 21 Jan 2021 12:43:29 +0000 (12:43 +0000)]
Dummy graphics controller

Change-Id: I23618deab26e4e8f1ef59bd09d86f8f423426593

3 years agoUpdated all code to new format 28/252828/3
Adeel Kazmi [Tue, 2 Feb 2021 16:29:46 +0000 (16:29 +0000)]
Updated all code to new format

Change-Id: I6fa681d462f586ce515ba8b31312372e7faa60b3

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

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

Change-Id: If7397ee784e56d3dd799affd76df1e5f7b1d5e21

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

Change-Id: Iaf0f60ab4fff4e83d3b8b9741f9eeb648bd1f225

3 years agoMerge "(Android) Fixed crash on exit with constraints trying to access already destro...
Adeel Kazmi [Wed, 27 Jan 2021 14:34:35 +0000 (14:34 +0000)]
Merge "(Android) Fixed crash on exit with constraints trying to access already destroyed objects" into devel/master

3 years agoUpdate position & size of web engine. 71/247971/11
huayong.xu [Mon, 9 Nov 2020 10:06:59 +0000 (18:06 +0800)]
Update position & size of web engine.

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

Change-Id: I7ec0a70a12a4ce19c3d4ddec54f127415f13c40e

3 years agoImprove code related to scroll API in web engine. 26/252026/3
huayong.xu [Fri, 22 Jan 2021 01:46:44 +0000 (09:46 +0800)]
Improve code related to scroll API in web engine.

This improvement is suggested by Mr Richard Huang.

Change-Id: Ia9e06ca7a12bf6e7e8d845f443afe89c34970b46

3 years ago(Android) Fixed crash on exit with constraints trying to access already destroyed... 16/252316/1
Adeel Kazmi [Tue, 26 Jan 2021 18:25:04 +0000 (18:25 +0000)]
(Android) Fixed crash on exit with constraints trying to access already destroyed objects

Change-Id: If416ba66f27019166d3394aefd3ae0706e8454f5

3 years agoMerge "(EglGraphics) Check if egl implementation is initialised before dereferencing...
David Steele [Tue, 26 Jan 2021 10:14:05 +0000 (10:14 +0000)]
Merge "(EglGraphics) Check if egl implementation is initialised before dereferencing it" into devel/master

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

3 years agoMerge "Add render threading for GlWindow" into devel/master
Wonsik Jung [Tue, 26 Jan 2021 03:54:03 +0000 (03:54 +0000)]
Merge "Add render threading for GlWindow" into devel/master

3 years agoMerge "Read shader binary" into devel/master
huiyu eun [Tue, 26 Jan 2021 03:54:01 +0000 (03:54 +0000)]
Merge "Read shader binary" into devel/master

3 years agoMerge "Fix configure-manager to parse cached file buffer." into devel/master
Seungho BAEK [Tue, 26 Jan 2021 03:30:25 +0000 (03:30 +0000)]
Merge "Fix configure-manager to parse cached file buffer." into devel/master

3 years agoRead shader binary 57/251257/5
huiyu.eun [Tue, 12 Jan 2021 04:35:42 +0000 (13:35 +0900)]
Read shader binary

enable shader binary :
 -DENABLE_SHADERBINCACHE=0N

Change-Id: I6a463beac1455b9316522661e22f9107c71d8749
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years ago(EglGraphics) Check if egl implementation is initialised before dereferencing it 14/252214/1
Adeel Kazmi [Mon, 25 Jan 2021 17:40:46 +0000 (17:40 +0000)]
(EglGraphics) Check if egl implementation is initialised before dereferencing it

Change-Id: I557448fcd593b2c0c8b99cfaba24343ce1104ba5

3 years agoFix configure-manager to parse cached file buffer. 54/251454/4
seungho [Thu, 14 Jan 2021 03:55:06 +0000 (12:55 +0900)]
Fix configure-manager to parse cached file buffer.

 - Current configure-manager force to read cached file buffer with fixed order.
 - It can load variables efficiently but have lisk of changing order.
 - The order is defined by order of getter call of the variables.
 - If a system already has cache file that has 3 variable A, B, and  C with this order.(that means getter called A, B, and C in sequence)
 - And we can merge new patch that adds new variable D to the cache but the getter of the variable called earlier than other existed ones.
 - then, a new system that launchs dali app first after the patche is merged can produce cache file that has variables with D, A, B, C order.
 - It is no problem. But the system we mentioned first that already has cache file of A, B, and C sequence will get modified cache file that has A, B, C, and D variable order.
 - This makes cached D useless and will produce unlimited cache file finally.(with wrong order will produce a new line per a launching dali app)

 - This patch fix configure-manager to parse cache file
 - And to block to compare string when the variable is already loaded we can reduce the increased cost.

Change-Id: I93387266099fd54295064d8ae59921999e332ef9
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoFix the synchronization issue when window is resized or rotated 38/249438/8
Wonsik Jung [Fri, 11 Dec 2020 11:43:33 +0000 (20:43 +0900)]
Fix the synchronization issue when window is resized or rotated

Window position, size and rotaton angle information are in both main and update thread.
To complete the works, the information should be synchronized in both main and update thread.
In addition, when multiple windows works and one of them resized or rotated, all windows are resized or rotated.
For fixing them, this patch has the informations are in the related modules (as Intergration::Scene, SceneGraph::Scene ... )
and are compared.

Change-Id: I03a25da7e42b0ab1133401017346e823e019e160

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

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

Change-Id: I26f663a625dbd824a1649efb7da65af57b5f1e42

3 years agoAdd some new APIs into web engine. 18/250118/4
huayong.xu [Fri, 18 Dec 2020 08:08:32 +0000 (16:08 +0800)]
Add some new APIs into web engine.

Some new APIs are added, e.g. Create, GetTitle, GetFavicon.

Change-Id: I273cb0ee6fe158674b2af65a7968905a67e4194c

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

3 years agoAdd render threading for GlWindow 86/247686/18
Wonsik Jung [Fri, 13 Nov 2020 09:48:27 +0000 (18:48 +0900)]
Add render threading for GlWindow

Add the render threading for GlWindow.
The user callback works on the separated render thread.

Change-Id: Ic2470a1fc70f02fa0d1819e8bb36c6e62325022c

3 years agoAll tests now output results to xml files 91/250091/7
David Steele [Fri, 18 Dec 2020 17:20:23 +0000 (17:20 +0000)]
All tests now output results to xml files

Change-Id: I1dc6f9170b7a7a82e1b6316c58ab880ac0fb7d1c

3 years agoImplement some new ewk apis in web engine. 56/249356/9
huayong.xu [Wed, 2 Dec 2020 09:56:19 +0000 (17:56 +0800)]
Implement some new ewk apis in web engine.

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

Change-Id: I015e667ba674d9e4037480cf43dac84d7a6f67c3

3 years agoMerge "Initial refactoring of graphics interface" into devel/master
Adeel Kazmi [Mon, 18 Jan 2021 16:30:20 +0000 (16:30 +0000)]
Merge "Initial refactoring of graphics interface" into devel/master

3 years agoInitial refactoring of graphics interface 15/251615/6
David Steele [Thu, 14 Jan 2021 19:13:39 +0000 (19:13 +0000)]
Initial refactoring of graphics interface

Wrapped GL abstractions in EglGraphicsController.

Cleaned up initialization of EglGraphics, moved most of it to render
thread.

(Kept initialization of GlImplementation in event thread - it has no
dependence on EGL)

TestGraphicsApplication creates EglGraphicsController, so that we can
now write tests for the new graphics API that run the actual code, and
can be tested using the existing gl abstraction.

Change-Id: I4237f52ff4912e8eec0dfc161b33e44d2f5e620f

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

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

Change-Id: I04ea7e3a45c00baacb6800df316450eac4c37c02

3 years agoSupport scroll in web engine. 47/250847/4
huayong.xu [Tue, 5 Jan 2021 07:00:51 +0000 (15:00 +0800)]
Support scroll in web engine.

Some APIs related to scroll are supported.

Change-Id: Ie97364cf57bd40d7a5a855387a188c2e23f7f074

3 years agoAdd GetResourceStoragePath 44/250544/3
huiyu.eun [Tue, 12 May 2020 03:01:31 +0000 (12:01 +0900)]
Add GetResourceStoragePath

Gets the absolute path to the application resource directory. The resource files are delivered with the application package.

Change-Id: I7ea92e7600a2fcefad52d5de38641cbd8d2b0d71
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years agoDALi Version 2.0.8 46/251146/1 dali_2.0.8
Richard Huang [Fri, 8 Jan 2021 14:35:39 +0000 (14:35 +0000)]
DALi Version 2.0.8

Change-Id: I0a63d63ed06709b39f17b78998abccd20cb6da6b

3 years agoUpdated macOS instructions 77/251077/1
Adeel Kazmi [Thu, 7 Jan 2021 18:21:39 +0000 (18:21 +0000)]
Updated macOS instructions

Change-Id: I68f7b275eca4967c23912a8911785b822bbae3e9

3 years agoMerge "[macos] Prevent race condition while creating the EGL Window" into devel/master
Adeel Kazmi [Wed, 6 Jan 2021 17:40:05 +0000 (17:40 +0000)]
Merge "[macos] Prevent race condition while creating the EGL Window" into devel/master

3 years agoAdd installation instructions for MacOS 18/245918/5
Lucas Cavalcante de Sousa [Tue, 13 Oct 2020 18:53:26 +0000 (15:53 -0300)]
Add installation instructions for MacOS

Change-Id: Iaef81ebce884d5238501e335b33788676ed33266

3 years agoMerge "(Mac OSX Build) Use vcpkg cairo" into devel/master
Adeel Kazmi [Wed, 6 Jan 2021 15:23:35 +0000 (15:23 +0000)]
Merge "(Mac OSX Build) Use vcpkg cairo" into devel/master

3 years agoMerge changes Icc3e3c9f,I2e268700,I89760410,Ibcf4f854 into devel/master
Adeel Kazmi [Wed, 6 Jan 2021 15:04:37 +0000 (15:04 +0000)]
Merge changes Icc3e3c9f,I2e268700,I89760410,Ibcf4f854 into devel/master

* changes:
  windows: Use FindWindow to locate the window related to the timer
  Support emojis on macOS
  Replace POSIX unnamed semaphores by dali-core primitives
  Support for the macOS platform

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

3 years ago[macos] Prevent race condition while creating the EGL Window 24/250924/2
Wander Lairson Costa [Tue, 29 Sep 2020 18:50:49 +0000 (15:50 -0300)]
[macos] Prevent race condition while creating the EGL Window

eglCreateWindowSurface must the called before the CAlayer is initialized
in the run loop. We we StartRender (which does nothing) to synchronize
the graphics initialization in the Render Thread with the main thread.

Change-Id: I85be6682ec8a25672a548cf085ef15500cd2993f

3 years ago(Mac OSX Build) Use vcpkg cairo 23/250923/1
Adeel Kazmi [Sun, 20 Dec 2020 12:34:36 +0000 (12:34 +0000)]
(Mac OSX Build) Use vcpkg cairo

Change-Id: Ibe64c3ecf29fafe29c92492f24ca4c296146d9cf

3 years agowindows: Use FindWindow to locate the window related to the timer 78/250178/3
Wander Lairson Costa [Mon, 21 Dec 2020 17:39:42 +0000 (14:39 -0300)]
windows: Use FindWindow to locate the window related to the timer

If our window is not the foreground window, GetActiveWindow() will
return a null handle, which causes the call to SetTimer to ignore the
given timer ID.

We solve this by calling FindWindow() passing the window class name when
GetActiveWindow returns null.

Change-Id: Icc3e3c9f3fd0f9cfb4f4e8cb97fabffe347c7b5d

3 years agoSupport emojis on macOS 63/245963/3
Wander Lairson Costa [Tue, 20 Oct 2020 21:33:12 +0000 (18:33 -0300)]
Support emojis on macOS

We need to add the "Apple Color Emoji" font to the lits of fonts in
Apple devices.

Change-Id: I2e268700e2bd69b613caaa31a87fd8fc16829195

3 years agoReplace POSIX unnamed semaphores by dali-core primitives 33/244733/5
Wander Lairson Costa [Tue, 22 Sep 2020 15:15:34 +0000 (12:15 -0300)]
Replace POSIX unnamed semaphores by dali-core primitives

POSIX unnamed semaphores are not implemented in macOS, making the
initialization of the main thread and the render thread racy.

Change-Id: I897604104645ab4c68ad6ebe219eda3b06060046

3 years agoSupport for the macOS platform 66/244066/17
Wander Lairson Costa [Thu, 13 Aug 2020 20:59:40 +0000 (17:59 -0300)]
Support for the macOS platform

This commit provides basic support for the macOS platform.

The macOS specific bits are in part implemented in Objectve-C++ under
the Cocoa Framework.

One note is that we installed libANGLE through vcpkg, and it is using
CGL as the default backend. We should fix this in the future in favor of
the Metal Framework.

We added a new build profile called macos, and the cmake options
"-DENABLE_PROFILE=MACOS -DPROFILE_LCASE=macos" must be passed in the
command line to build it successfully.

cairo and fontconfig packages must be installed through brew, the
version provided by vcpkg doesn't work on macOS (actually, only
fontconfig is necessary, but if you install cairo through vcpkg, it will
pull fontconfig as well).

Change-Id: Ibcf4f854721a48e3ae4e5bd710182d0dae893e05

4 years agoDALi Version 2.0.7 02/250402/1 dali_2.0.7
György Straub [Thu, 24 Dec 2020 07:48:57 +0000 (07:48 +0000)]
DALi Version 2.0.7

Change-Id: I0fab8f6081a49bdfd002bbb66b2096618bdc4fea

4 years agoMerge "Updated patch coverage script." into devel/master
Adeel Kazmi [Wed, 23 Dec 2020 16:19:39 +0000 (16:19 +0000)]
Merge "Updated patch coverage script." into devel/master

4 years agoMerge "DALi Version 2.0.6" into devel/master
Adeel Kazmi [Fri, 18 Dec 2020 11:48:20 +0000 (11:48 +0000)]
Merge "DALi Version 2.0.6" into devel/master

4 years agoDALi Version 2.0.6 49/250049/1 dali_2.0.6
adam.b [Fri, 18 Dec 2020 11:08:29 +0000 (11:08 +0000)]
DALi Version 2.0.6

Change-Id: I9c43a2cbfa441b88960e582f7a3b4a6d35b9135d

4 years agoVectorImageRendererPlugin: Remove unnecessary parameter 09/249109/3
JunsuChoi [Mon, 7 Dec 2020 07:23:57 +0000 (16:23 +0900)]
VectorImageRendererPlugin: Remove unnecessary parameter

TizenVectorImageRenderer, which implements VectorImageRendererPlugin, supports size API.
Therefore, if there are width and height, scaling is unnecessary.

Change-Id: I010036600a724810853a8805c88bd59bcd00a3d5

4 years ago(Android Build) Use the sysroot defined by the system 83/249783/1
Adeel Kazmi [Wed, 16 Dec 2020 14:18:36 +0000 (14:18 +0000)]
(Android Build) Use the sysroot defined by the system

Change-Id: If1947fed924e9f22f1c1bed0ddeee03aeb77f5d7

4 years agoSet focus for web engine. 72/247772/7
huayong.xu [Thu, 12 Nov 2020 06:12:01 +0000 (14:12 +0800)]
Set focus for web engine.

When focus of web engine is gained, focus is transfered to web engine
plugin.

Change-Id: I945b93ae802b6aca5f8fc3e1995a5af27023bdfc

4 years agoAdd error message when the file load fails 85/249385/2
huiyu.eun [Fri, 11 Dec 2020 05:21:01 +0000 (14:21 +0900)]
Add error message when the file load fails

Change-Id: I046ac03a559bea2b8d856d54951d252f46be8cf9
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years agoUpdated patch coverage script. 61/249461/1
David Steele [Fri, 11 Dec 2020 18:10:17 +0000 (18:10 +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: If292719e4541c55a58198ef006d66fb623072f0a

4 years agoDALi Version 2.0.5 42/249442/1 dali_2.0.5
David Steele [Fri, 11 Dec 2020 12:10:29 +0000 (12:10 +0000)]
DALi Version 2.0.5

Change-Id: Id5bd524222f21307096fde9defaef230967fcc62

4 years agoMerge "Invert pixel buffer y order of GetPixels in X-NativeImageSource" into devel...
Adeel Kazmi [Fri, 4 Dec 2020 17:52:10 +0000 (17:52 +0000)]
Merge "Invert pixel buffer y order of GetPixels in  X-NativeImageSource" into devel/master

4 years agoDALi Version 2.0.4 51/249051/1 dali_2.0.4
Adeel Kazmi [Fri, 4 Dec 2020 14:57:08 +0000 (14:57 +0000)]
DALi Version 2.0.4

Change-Id: Icf1c34293a8cd6405a6d5522608b6c7871806cba

4 years agosupport string_view in DALI_TEST_EQUALS 20/248920/1
Subhransu Mohanty [Thu, 3 Dec 2020 07:49:01 +0000 (16:49 +0900)]
support string_view  in DALI_TEST_EQUALS

Change-Id: Id04e701e5834233b42cf0cba6480be2f02a26a1a

4 years agoMerge "pass on Pause/Resume event to Adaptor" into devel/master
Adeel Kazmi [Fri, 27 Nov 2020 18:04:32 +0000 (18:04 +0000)]
Merge "pass on Pause/Resume event to Adaptor" into devel/master

4 years agoDALi Version 2.0.3 25/248525/1 dali_2.0.3
Richard Huang [Fri, 27 Nov 2020 11:56:56 +0000 (11:56 +0000)]
DALi Version 2.0.3

Change-Id: Ibe7f8a202c89bf7c90bb5447cd3513cb93a470f2

4 years agoReduce cyclomatic complexity of gif loader 50/248450/1
David Steele [Thu, 26 Nov 2020 16:34:41 +0000 (16:34 +0000)]
Reduce cyclomatic complexity of gif loader

Change-Id: I5ad7cf0c589f43c366bb300e2e6398f10012edb5

4 years agopass on Pause/Resume event to Adaptor 61/227361/10
Cheng-Shiun Tsai [Wed, 11 Mar 2020 10:58:39 +0000 (10:58 +0000)]
pass on Pause/Resume event to Adaptor

so that RenderThread can fall into sleep when application fade into background
Also when an application lost foreground status, OS will destroy current window
but currently adaptor does not pause and continue to render on a destroyed window and cause crash

Change-Id: Idba56610ec3444e4affe58a0b819df8fc870619e

4 years agoMerge "Support screen and client rotation" into devel/master
Adeel Kazmi [Mon, 23 Nov 2020 16:48:38 +0000 (16:48 +0000)]
Merge "Support screen and client rotation" into devel/master

4 years ago(Automated Tests) Synchronise with dali-core following Semaphore class addition 63/247863/3
Adeel Kazmi [Tue, 17 Nov 2020 18:42:23 +0000 (18:42 +0000)]
(Automated Tests) Synchronise with dali-core following Semaphore class addition

Change-Id: Ib066697270e9e22b61f5c4a5a47c678301c9b2d3

4 years agoSupport screen and client rotation 22/244822/9
Wonsik Jung [Thu, 24 Sep 2020 11:37:37 +0000 (20:37 +0900)]
Support screen and client rotation

In Tizen embedded system, two types of rotation are supported.
One is Window Rotation and the other is Screen rotation
Although their use-case are different, their rotation itself  almost works are same.
Real surface buffer is not rotated.
When rotation event is received from window server,
then internal contents are rotated and drawn with angle of the event.
This patch is to support the Tizen Rotation.

Change-Id: I311a7a93bdba55022d979e930dbc571b74e18454

4 years agoCalulating stride for Android native image 84/247784/6
Cheng-Shiun Tsai [Mon, 16 Nov 2020 14:17:52 +0000 (14:17 +0000)]
Calulating stride for Android native image

Android AHardwareBuffer_Desc.stride doesn't seem to mean width * pixelbytes like other OS
instead it appears to be width in pixels but with padding.
Adding clause to reflect this fact

Change-Id: I3aaeeea5436bb5be0e1d5defac1c40b214e8af22

4 years agoDALi Version 2.0.2 80/248080/1 dali_2.0.2
György Straub [Fri, 20 Nov 2020 07:46:02 +0000 (07:46 +0000)]
DALi Version 2.0.2

Change-Id: Icf793eaefcbf175f0eabcd1efd08b21f6efdf67e