platform/core/uifw/dali-adaptor.git
3 years agoRevert "[Tizen] Revert "Make to use right egl image extension name in the glsl 3.x"
Jaehyun Cho [Mon, 28 Jun 2021 10:35:14 +0000 (19:35 +0900)]
Revert "[Tizen] Revert "Make to use right egl image extension name in the glsl 3.x"

This reverts commit 09b3f3ad5fe767349c386b0b4f0f0fe0fafa7afb.

3 years ago[Tizen] Revert "Make to use right egl image extension name in the glsl 3.x accepted/tizen/unified/20210623.125335 submit/tizen/20210623.082820
huiyu.eun [Wed, 23 Jun 2021 08:04:36 +0000 (17:04 +0900)]
[Tizen] Revert "Make to use right egl image extension name in the glsl 3.x

This reverts commit f53afe412de49dbc41bddb58c91e46a15dfc8172.

Change-Id: I71983710a543afc5c29408e2525787cc8c0e2435

3 years ago[Tizen] Use broken image when animated image loading is failed.
huiyu.eun [Wed, 23 Jun 2021 08:04:15 +0000 (17:04 +0900)]
[Tizen] Use broken image when animated image loading is failed.

This reverts commit f147787a7bf525f76339020a0c85a296304510d8.

Change-Id: I4932c60ff4593dad65e0505532f65a097ba5b985

3 years agoMerge branch 'devel/master' into tizen
huiyu.eun [Wed, 23 Jun 2021 08:03:56 +0000 (17:03 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: Idfc0f18ec974dd93b2bcf8258a3020ac4acdd932

3 years agoRevert "[Tizen] Add DALi Autofill implementation"
huiyu.eun [Wed, 23 Jun 2021 08:03:48 +0000 (17:03 +0900)]
Revert "[Tizen] Add DALi Autofill implementation"

This reverts commit 8f80553dd523d2b009c849c8d5b40f724ae3078b.

3 years agoRevert "[Tizen] Use broken image when animated image loading is failed."
huiyu.eun [Wed, 23 Jun 2021 08:03:45 +0000 (17:03 +0900)]
Revert "[Tizen] Use broken image when animated image loading is failed."

This reverts commit ca2c0071974f1644b0b2bb7f7aecd4eab718bdf2.

3 years agoRevert "[Tizen] Revert "Make to use right egl image extension name in the glsl 3.x""
huiyu.eun [Wed, 23 Jun 2021 08:03:43 +0000 (17:03 +0900)]
Revert "[Tizen] Revert "Make to use right egl image extension name in the glsl 3.x""

This reverts commit b78e02cf65bbccf774b29d7f023b6b0c93b67e92.

3 years agoRevert "[Tizen] Revert "Destroy egl to avoid memory issue""
huiyu.eun [Wed, 23 Jun 2021 08:03:41 +0000 (17:03 +0900)]
Revert "[Tizen] Revert "Destroy egl to avoid memory issue""

This reverts commit 2a738a05eb12140c1963146ad103701cac7382ea.

3 years agoInvalidate depth and stencil buffers after finishing the rendering 80/260180/2
Richard Huang [Mon, 21 Jun 2021 13:45:02 +0000 (14:45 +0100)]
Invalidate depth and stencil buffers after finishing the rendering

Change-Id: I140a525cc748c9c411f5493aa8b34a2b7db237e8

3 years agoRemove redundant context switching 13/260113/1
Richard Huang [Fri, 18 Jun 2021 16:01:38 +0000 (17:01 +0100)]
Remove redundant context switching

Change-Id: I1d303f949834e48e00845f3cb327eca04e71bc1e

3 years agoMerge changes I7234d85c,I6a771210 into devel/master
Adeel Kazmi [Fri, 18 Jun 2021 13:29:10 +0000 (13:29 +0000)]
Merge changes I7234d85c,I6a771210 into devel/master

* changes:
  Standalone uniforms cache
  Reduced number of glTexParameteri() calls

3 years agoMerge "DALi Version 2.0.31" into devel/master
Adeel Kazmi [Fri, 18 Jun 2021 10:46:14 +0000 (10:46 +0000)]
Merge "DALi Version 2.0.31" into devel/master

3 years agoDALi Version 2.0.31 94/260094/1 dali_2.0.31
David Steele [Fri, 18 Jun 2021 10:38:01 +0000 (11:38 +0100)]
DALi Version 2.0.31

Change-Id: Ib01a1753221f5c44706f192ce6a5f35e1bc21253

3 years agoMerge "Fix related to eglImage memory" into devel/master
sunghyun kim [Fri, 18 Jun 2021 01:34:16 +0000 (01:34 +0000)]
Merge "Fix related to eglImage memory" into devel/master

3 years agoStandalone uniforms cache 30/260030/1
Adam Bialogonski [Thu, 17 Jun 2021 11:40:48 +0000 (12:40 +0100)]
Standalone uniforms cache

Change-Id: I7234d85c4f3e93f5c1a76a19e1bc41a2cb6447e2
GLES::Program uses internal uniform cache

3 years agoReduced number of glTexParameteri() calls 29/259929/2
Adam Bialogonski [Wed, 16 Jun 2021 15:19:22 +0000 (16:19 +0100)]
Reduced number of glTexParameteri() calls

Change-Id: I6a771210f015616ca9529b7d7fa03b787a06981c

3 years agoMerge "Add the exception case for window rotation." into devel/master
Wonsik Jung [Thu, 17 Jun 2021 02:31:11 +0000 (02:31 +0000)]
Merge "Add the exception case for window rotation." into devel/master

3 years agoAdd the exception case for window rotation. 02/259802/1
Wonsik Jung [Tue, 15 Jun 2021 00:49:50 +0000 (09:49 +0900)]
Add the exception case for window rotation.

When window rotaton event occurs, the window's size in rotation evnet value is initialized with 0 value.
To fix that, if window's size in rotation event value is zero, the value should be modified using DALi local data.
In addition, fix the one human error.

Change-Id: I03330dcb491b70e6b3abe1e56a9043b859adb215

3 years agoatspi: Delete assert when parent was nullptr 92/259792/1
Woochanlee [Mon, 14 Jun 2021 09:20:02 +0000 (18:20 +0900)]
atspi: Delete assert when parent was nullptr

when aurum bootstrap call command from host, this assert genereated.
it works well without assert exception here.

Change-Id: I9e0ffeb61167a2e36b8f40e383e011b8571808ff

3 years ago[Tizen] Revert "Destroy egl to avoid memory issue" accepted/tizen/unified/20210615.120317 submit/tizen/20210614.101611
Dongsug Song [Mon, 14 Jun 2021 08:58:10 +0000 (17:58 +0900)]
[Tizen] Revert "Destroy egl to avoid memory issue"

This reverts commit 3ee04aed8a7f5cf8ebe4cfeee0e4c619f393cfea.

Change-Id: I50176028d241724431e5160d458c4d30c098b662

3 years ago[Tizen] Revert "Make to use right egl image extension name in the glsl 3.x"
Dongsug Song [Mon, 14 Jun 2021 08:57:41 +0000 (17:57 +0900)]
[Tizen] Revert "Make to use right egl image extension name in the glsl 3.x"

This reverts commit fa8796fa9e81313cd331bc20c24673182e8b28bf.

Change-Id: I2ecdab37364c8b001275a2b3390dbe4d75f24d3f

3 years ago[Tizen] Use broken image when animated image loading is failed.
Dongsug Song [Mon, 14 Jun 2021 08:57:16 +0000 (17:57 +0900)]
[Tizen] Use broken image when animated image loading is failed.

This reverts commit 649096eb4c66dab6ea5422d76f173581550cfa06.

Change-Id: Ieed3d4e874e02aa7915bedde40a95beef64a66a2

3 years ago[Tizen] Add DALi Autofill implementation
Dongsug Song [Mon, 14 Jun 2021 08:56:51 +0000 (17:56 +0900)]
[Tizen] Add DALi Autofill implementation

This reverts commit 6a81c3d605dbb71875fe28984c6123825c4c89bb.

Change-Id: Ic246678cb9a6fc8e7204782be09ef041fcba7f64

3 years agoMerge branch 'devel/master' into tizen
Dongsug Song [Mon, 14 Jun 2021 08:56:18 +0000 (17:56 +0900)]
Merge branch 'devel/master' into tizen

3 years agoRevert "[Tizen] Add DALi Autofill implementation"
Dongsug Song [Mon, 14 Jun 2021 08:55:59 +0000 (17:55 +0900)]
Revert "[Tizen] Add DALi Autofill implementation"

This reverts commit 6016c6217d0377e6857eef6a8c9850e8d48f47c7.

3 years agoRevert "[Tizen] Use broken image when animated image loading is failed."
Dongsug Song [Mon, 14 Jun 2021 08:55:52 +0000 (17:55 +0900)]
Revert "[Tizen] Use broken image when animated image loading is failed."

This reverts commit 9d95e5bb08ce7e065813dfc4a0d2b2b68ccd2b7b.

3 years agoRevert "[Tizen] Revert "Make to use right egl image extension name in the glsl 3.x""
Dongsug Song [Mon, 14 Jun 2021 08:55:42 +0000 (17:55 +0900)]
Revert "[Tizen] Revert "Make to use right egl image extension name in the glsl 3.x""

This reverts commit 1b170174c5f070a33dc722945f0df20b7c72b04b.

3 years agoRevert "[Tizen] Revert "Destroy egl to avoid memory issue""
Dongsug Song [Mon, 14 Jun 2021 08:55:36 +0000 (17:55 +0900)]
Revert "[Tizen] Revert "Destroy egl to avoid memory issue""

This reverts commit 118b1e7809d06d55af4d2246614fcb6208919a5f.

3 years agoMerge "Changed when depth/stencil renderbuffers are created" into devel/master
Adeel Kazmi [Fri, 11 Jun 2021 11:43:32 +0000 (11:43 +0000)]
Merge "Changed when depth/stencil renderbuffers are created" into devel/master

3 years agoDALi Version 2.0.30 27/259727/1 dali_2.0.30
Adeel Kazmi [Fri, 11 Jun 2021 10:35:36 +0000 (11:35 +0100)]
DALi Version 2.0.30

Change-Id: I385d7ac8c1ce5914f1148ec7fd148ad09b7d6b9c

3 years agoChanged when depth/stencil renderbuffers are created 64/259664/1
David Steele [Thu, 10 Jun 2021 17:18:22 +0000 (18:18 +0100)]
Changed when depth/stencil renderbuffers are created

The framebuffer code incorrectly created renderbuffers
when textures were being attached. Instead, these are now
created when textures are not attached, but depth/stencil
attachments are required.

Change-Id: Ia417796e2f294ca3f6de174cb7318e4481ff92f5
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoMerge "(gles-context.cpp) Use pipelineState directly instead of dereferencing (SVACE...
Adeel Kazmi [Thu, 10 Jun 2021 08:45:15 +0000 (08:45 +0000)]
Merge "(gles-context.cpp) Use pipelineState directly instead of dereferencing (SVACE Error)" into devel/master

3 years agoMerge "Add api for load image from encoded buffer + fix file-reader.h bug" into devel...
Eunki Hong [Thu, 10 Jun 2021 05:43:57 +0000 (05:43 +0000)]
Merge "Add api for load image from encoded buffer + fix file-reader.h bug" into devel/master

3 years agoFix Coverity issue 75/259575/1
Heeyong Song [Thu, 10 Jun 2021 01:32:38 +0000 (10:32 +0900)]
Fix Coverity issue

Change-Id: I85b25abce2007b7ee2b8393798404877f9c9d65b

3 years agoAdd api for load image from encoded buffer + fix file-reader.h bug 19/259119/5
Eunki, Hong [Wed, 2 Jun 2021 00:54:41 +0000 (09:54 +0900)]
Add api for load image from encoded buffer + fix file-reader.h bug

Add api ImageLoading::LoadImageFromBuffer(const Dali::Vector<uint8_t>&)
We can load image from encoded image buffer.
+
Fix some portential error when we use Internal::Platform::FileReader
This patch will increase the convenience
of using a Internal::Platform::FileReader

Change-Id: I0e9b77fc4665261959ed6e027e398e78db2c1d31
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
3 years ago(gles-context.cpp) Use pipelineState directly instead of dereferencing (SVACE Error) 59/259559/1
Adeel Kazmi [Wed, 9 Jun 2021 16:22:16 +0000 (17:22 +0100)]
(gles-context.cpp) Use pipelineState directly instead of dereferencing (SVACE Error)

Change-Id: Iee2b9dc78f746e53270bbe762f7a522aba639bfc

3 years agoMerge "Fixed SVACE error in gles-context.cpp" into devel/master
Adeel Kazmi [Wed, 9 Jun 2021 11:21:17 +0000 (11:21 +0000)]
Merge "Fixed SVACE error in gles-context.cpp" into devel/master

3 years agoFix related to eglImage memory 41/259441/2
Sunghyun Kim [Tue, 8 Jun 2021 05:29:59 +0000 (14:29 +0900)]
Fix related to eglImage memory

1. Create only when there is no eglImage
2. When new eglImage is prepared, the existing eglImage need to update

Change-Id: I8a292c5744b1605b464c45ef12c2b871624c0e5e

3 years agoMerge "[AT-SPI] Add Selection interface" into devel/master
Seoyeon Kim [Wed, 9 Jun 2021 04:44:22 +0000 (04:44 +0000)]
Merge "[AT-SPI] Add Selection interface" into devel/master

3 years agoFixed SVACE error in gles-context.cpp 80/259480/1
Adeel Kazmi [Tue, 8 Jun 2021 17:35:45 +0000 (18:35 +0100)]
Fixed SVACE error in gles-context.cpp

Change-Id: I79d63e791dc00b2e9898d43c8396e09378c0bdbb

3 years agoMerge "Fixed the case when the new program is not set whe GLES Context Flush() is...
Adeel Kazmi [Tue, 8 Jun 2021 14:21:59 +0000 (14:21 +0000)]
Merge "Fixed the case when the new program is not set whe GLES Context Flush() is called." into devel/master

3 years ago[AT-SPI] Add Selection interface 13/258913/10
Artur Świgoń [Thu, 27 May 2021 13:31:47 +0000 (15:31 +0200)]
[AT-SPI] Add Selection interface

Change-Id: I893f79a9ccfb7e39fb257a798c297dc22f107cea

3 years agoCanvasRenderer: Fix build error for mac, android 58/259458/4
JunsuChoi [Tue, 8 Jun 2021 08:51:42 +0000 (17:51 +0900)]
CanvasRenderer: Fix build error for mac, android

Change-Id: I816bbc91a58c5ea82c4d7ee9c5984bdb68231346

3 years ago[Tizen] Revert "Destroy egl to avoid memory issue" tizen_integration_0608 accepted/tizen/unified/20210609.140413 submit/tizen/20210609.012218 submit/tizen/20210609.063802
Eunki, Hong [Thu, 3 Jun 2021 04:12:50 +0000 (13:12 +0900)]
[Tizen] Revert "Destroy egl to avoid memory issue"

This reverts commit 66a86e533a72c5f3cc83b0d82f88070827167b8d.

Change-Id: Ibabfd81a9702b5121de4f857d42537a671d4bdae

3 years ago[Tizen] Revert "Make to use right egl image extension name in the glsl 3.x"
Eunki, Hong [Thu, 3 Jun 2021 03:49:23 +0000 (12:49 +0900)]
[Tizen] Revert "Make to use right egl image extension name in the glsl 3.x"

This reverts commit be84c04ec66073691ffbff8a33ccf7d3442b80b5.

Change-Id: Ic6ccb3b9b1a6385ea94cd4b00dde6a6c603f46e8

3 years ago[Tizen] Use broken image when animated image loading is failed.
Taehyub Kim [Tue, 8 Jun 2021 08:43:01 +0000 (17:43 +0900)]
[Tizen] Use broken image when animated image loading is failed.

This reverts commit 4550865fdd5a760777de6a459e4abb973e71a04b.

3 years ago[Tizen] Add DALi Autofill implementation
Taehyub Kim [Tue, 8 Jun 2021 08:40:52 +0000 (17:40 +0900)]
[Tizen] Add DALi Autofill implementation

This reverts commit 291b9fab0aadc3cbc2c56f5457693cfb51c4f612.

Change-Id: Iccd1607a15e448828c831250994cb14f160f99e0

3 years agoMerge branch 'devel/master' into tizen
Taehyub Kim [Tue, 8 Jun 2021 08:38:31 +0000 (17:38 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I225989d855b68d891257097eee0a42925aa4fe30

3 years agoFixed the case when the new program is not set whe GLES Context Flush() is called. 55/259455/1
Adam Bialogonski [Tue, 8 Jun 2021 08:28:41 +0000 (09:28 +0100)]
Fixed the case when the new program is not set whe GLES Context Flush() is called.

Change-Id: I071cdb6f356f22550d5a319d90ec135d96f8d11a

3 years agoCanvasRenderer: Clean up code 33/258633/4
JunsuChoi [Fri, 21 May 2021 09:06:22 +0000 (18:06 +0900)]
CanvasRenderer: Clean up code

fix indentation and remove unnecessary code.

Change-Id: Ifc7928a1b04fb46d3a973999864c4053047c6384

3 years agoCanvasRenderer: Add missing parentheses for @copydoc 37/258537/6
JunsuChoi [Thu, 20 May 2021 04:22:31 +0000 (13:22 +0900)]
CanvasRenderer: Add missing parentheses for @copydoc

Change-Id: Id4c09f6e358a0f8a76b41bf7b41489a927295ec6

3 years agoMerge "CanvasRenderer: Refactoring tvgObject management" into devel/master
junsu choi [Tue, 8 Jun 2021 01:42:00 +0000 (01:42 +0000)]
Merge "CanvasRenderer: Refactoring tvgObject management" into devel/master

3 years agoMerge "Add CanvasRenderer::DrawableGroup class" into devel/master
junsu choi [Tue, 8 Jun 2021 01:41:55 +0000 (01:41 +0000)]
Merge "Add CanvasRenderer::DrawableGroup class" into devel/master

3 years agoAdd ETC2_EAC compressed texture format 64/259364/1
Heeyong Song [Mon, 7 Jun 2021 00:57:49 +0000 (09:57 +0900)]
Add ETC2_EAC compressed texture format

Change-Id: I0a5d5188c8241080244bc77d40c49a338f0af797

3 years agoDALi Version 2.0.29 24/259324/1 dali_2.0.29
Adam Bialogonski [Fri, 4 Jun 2021 08:56:47 +0000 (09:56 +0100)]
DALi Version 2.0.29

Change-Id: I911e991b6ca39342aa4b09ecbd46f3783293abcc

3 years agoCanvasRenderer: Refactoring tvgObject management 36/258536/8
JunsuChoi [Tue, 18 May 2021 08:08:45 +0000 (17:08 +0900)]
CanvasRenderer: Refactoring tvgObject management

Thorvg is designed for immediate rendering, tvg objects use unique ptr.
However, CanvasRenderer, Shape, Drawable, and DrawableGroup inherit BaseHandle
and work according to the lifecycle of Dali objects.
CanvasRenderer classes unnecessarily checks whether tvgObject is deleted.
So we don't push each in each AddDrawable method. Just before drawing,
we clear the canvas and push all the objects managed by the list directly.

The memory of the pushed object is managed in the canvas.
Each Drawable class only needs to manage its own tvg object.

Change-Id: I373fbe4a34c8b8a3a72d222744226f84075575d7

3 years agoAdd CanvasRenderer::DrawableGroup class 35/258535/10
JunsuChoi [Tue, 27 Apr 2021 06:31:04 +0000 (15:31 +0900)]
Add CanvasRenderer::DrawableGroup class

DrawableGroup is a class that implements ThorVG's tvg::Scene 1:1.
This feature can add and control multiple Drawable objects.
Since this class inherits Drawable, user can use Drawable's Opacity and Transformation methods.

class DALI_ADAPTOR_API DrawableGroup : public Drawable
AddDrawable
Clear

Change-Id: I8b95907c2df4510f3b2f7a62c249ab634214414e

3 years agoMulti-level context caching 47/258847/7
Richard Huang [Tue, 25 May 2021 16:50:28 +0000 (17:50 +0100)]
Multi-level context caching

Change-Id: I31f298c50e584df98f722cf01fd6eb6d4517d90b

3 years agoMerge "[AT-SPI] Add SetTextContents, InsertText and DeleteText" into devel/master
Seoyeon Kim [Tue, 1 Jun 2021 09:35:30 +0000 (09:35 +0000)]
Merge "[AT-SPI] Add SetTextContents, InsertText and DeleteText" into devel/master

3 years agoRevert "[Tizen] Sync for libds"
Shinwoo Kim [Tue, 1 Jun 2021 01:04:21 +0000 (10:04 +0900)]
Revert "[Tizen] Sync for libds"

This reverts commit ad2d205c2782a21487700ee9cd23fcd44b6baa3b.

3 years agoRevert "[Tizen] Add DALi Autofill implementation"
Shinwoo Kim [Tue, 1 Jun 2021 01:04:11 +0000 (10:04 +0900)]
Revert "[Tizen] Add DALi Autofill implementation"

This reverts commit 9e3545baf5bb3e4ef01de1b63756d98e81c68b97.

3 years agoRevert "[Tizen] Use broken image when animated image loading is failed."
Shinwoo Kim [Tue, 1 Jun 2021 01:04:03 +0000 (10:04 +0900)]
Revert "[Tizen] Use broken image when animated image loading is failed."

This reverts commit 89545d87f0f8a4a72ba94f92080d690907e1c81d.

3 years agoRevert "[Tizen] vector-animation: Imeplements rive animation"
Shinwoo Kim [Tue, 1 Jun 2021 01:03:53 +0000 (10:03 +0900)]
Revert "[Tizen] vector-animation: Imeplements rive animation"

This reverts commit 6f0592414c5e7acdfadccfde0f9bcb594ff9cb2f.

3 years agoRevert "[Tizen] Rename functions, variables, etc related to policy decision."
Shinwoo Kim [Tue, 1 Jun 2021 01:03:20 +0000 (10:03 +0900)]
Revert "[Tizen] Rename functions, variables, etc related to policy decision."

This reverts commit c00651068b08b96303fe19eb937c409f8d133e4e.

3 years agoRevert "[Tizen] Ensured GL calls are not made after EGL Shutdown"
Shinwoo Kim [Tue, 1 Jun 2021 01:03:00 +0000 (10:03 +0900)]
Revert "[Tizen] Ensured GL calls are not made after EGL Shutdown"

This reverts commit 2ccd4e09d9f11936b46af192b3bfb09fc66c46f3.

3 years agoRevert "[Tizen] Modify window configure notification event callback"
Shinwoo Kim [Tue, 1 Jun 2021 01:02:46 +0000 (10:02 +0900)]
Revert "[Tizen] Modify window configure notification event callback"

This reverts commit 935c0efc8a8f559eb3afad650e302219032fff24.

3 years agoRevert "[Tizen] Add text wrapping hyphen mode support"
Shinwoo Kim [Tue, 1 Jun 2021 01:01:53 +0000 (10:01 +0900)]
Revert "[Tizen] Add text wrapping hyphen mode support"

This reverts commit d84536e885d09fc1d402e84a47f17c1f1baeb2d0.

3 years agoRevert "[Tizen] Fixed reported SVACE error in hyphenation-impl.cpp"
Shinwoo Kim [Tue, 1 Jun 2021 01:01:45 +0000 (10:01 +0900)]
Revert "[Tizen] Fixed reported SVACE error in hyphenation-impl.cpp"

This reverts commit 147d49eb19170988fdcafaa62eb0c3309c612522.

3 years agoRevert "[Tizen] Fixing issue: On Text, reducing font-point-size when the Glyph-block...
Shinwoo Kim [Tue, 1 Jun 2021 01:01:32 +0000 (10:01 +0900)]
Revert "[Tizen] Fixing issue: On Text, reducing font-point-size when the Glyph-block-size be larger than Atlas-block-size to fit into it."

This reverts commit b49c9b5318bda2f74ce7320b20ab0b6541f1af0e.

3 years agoRevert "[Tizen] Window operations return detail result"
Shinwoo Kim [Tue, 1 Jun 2021 01:01:21 +0000 (10:01 +0900)]
Revert "[Tizen] Window operations return detail result"

This reverts commit 884981790e55ff2cefe3b374b41576808580c65e.

3 years agoRevert "[Tizen][AT_SPI] Remove Bridge::EnableAutoInit() arguments and etc."
Shinwoo Kim [Tue, 1 Jun 2021 01:01:13 +0000 (10:01 +0900)]
Revert "[Tizen][AT_SPI] Remove Bridge::EnableAutoInit() arguments and etc."

This reverts commit b29fce6b662a6f4a82d7667714473e16b3967220.

3 years ago[Tizen] Fix related to eglImage memory 76/259076/2
Sunghyun Kim [Mon, 31 May 2021 01:22:53 +0000 (10:22 +0900)]
[Tizen] Fix related to eglImage memory

1. Create only when there is no eglImage
2. When new eglImage is prepared, the existing eglImage need to update

Change-Id: I03d4f0df913203a29bc6f3f912ddcf08072a5911

3 years ago[AT-SPI] EmitBoundsChanged() for Window 88/258788/2
Artur Świgoń [Tue, 25 May 2021 15:23:11 +0000 (17:23 +0200)]
[AT-SPI] EmitBoundsChanged() for Window

BoundsChanged is no longer emitted for all actors, so this needs to be
handled manually here.

Change-Id: I88596975d2422d689e5ea4a64176da6c1a92eb0c

3 years agoDALi Version 2.0.28 67/258967/1 dali_2.0.28
Richard Huang [Fri, 28 May 2021 09:51:03 +0000 (10:51 +0100)]
DALi Version 2.0.28

Change-Id: If7675e570fb533f4215ba26fa92493a6fcf12872

3 years ago[AT-SPI] Add SetTextContents, InsertText and DeleteText 56/256956/5
Bartlomiej Grzelewski [Thu, 15 Apr 2021 08:52:01 +0000 (10:52 +0200)]
[AT-SPI] Add SetTextContents, InsertText and DeleteText

Extend at-spi interface of EditableText objects.

Change-Id: I32b315f996bb1a8b769a71196f6606e628f0a302

3 years agoMerge "Fixed SVACE errors in Test Graphics & EglGraphicsController" into devel/master
Adeel Kazmi [Thu, 27 May 2021 11:47:46 +0000 (11:47 +0000)]
Merge "Fixed SVACE errors in Test Graphics & EglGraphicsController" into devel/master

3 years ago[Tizen][AT_SPI] Remove Bridge::EnableAutoInit() arguments and etc. 07/258907/1
Artur Świgoń [Thu, 15 Apr 2021 09:53:25 +0000 (11:53 +0200)]
[Tizen][AT_SPI] Remove Bridge::EnableAutoInit() arguments and etc.

This includes followings:

[AT-SPI] Add API for blocking automatic Bridge initialization
atspi: suppress reading of screen-reader
atspi: suppress screen-reader by env variable
atspi: reduce DBus signal 'BoundsChanged'
[AT-SPI] Remove Bridge::EnableAutoInit() arguments

Change-Id: I6a903786b4e6df403211a47fb5522d10de9a6bf2

3 years agoFixed SVACE errors in Test Graphics & EglGraphicsController 00/258900/1
Adeel Kazmi [Thu, 27 May 2021 09:40:56 +0000 (10:40 +0100)]
Fixed SVACE errors in Test Graphics & EglGraphicsController

Change-Id: I21fd4aa8adaa52a83f24fd729fdbcf947e5fac02

3 years agoReturn captured results with PixelBuffer 10/258810/7
seungho [Tue, 25 May 2021 08:48:13 +0000 (17:48 +0900)]
Return captured results with PixelBuffer

 - Returns buffer of captured result
 - To return pixelBuffer help to control captured image like crop or picking color.

Change-Id: Iaa8f4402c0cb495d9a7cb18b8a297ab5d84b96a0
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years ago[Tizen] Window operations return detail result 80/258880/1
Jiyun Yang [Wed, 12 May 2021 06:40:13 +0000 (15:40 +0900)]
[Tizen] Window operations return detail result

Change-Id: I849cb5349a093142e45edf12599588634f354233
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoMerge "Merge branch 'devel/master' into devel/graphics" into devel/master
David Steele [Wed, 26 May 2021 12:27:06 +0000 (12:27 +0000)]
Merge "Merge branch 'devel/master' into devel/graphics" into devel/master

3 years agoMerge branch 'devel/master' into devel/graphics 94/258794/2
David Steele [Tue, 25 May 2021 23:27:07 +0000 (00:27 +0100)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I074c2bb0fbb1d6775cfbadcf4f1271e177bc12c2

3 years ago[Tizen] Fixing issue: On Text, reducing font-point-size when the Glyph-block-size... 65/258865/1
Shrouq Sabah [Wed, 10 Mar 2021 12:57:22 +0000 (14:57 +0200)]
[Tizen] Fixing issue: On Text, reducing font-point-size when the Glyph-block-size be larger than Atlas-block-size to fit into it.

Issue: On TextEditor or TextField when use font size (Point-Size) which creating Glyphs its size larger than Atlas-block size then logging error says that can’t create block and nothing appear in Text-Controller.

Solution: At Adaptor level, checking block size according to point-size if the block will be larger than Atlas size then keep decreasing point-size until achieve block that fit into Atlas size.
Toolkit calls API named “EnableAtlasLimitation” on Font-Client object to activate this validation on Adaptor level. Since the Atlas size information added as constants in Font-Client class.
Log warning that the point-size is reduced.
Automated test-cases added to Adaptor and Toolkit

Added APIs into font-client/Adaptor for Point-size & Atlas information instead of constants/literal values in toolkit.

Reproduce by:
Creating TextEditor or TextFiled then set properties:
mEditor.SetProperty( TextEditor::Property::POINT_SIZE, 330) ;
mEditor.SetProperty( TextEditor::Property::FONT_FAMILY, " DejaVu Sans ") ;

Logged error appears:
Logged ERROR: “ERROR: DALI: CreateAtlas Atlas 512 x 512 too small. Dimensions need to be at least 517x517”
Logged ERROR: “ERROR: DALI: Add Failed to create an atlas of 512 x 512 blocksize: 514 x 514.”

Change-Id: Ia47462aa74b9807ed916fd63c4ba8b47437582e6

3 years ago[Tizen] Fixed reported SVACE error in hyphenation-impl.cpp 64/258864/1
Adeel Kazmi [Tue, 11 May 2021 09:01:01 +0000 (10:01 +0100)]
[Tizen] Fixed reported SVACE error in hyphenation-impl.cpp

Change-Id: I6a7bc8ce2abeae871cd294477ebb1458eb53bb36

3 years ago[Tizen] Add text wrapping hyphen mode support 63/258863/1
abdullah [Thu, 25 Feb 2021 11:56:44 +0000 (13:56 +0200)]
[Tizen] Add text wrapping hyphen mode support

related to
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/254279/2

Change-Id: I3172f6f4017c6901493d01105af27cb9f57118e4

3 years agoAdd flag for mapping buffer in native surface 20/258720/4
Sunghyun Kim [Tue, 25 May 2021 01:33:54 +0000 (10:33 +0900)]
Add flag for mapping buffer in native surface

If application want to write to the buffer,
it has to use TBM_SURF_OPTION_WRITE flag.
so i added this flag in AcquireBuffer().

Change-Id: I376d61d85a779d1dc2c4aeac7779151a3e24fd4c

3 years ago(loader-webp.cpp) Fixed SVACE errors 91/258791/1
Adeel Kazmi [Tue, 25 May 2021 16:45:48 +0000 (17:45 +0100)]
(loader-webp.cpp) Fixed SVACE errors

Change-Id: I2e44b7ff7f8bc8a5994080ed43bf2cb29f945712

3 years agoManaged Unified Uniform Buffer 40/258240/6 devel/graphics
Adam Bialogonski [Thu, 13 May 2021 16:02:02 +0000 (17:02 +0100)]
Managed Unified Uniform Buffer

Single uniform buffer is created in order to store uniform data for all rendered items.

Change-Id: I6ab17d1652eb9cc0cb8500ea3fd8dcc25d5795d3

3 years agoMerge "CanvasRenderer::Drawable: Add GetBoundingBox api" into devel/master
junsu choi [Tue, 25 May 2021 01:43:05 +0000 (01:43 +0000)]
Merge "CanvasRenderer::Drawable: Add GetBoundingBox api" into devel/master

3 years agoMake non-animated webp file can be loaded. 53/257853/14
seungho [Tue, 4 May 2021 09:02:29 +0000 (18:02 +0900)]
Make non-animated webp file can be loaded.

 - Make webp file that has wrong file extension can be loaded as a single image with image-visual.
 - Make webp file that hasn't animated option can be loaded with animated-image-visual without duplicated loading.

Change-Id: Idab5ed59d3bb06e87dd6028a39b41b8ea0986371
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoSplit sync object into EGL/GLES variants 62/258662/2
David Steele [Fri, 21 May 2021 10:17:59 +0000 (11:17 +0100)]
Split sync object into EGL/GLES variants

Change-Id: Ic6d7df510b6c604cffbca34eb1a6128c708cfb69

3 years agoAdding GLES::SyncObject implementation 17/258517/2
David Steele [Tue, 18 May 2021 12:30:27 +0000 (13:30 +0100)]
Adding GLES::SyncObject implementation

The GLES::SyncObject wraps the existing EglSyncObject
(potential for refactoring here).

The old Integration::GlSyncAbstraction has been removed.

When EndRenderPass is executed, if there is a sync object,
then an EGL sync object is created through the extension API.
(This could be changed to GlCreateSyncObject with GLES 3.2)

This object is polled through the graphics API by render manager.

Change-Id: I879e344ff04f0e68c3c492e5d741a1550bd8992d
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoHandling compressed texture formats 53/258653/1
David Steele [Fri, 21 May 2021 11:02:06 +0000 (12:02 +0100)]
Handling compressed texture formats

Change-Id: Ib30625353258ac017965fa3ef3b64b90caea77a8

3 years agoDALi Version 2.0.27 35/258635/1 dali_2.0.27
David Steele [Fri, 21 May 2021 09:17:46 +0000 (10:17 +0100)]
DALi Version 2.0.27

Change-Id: Ide707fb67d98ad134c47db247b4e7d66b1bf51ca

3 years agoRevert "Add CanvasRenderer::DrawableGroup class"
JunsuChoi [Thu, 20 May 2021 04:26:33 +0000 (13:26 +0900)]
Revert "Add CanvasRenderer::DrawableGroup class"

This reverts commit 0b4e0176b41f88be8c5408d1134ad6a374bb7bf3.

3 years agoRevert "CanvasRenderer: Refactoring tvgObject management"
JunsuChoi [Thu, 20 May 2021 04:26:27 +0000 (13:26 +0900)]
Revert "CanvasRenderer: Refactoring tvgObject management"

This reverts commit 208e2c517e8e8fa6364768be5fd56f73f89f7ebd.

3 years agoRevert "CanvasRenderer: Add missing parentheses for @copydoc"
JunsuChoi [Thu, 20 May 2021 04:26:22 +0000 (13:26 +0900)]
Revert "CanvasRenderer: Add missing parentheses for @copydoc"

This reverts commit af84e45f419a0cd1748d0d3af3f9f243c09336aa.

3 years agoCanvasRenderer: Add missing parentheses for @copydoc
JunsuChoi [Thu, 20 May 2021 04:22:31 +0000 (13:22 +0900)]
CanvasRenderer: Add missing parentheses for @copydoc

Change-Id: Id4c09f6e358a0f8a76b41bf7b41489a927295ec6

3 years agoCanvasRenderer: Refactoring tvgObject management 75/258475/3
JunsuChoi [Tue, 18 May 2021 08:08:45 +0000 (17:08 +0900)]
CanvasRenderer: Refactoring tvgObject management

Thorvg is designed for immediate rendering, tvg objects use unique ptr.
However, CanvasRenderer, Shape, Drawable, and DrawableGroup inherit BaseHandle
and work according to the lifecycle of Dali objects.
CanvasRenderer classes unnecessarily checks whether tvgObject is deleted.
So we don't push each in each AddDrawable method. Just before drawing,
we clear the canvas and push all the objects managed by the list directly.

The memory of the pushed object is managed in the canvas.
Each Drawable class only needs to manage its own tvg object.

Change-Id: If6c8d08b02c32ef6e359292cdc048e81214a99e7

3 years agoAdd CanvasRenderer::DrawableGroup class 38/257538/9
JunsuChoi [Tue, 27 Apr 2021 06:31:04 +0000 (15:31 +0900)]
Add CanvasRenderer::DrawableGroup class

DrawableGroup is a class that implements ThorVG's tvg::Scene 1:1.
This feature can add and control multiple Drawable objects.
Since this class inherits Drawable, user can use Drawable's Opacity and Transformation methods.

class DALI_ADAPTOR_API DrawableGroup : public Drawable
AddDrawable
Clear

Change-Id: I61bcf56f025bf8c01f9211eac2112ebd3dc90fdb