platform/core/uifw/dali-adaptor.git
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 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 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 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 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

3 years agoMerge "Support partial update in case of window rotation" into devel/master
Heeyong Song [Thu, 20 May 2021 01:21:50 +0000 (01:21 +0000)]
Merge "Support partial update in case of window rotation" into devel/master

3 years agoMerge "atspi: use 'class' key for Dali type name in NonControlAccessible" into devel...
Seoyeon Kim [Tue, 18 May 2021 00:51:48 +0000 (00:51 +0000)]
Merge "atspi: use 'class' key for Dali type name in NonControlAccessible" into devel/master

3 years agoMerge "Using correct internal formats for image uploading" into devel/graphics
Adeel Kazmi [Fri, 14 May 2021 16:42:29 +0000 (16:42 +0000)]
Merge "Using correct internal formats for image uploading" into devel/graphics

3 years agoatspi: use 'class' key for Dali type name in NonControlAccessible 01/258401/2
Lukasz Oleksak [Fri, 14 May 2021 16:00:23 +0000 (18:00 +0200)]
atspi: use 'class' key for Dali type name in NonControlAccessible

for consistency with change:
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/257992/

Change-Id: Ie474993b60ac4325f1f7d91608c11bd33b3313c9

3 years agoFixed SVACE error in BridgeBase 98/258398/1
Adeel Kazmi [Fri, 14 May 2021 12:10:47 +0000 (13:10 +0100)]
Fixed SVACE error in BridgeBase

Change-Id: I1a6bdbaf6b6c3c2e080f1767533f5471f4b4395f

3 years agoMerge "[AT-SPI] Remove Bridge::EnableAutoInit() arguments" into devel/master
Adeel Kazmi [Fri, 14 May 2021 11:51:36 +0000 (11:51 +0000)]
Merge "[AT-SPI] Remove Bridge::EnableAutoInit() arguments" into devel/master

3 years agoDALi Version 2.0.26 85/258385/1 dali_2.0.26
Adam Bialogonski [Fri, 14 May 2021 10:20:58 +0000 (11:20 +0100)]
DALi Version 2.0.26

Change-Id: Iec6f24dc2b6ee08095474f5998d8effa10f399eb

3 years ago[AT-SPI] Remove Bridge::EnableAutoInit() arguments 12/258012/2
Artur Świgoń [Fri, 7 May 2021 10:59:37 +0000 (12:59 +0200)]
[AT-SPI] Remove Bridge::EnableAutoInit() arguments

The values `topLevelWindow` and `applicationName` can be retrieved using
(internal) dali-adaptor API. This will simplify upcoming C# bindings and
make this API easier to use in NUI applications.

This patch also fixes a possible bug where WindowEvent::ACTIVATE is not
sent over DBus.

Change-Id: I3305e400d85876e6f50d5e7b3a5453dcc6d885b2

3 years agoSupport partial update in case of window rotation 12/257612/4
Heeyong Song [Wed, 28 Apr 2021 07:19:15 +0000 (16:19 +0900)]
Support partial update in case of window rotation

Change-Id: I4f86ec31676b2460409350858e034dd27045dd72

3 years agoMerge branch 'devel/master' into devel/graphics 25/258325/1
Adeel Kazmi [Thu, 13 May 2021 11:55:55 +0000 (12:55 +0100)]
Merge branch 'devel/master' into devel/graphics

Change-Id: I1cac687307125e358fe8f5892f2189803fe1dc89

3 years agoMerge "Limits texture upload buffer to 1MB and flushes upload requests in case of...
Adeel Kazmi [Thu, 13 May 2021 11:40:00 +0000 (11:40 +0000)]
Merge "Limits texture upload buffer to 1MB and flushes upload requests in case of exceeding the maximum size." into devel/master

3 years agoMerge "Window operations return detail result" into devel/master
JIYUN YANG [Thu, 13 May 2021 05:59:28 +0000 (05:59 +0000)]
Merge "Window operations return detail result" into devel/master

3 years agoMerge "Modify window configure notification event callback" into devel/master
Wonsik Jung [Thu, 13 May 2021 05:04:16 +0000 (05:04 +0000)]
Merge "Modify window configure notification event callback" into devel/master

3 years agoUsing correct internal formats for image uploading 25/258225/2
David Steele [Wed, 12 May 2021 10:30:05 +0000 (11:30 +0100)]
Using correct internal formats for image uploading

Adding packed small float pixel format

KTX supports packed small float pixel format, adding to DALi pixel format.

Modified texture upload to ensure the right internal format is used for
the destination texture, and the right method is chosen for uploading
cube map image.

Change-Id: I877ec5e5573c5f0482afc2b6c201ea8dda032cdc
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoLimits texture upload buffer to 1MB and flushes upload requests 66/258166/2
adam.b [Tue, 11 May 2021 15:10:01 +0000 (16:10 +0100)]
Limits texture upload buffer to 1MB and flushes upload requests
in case of exceeding the maximum size.

Change-Id: If6ab05dd557afba718be53dd7d114f54eb1263e6

3 years agoWindow operations return detail result 00/258200/4
Jiyun Yang [Wed, 12 May 2021 06:40:13 +0000 (15:40 +0900)]
Window operations return detail result

Change-Id: I849cb5349a093142e45edf12599588634f354233
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
3 years agoMove tbm acquiring part 56/245556/14
Daekwang Ryu [Thu, 21 Jan 2021 10:03:31 +0000 (19:03 +0900)]
Move tbm acquiring part

TBM acquiring part is moved to EvasPlugin and OffscreenWindow.
PostRenderSignal is removed and SetPostRenderCallback is added in
OffscreenWindow.

Change-Id: I4adfd699930a4dcc5e1298da9a0f1e199feadf54

3 years agoModify window configure notification event callback 44/257844/8
Wonsik Jung [Tue, 4 May 2021 07:27:17 +0000 (16:27 +0900)]
Modify window configure notification event callback

Modify configure notification event callback for window is resized or moved.
This evnet is sent from the display server.
If the event has 0'size, the window is resized by client application.
In this case, dali should ignore that.
If the event has real size size, the window is resized by display server.
In this case, dali should resize own's window buffer and re-render his contents.

Change-Id: I1c72c7c8cd06ed388f43b59e18a29793f73b3b31

3 years agoMerge "Fixed reported SVACE error in hyphenation-impl.cpp" into devel/master
Adeel Kazmi [Tue, 11 May 2021 14:18:21 +0000 (14:18 +0000)]
Merge "Fixed reported SVACE error in hyphenation-impl.cpp" into devel/master

3 years agoFixed reported SVACE error in hyphenation-impl.cpp 52/258152/2
Adeel Kazmi [Tue, 11 May 2021 09:01:01 +0000 (10:01 +0100)]
Fixed reported SVACE error in hyphenation-impl.cpp

Change-Id: I6a7bc8ce2abeae871cd294477ebb1458eb53bb36

3 years agoMerge "Ensured GL calls are not made after EGL Shutdown" into devel/master
Adeel Kazmi [Tue, 11 May 2021 10:06:28 +0000 (10:06 +0000)]
Merge "Ensured GL calls are not made after EGL Shutdown" into devel/master

3 years agoMerge "atspi: reduce DBus signal 'BoundsChanged'" into devel/master
Shinwoo Kim [Tue, 11 May 2021 09:30:40 +0000 (09:30 +0000)]
Merge "atspi: reduce DBus signal 'BoundsChanged'" into devel/master

3 years agoMerge "atspi: suppress screen-reader by env variable" into devel/master
Shinwoo Kim [Tue, 11 May 2021 09:28:35 +0000 (09:28 +0000)]
Merge "atspi: suppress screen-reader by env variable" into devel/master

3 years agoMerge "Make to use right egl image extension name in the glsl 3.x" into devel/master
Seungho BAEK [Mon, 10 May 2021 23:43:58 +0000 (23:43 +0000)]
Merge "Make to use right egl image extension name in the glsl 3.x" into devel/master

3 years agoEnsured GL calls are not made after EGL Shutdown 98/258098/1
David Steele [Wed, 14 Apr 2021 11:37:02 +0000 (12:37 +0100)]
Ensured GL calls are not made after EGL Shutdown

Change-Id: I70005692526475ad2db02ae30f0fb88a13eb1c86

3 years agoMake to use right egl image extension name in the glsl 3.x 23/257623/2
seungho [Wed, 28 Apr 2021 09:09:31 +0000 (18:09 +0900)]
Make to use right egl image extension name in the glsl 3.x

Change-Id: I7b3764a7dade3c442189d51a076f86820081ea31
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoMerge "Add text wrapping hyphen mode support" into devel/master
Bowon Ryu [Mon, 10 May 2021 05:35:14 +0000 (05:35 +0000)]
Merge "Add text wrapping hyphen mode support" into devel/master

3 years agoFixed SVACE issue in GlWindowRenderThread 17/258017/1
Adeel Kazmi [Fri, 7 May 2021 11:30:00 +0000 (12:30 +0100)]
Fixed SVACE issue in GlWindowRenderThread

Change-Id: Ie47b9d45bb030fa81646a1398033ce2ef71e1d7b

3 years agoatspi: suppress screen-reader by env variable 10/258010/1
Shinwoo Kim [Fri, 7 May 2021 10:53:32 +0000 (19:53 +0900)]
atspi: suppress screen-reader by env variable

The application could use TTS directly, so this kind of application
does not want screen-reader to read for it, even though it should
emit atspi event such as 'focused' for another AT-Client including
the Aurum.

Change-Id: I7106a4e7eb5cb7a42ef347d32ffbc01eda12fce9

3 years agoDALi Version 2.0.25 95/257995/1 dali_2.0.25
Adeel Kazmi [Fri, 7 May 2021 10:34:18 +0000 (11:34 +0100)]
DALi Version 2.0.25

Change-Id: I28e46ea446937c690e82a01b2add6011343301f7

3 years agoTexture mipmap support 21/257921/2
Richard Huang [Thu, 6 May 2021 10:32:54 +0000 (11:32 +0100)]
Texture mipmap support

Change-Id: I396de4aa6ae128edc84150e174a9fb13986add0c

3 years agoMerge "fix window resize and roation issue in GlWindow" into devel/master
Wonsik Jung [Thu, 6 May 2021 08:36:14 +0000 (08:36 +0000)]
Merge "fix window resize and roation issue in GlWindow" into devel/master

3 years agoMerge "Rename functions, variables, etc related to policy decision." into devel/master
JIYUN YANG [Thu, 6 May 2021 06:48:46 +0000 (06:48 +0000)]
Merge "Rename functions, variables, etc related to policy decision." into devel/master

3 years agofix window resize and roation issue in GlWindow 70/256570/13
Wonsik Jung [Wed, 7 Apr 2021 08:31:00 +0000 (17:31 +0900)]
fix window resize and roation issue in GlWindow

After render thread function was added to GlWindow,
GlWindow's resize and rotation don't work.
This patch is to fix them

Change-Id: I0708a3531309b5588a8b28a97315a0afa5bdb05a

3 years agoCanvasRenderer::Drawable: Add GetBoundingBox api 37/257837/1
JunsuChoi [Tue, 4 May 2021 04:51:33 +0000 (13:51 +0900)]
CanvasRenderer::Drawable: Add GetBoundingBox api

Add GetBoundingBox api that uses thorvg's tvg::paint::bounds() api.

Change-Id: I7faaef2d7ce3e151f22278d76a2a4d491afe62dc

3 years agoDo not use GL_MAJOR_VERSION and GL_MINOR_VERSION at the OpenGL es 2.0 device. 18/257818/2
seungho [Mon, 3 May 2021 09:22:29 +0000 (18:22 +0900)]
Do not use GL_MAJOR_VERSION and GL_MINOR_VERSION at the OpenGL es 2.0 device.

Change-Id: Ie3c25e711c2e4de8d7c5d7f4bcd08e2c0182a573
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoatspi: suppress reading of screen-reader 57/257057/8
Shinwoo Kim [Mon, 19 Apr 2021 04:57:04 +0000 (13:57 +0900)]
atspi: suppress reading of screen-reader

Because there is legacy code for screen-reader, an application could want
to keep previous behavior of the screen-reader even though the ATSPI is
enabled by AT client such as Aurum test framework.

If an application wants to make screen-reader AT client do not read,
then set suppress to true. The default suppress is false.

Change-Id: I2a639b50d7920f59366def7b6467fe38bc754fbe

3 years agoCubeMap support 67/257567/3
Richard Huang [Tue, 27 Apr 2021 16:07:34 +0000 (17:07 +0100)]
CubeMap support

Change-Id: Idbe013328b3acb5e72931f16def48df609dbdb6f

3 years agoAdding texture conversion on upload 79/257779/1
David Steele [Fri, 30 Apr 2021 13:02:02 +0000 (14:02 +0100)]
Adding texture conversion on upload

Change-Id: I92173724636d535bbe550c45e5d1affb8b47b507

3 years agoMerge "DALi Version 2.0.24" into devel/master
David Steele [Fri, 30 Apr 2021 10:07:44 +0000 (10:07 +0000)]
Merge "DALi Version 2.0.24" into devel/master

3 years agoDALi Version 2.0.24 55/257755/1 dali_2.0.24
Richard Huang [Fri, 30 Apr 2021 10:02:15 +0000 (11:02 +0100)]
DALi Version 2.0.24

Change-Id: Ide2f9bc114c8652d37dfb8450c6bdd38f982b36c

3 years agoRename functions, variables, etc related to policy decision. 48/257748/1
huayong.xu [Fri, 30 Apr 2021 07:36:35 +0000 (15:36 +0800)]
Rename functions, variables, etc related to policy decision.

Originally 'policy,newwindow,decide' is processed, it is not
expected. Actually 'policy,response,decide' need be processed.
This patch is to rename some functions, callbacks, variables, etc.

Change-Id: Ie7e359986790786bef57d45a47f5ae42f54f3bae

3 years agoMerge "[AT-SPI] Add API for blocking automatic Bridge initialization" into devel...
Seoyeon Kim [Fri, 30 Apr 2021 06:18:36 +0000 (06:18 +0000)]
Merge "[AT-SPI] Add API for blocking automatic Bridge initialization" into devel/master

3 years agoMerge "CanvasRenderer: Revise for-loop using ranged-based" into devel/master
junsu choi [Fri, 30 Apr 2021 04:18:28 +0000 (04:18 +0000)]
Merge "CanvasRenderer: Revise for-loop using ranged-based" into devel/master

3 years agoAdd text wrapping hyphen mode support 78/254278/20
abdullah [Thu, 25 Feb 2021 11:56:44 +0000 (13:56 +0200)]
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 agovector-animation: Imeplements rive animation 49/256449/14
Taehyub Kim [Fri, 2 Apr 2021 12:35:25 +0000 (21:35 +0900)]
vector-animation: Imeplements rive animation

Change-Id: Ib361f8d06955d28669050fc5181c4e493f082d17

3 years agoAdded doxygen comments to new graphics commands 38/257638/1
David Steele [Wed, 28 Apr 2021 15:44:36 +0000 (16:44 +0100)]
Added doxygen comments to new graphics commands

Change-Id: Ie8d21e93f598228bab22409c26ae522e2653d877

3 years agoMerge "Windows build fixes" into devel/master
Adeel Kazmi [Wed, 28 Apr 2021 15:00:37 +0000 (15:00 +0000)]
Merge "Windows build fixes" into devel/master

3 years agoWindows build fixes 75/257575/4
Adeel Kazmi [Tue, 27 Apr 2021 18:05:42 +0000 (19:05 +0100)]
Windows build fixes

Change-Id: Idba3b0866ae0eead75fa94e1fb442dd558dddfd4

3 years agoAdding basic command buffer debugging 72/257572/2
David Steele [Tue, 27 Apr 2021 15:08:48 +0000 (16:08 +0100)]
Adding basic command buffer debugging

Change-Id: I040ca3e95748bcc42ece39530b70979932292d8b

3 years agoAdding Depth/Stencil implementation 71/257571/2
David Steele [Tue, 27 Apr 2021 15:02:16 +0000 (16:02 +0100)]
Adding Depth/Stencil implementation

Ensures depth and stencil masks are set before clearing
at the start of the render pass.

Change-Id: Iec81fc4bf07d2a79b0a09b684fbbf477f9b57155

3 years agoCanvasRenderer: Revise for-loop using ranged-based 13/257613/1
JunsuChoi [Wed, 28 Apr 2021 07:21:34 +0000 (16:21 +0900)]
CanvasRenderer: Revise for-loop using ranged-based

To improve the readability of the code,
for loop is changed to use ranged-based with auto keyword.

Change-Id: I9c2d7ea592b964a163d2e3bd2e6dbcfbf611ec1f

3 years agoCanvasRenderer: Move sync() after draw() 91/257591/1
JunsuChoi [Wed, 28 Apr 2021 04:04:45 +0000 (13:04 +0900)]
CanvasRenderer: Move sync() after draw()

thorvg's sync() should be called after draw().

Change-Id: Ic3e914d94b6e623ca488286b225dd31f6bd62b0f

3 years agoatspi: reduce DBus signal 'BoundsChanged' 74/256974/5
Shinwoo Kim [Fri, 16 Apr 2021 00:41:28 +0000 (09:41 +0900)]
atspi: reduce DBus signal 'BoundsChanged'

No AT-client listens the BoundsChanged event,
but there are a large number of 'BoundsChanged' events.
This patch is reducing unnecessary DBus use.

Change-Id: If3aff4b38221156e149b80f35d75e86a037a9c9d

3 years agoFixing issue: On Text, reducing font-point-size when the Glyph-block-size be larger... 22/254922/33
Shrouq Sabah [Wed, 10 Mar 2021 12:57:22 +0000 (14:57 +0200)]
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[AT-SPI] Add API for blocking automatic Bridge initialization 59/256959/2
Artur Świgoń [Thu, 15 Apr 2021 09:53:25 +0000 (11:53 +0200)]
[AT-SPI] Add API for blocking automatic Bridge initialization

Change-Id: Iee34ae36bc5778e610a01da5b96e2ecf5408bcf9

3 years agoDestroy egl to avoid memory issue 14/256914/2
tscholb [Wed, 14 Apr 2021 12:01:43 +0000 (21:01 +0900)]
Destroy egl to avoid memory issue

Change-Id: I02e90949a3738c0e2fea9196af5f3ab9f62a02da

3 years agoMerge "Set correct GLES version in graphics controller" into devel/graphics
Adeel Kazmi [Mon, 26 Apr 2021 15:22:26 +0000 (15:22 +0000)]
Merge "Set correct GLES version in graphics controller" into devel/graphics

3 years agoChange decoding error log level 59/257459/1
Heeyong Song [Mon, 26 Apr 2021 08:11:38 +0000 (17:11 +0900)]
Change decoding error log level

Change-Id: I3c14defc1ffa6e28107519f3646f0d0288dd65f8

3 years agoMerge "Add post processor" into devel/master
Seungho BAEK [Mon, 26 Apr 2021 05:21:52 +0000 (05:21 +0000)]
Merge "Add post processor" into devel/master

3 years agoSet correct GLES version in graphics controller 13/257413/1
Richard Huang [Fri, 23 Apr 2021 15:02:45 +0000 (16:02 +0100)]
Set correct GLES version in graphics controller

Change-Id: I7e53b1c943dcce8644dda89ccac5bb6390e57649

3 years agoMerge "Changes to constness of command buffer" into devel/graphics
David Steele [Fri, 23 Apr 2021 12:58:38 +0000 (12:58 +0000)]
Merge "Changes to constness of command buffer" into devel/graphics

3 years agoDALi Version 2.0.23 91/257391/1 dali_2.0.23
Adeel Kazmi [Fri, 23 Apr 2021 08:29:10 +0000 (09:29 +0100)]
DALi Version 2.0.23

Change-Id: I7edd098fffe658b6c891b8d840f42765e90d4458

3 years agoAdd post processor 96/256496/4
seungho [Mon, 5 Apr 2021 13:04:15 +0000 (22:04 +0900)]
Add post processor

Change-Id: I837f92294d34d7a0a5b11f27e7a7494f8ed69db5
Signed-off-by: seungho <sbsh.baek@samsung.com>
3 years agoChanges to constness of command buffer 49/257249/2
David Steele [Wed, 21 Apr 2021 17:00:28 +0000 (18:00 +0100)]
Changes to constness of command buffer

Change-Id: Ibfab9d24b937d3a616db5f41ad9caabd14603116

3 years agoMerge "Adding sampler uniforms to GLES::Program/Reflection" into devel/graphics
David Steele [Mon, 19 Apr 2021 13:29:27 +0000 (13:29 +0000)]
Merge "Adding sampler uniforms to GLES::Program/Reflection" into devel/graphics

3 years agoAdd APIs of webview context 78/256678/10
zhouleonlei [Fri, 9 Apr 2021 06:15:13 +0000 (14:15 +0800)]
Add APIs of webview context

ewk_context_cache_disabled_get
ewk_context_certificate_file_get
ewk_context_tizen_app_id_set
ewk_context_tizen_app_version_set
ewk_context_application_type_set
ewk_context_time_offset_set
ewk_context_timezone_offset_set
ewk_context_register_url_schemes_as_cors_enabled
ewk_context_register_jsplugin_mime_types
ewk_context_default_zoom_factor_set
ewk_context_default_zoom_factor_get
ewk_context_application_cache_delete_all
ewk_context_web_indexed_database_delete_all
ewk_context_form_password_data_list_free
ewk_context_form_password_data_delete_all
ewk_context_form_candidate_data_delete_all
ewk_context_proxy_uri_get
ewk_context_proxy_set
ewk_context_proxy_bypass_rule_get
ewk_context_notify_low_memory

Change-Id: Iecde099b3aaaedcf73b25a406f9bc84d509172fe

3 years agoAdding sampler uniforms to GLES::Program/Reflection 24/257124/1
David Steele [Thu, 15 Apr 2021 11:39:29 +0000 (12:39 +0100)]
Adding sampler uniforms to GLES::Program/Reflection

Sampler uniform initialization now happens during Flush call
when textures are bound. (Was still being done in DALi Core)

Changed test gl abstraction to initialize active uniforms to known
uniforms or to add specific uniforms per test case.
Reflection will use the active uniform list to generate the
list of known uniforms for each shader.(only 1 list for all shaders)

Change-Id: I1b3d6eb6ca307e20fcc3368399160a1f82ee1615

3 years agoMerge "DALi Version 2.0.22" into devel/master
Adeel Kazmi [Fri, 16 Apr 2021 13:20:12 +0000 (13:20 +0000)]
Merge "DALi Version 2.0.22" into devel/master

3 years agoDALi Version 2.0.22 24/257024/1 dali_2.0.22
David Steele [Fri, 16 Apr 2021 13:02:54 +0000 (14:02 +0100)]
DALi Version 2.0.22

Change-Id: Ic5feef64e98b33a4973019d7249d4b16962571a5

3 years agoAdd changesWatch for webview cookie 49/255349/5
zhouleonlei [Wed, 17 Mar 2021 08:06:52 +0000 (16:06 +0800)]
Add changesWatch for webview cookie

Change-Id: I92dac00111a04138d3511e6ca74a4feab0263cca

3 years agoFix pre-initialized window issue 29/255329/14
huiyu.eun [Wed, 17 Mar 2021 05:08:21 +0000 (14:08 +0900)]
Fix pre-initialized window issue

1) Showing window after adaptor is initialized
 The Preinitialization creates a window in advance.
 If you call the 'Show' before creating the adaptor, the application cannot know the app resource id.
 The show must be called after the adaptor is initialized.

2) Resize pre-initialized window
 The pre-created window must be resized as needed after launching the app.
 (Environment variables, app arguments..)
 Some apps can receive screen size differently after launching by specifying size in manifest.
 So screen size checking is needed once more.

3) Store only the value before adaptor is created
 Occurs crash if resize the window before the adapter is created.

Change-Id: I0c928f4ebba752fed951df24d88a1a7c396acb7a
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
3 years agoMerge "Create GLES::Context per render surface" into devel/graphics
Adeel Kazmi [Thu, 15 Apr 2021 15:18:22 +0000 (15:18 +0000)]
Merge "Create GLES::Context per render surface" into devel/graphics

3 years agoMerge "CanvasRenderer::Shape: Add ResetPath() method for reset path information"...
junsu choi [Thu, 15 Apr 2021 01:01:09 +0000 (01:01 +0000)]
Merge "CanvasRenderer::Shape: Add ResetPath() method for reset path information" into devel/master

3 years agoEnsured GL calls are not made after EGL Shutdown 11/256911/4
David Steele [Wed, 14 Apr 2021 11:37:02 +0000 (12:37 +0100)]
Ensured GL calls are not made after EGL Shutdown

Change-Id: I70005692526475ad2db02ae30f0fb88a13eb1c86

3 years ago(Automated Tests) Added some negative Window & Application test cases 23/256923/1
Adeel Kazmi [Wed, 14 Apr 2021 16:24:59 +0000 (17:24 +0100)]
(Automated Tests) Added some negative Window & Application test cases

Change-Id: I18542b066f3acab67838f4604a6486efa08306be

3 years agoUpdated test harness 19/256919/2
Adam Bialogonski [Wed, 14 Apr 2021 14:20:36 +0000 (15:20 +0100)]
Updated test harness

Change-Id: I7df233ddf68241cd7d8a8da6a71ce262dd85262f

3 years agoCreate GLES::Context per render surface 33/256833/2
Richard Huang [Tue, 13 Apr 2021 15:35:27 +0000 (16:35 +0100)]
Create GLES::Context per render surface

Change-Id: Id25ef7ab659e9b5b9d94be9df7e67a91797152fa

3 years agoCanvasRenderer::Shape: Add ResetPath() method for reset path information 97/256797/3
JunsuChoi [Tue, 13 Apr 2021 07:07:30 +0000 (16:07 +0900)]
CanvasRenderer::Shape: Add ResetPath() method for reset path information

There was no way to modify or remote previously added path information.
The user can update the shape by deleting the path information
and adding a new path information by using ResetPath() API.

Change-Id: Ia5a6484877aa410c18ba6c53d72bc65c77ad09fa