platform/core/uifw/dali-adaptor.git
2 years ago[AT-SPI] Suppress some events in Widget windows 86/277486/2
Artur Świgoń [Thu, 7 Jul 2022 10:54:38 +0000 (12:54 +0200)]
[AT-SPI] Suppress some events in Widget windows

While the Widget is technically a window in DALi, it should not be seen
as a window by AT clients such as the Screen Reader, i.e. it should not
grab and narrow down the navigation context. Suppressing window events
and some state events (notably, State::SHOWING, however the API offers
an all-or-nothing granularity only) is necessary to achieve this goal.

Change-Id: I0873751f025bbdd321aa26444c070bf064c0ce3f

2 years ago[AT-SPI] SetPreferredBusName in WidgetImplTizen 18/261418/24
Artur Świgoń [Fri, 20 May 2022 11:58:49 +0000 (13:58 +0200)]
[AT-SPI] SetPreferredBusName in WidgetImplTizen

Reserving a well-known bus name allows the widget to be discovered and
embedded by the parent application without any prior information
exchange (which would be impossible before establishing a connection
anyway).

Change-Id: I6dddcf2dda4651f3592a73bb293418512286e311

2 years ago[AT-SPI] Add Bridge::SetPreferredBusName() 23/275323/11
Artur Świgoń [Fri, 20 May 2022 09:07:51 +0000 (11:07 +0200)]
[AT-SPI] Add Bridge::SetPreferredBusName()

This API allows an application to register a string identifier as a bus
name alias on the AT-SPI bus (e.g. "org.tizen.AppName") that remains
constant across a series of activations and deactivations of AT-SPI, in
contrast to the numeric bus name, which changes every time (e.g.
":1.23", ":1.27", ":1.31" etc.).

Change-Id: Idaec55df4bcd73bc26befa5c03c3c1c9e3972781

2 years ago[AT-SPI] Make ApplicationAccessible::GetStates() result non-empty 87/277087/4
Artur Świgoń [Thu, 30 Jun 2022 11:35:01 +0000 (13:35 +0200)]
[AT-SPI] Make ApplicationAccessible::GetStates() result non-empty

This patch makes ApplicationAccessible::GetStates() return a bitwise OR
of its children's states instead of an empty set (bitmask).

Change-Id: I98400cd86e4a46fa108d18c8b8c54f340a6b9726

2 years ago[AT-SPI] Implement Component in ApplicationAccessible 56/275656/9
Artur Świgoń [Fri, 27 May 2022 18:34:17 +0000 (20:34 +0200)]
[AT-SPI] Implement Component in ApplicationAccessible

When ApplicationAccessible is embedded in another process (i.e. it is a
widget), then it needs to have the Component interface for its subtree
to be considered during navigation (e.g. moving the highlight frame
between the parent process and the embedded process).

Change-Id: Id7eaae3c76061ca16448f115d99206b142cc429b

2 years ago[AT-SPI] Implement Socket in ApplicationAccessible 06/263206/20
Artur Świgoń [Thu, 21 Apr 2022 15:12:57 +0000 (17:12 +0200)]
[AT-SPI] Implement Socket in ApplicationAccessible

The ApplicationAccessible needs to expose the Socket interface in order
to be embeddable in a remote process (the WidgetView).

Change-Id: I1141749d8cb64038157c46a3e295abdc09c2c299

2 years agoMerge "Direct Rendering" into devel/master
Adeel Kazmi [Thu, 7 Jul 2022 09:22:42 +0000 (09:22 +0000)]
Merge "Direct Rendering" into devel/master

2 years agoMerge "Add UI thread feature on Tizen" into devel/master
Daekwang Ryu [Thu, 7 Jul 2022 06:49:18 +0000 (06:49 +0000)]
Merge "Add UI thread feature on Tizen" into devel/master

2 years agoAdd UI thread feature on Tizen 09/274609/21
Daekwang Ryu [Wed, 6 Jul 2022 06:51:22 +0000 (15:51 +0900)]
Add UI thread feature on Tizen

The UiThread means that the application creates a thread for the UI events.
So the Dali::Adaptor is created on the UiThread, not the main thread.
When you enable UiThread,
the signals (Init, Terminate, Pause, Resume, Reset, AppControl, LanguageChanged, RegionChanged, LowBattery, LowMemory)
are emitted on the UiThread.
If you want to get the events on the main thread, you must connect the task signals(TaskInit, TaskTerminate, etc.).
When you don't enable the UiThread, the task signals aren't emitted.

Change-Id: I2cc57e85fa50f9b854531efa6048796aadbe6da9

2 years agoReorder NativeImageQueue's ColorFormat 22/277322/1
Eunki, Hong [Tue, 5 Jul 2022 06:08:57 +0000 (15:08 +0900)]
Reorder NativeImageQueue's ColorFormat

Due to the NUI use ColorFormat as int,
and BGR types are legacy works,
let we keep previous behavior (==BGR) number as 0,1,2.
And make new things as bigger than 2.

Change-Id: I8d18c08aa79166f047e7f2b3844df7ca2847c546
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDirect Rendering 34/276534/7
Adam Bialogonski [Fri, 17 Jun 2022 09:31:04 +0000 (10:31 +0100)]
Direct Rendering

- Added passing the shared context to the callback
- The context created by the draw call now can share the GL resources

Change-Id: I20933ec4fbc7812b6589124bcd452ee7a7e317a6

2 years agoMerge "DALi Version 2.1.29" into devel/master
David Steele [Fri, 1 Jul 2022 11:12:16 +0000 (11:12 +0000)]
Merge "DALi Version 2.1.29" into devel/master

2 years agoDALi Version 2.1.29 90/277190/1 dali_2.1.29
David Steele [Fri, 1 Jul 2022 11:06:59 +0000 (12:06 +0100)]
DALi Version 2.1.29

Change-Id: Ic0461367c7033955746fe7923acc192eabb200d2

2 years agoFix name of glyph compression name 73/277173/2
Eunki, Hong [Fri, 1 Jul 2022 07:57:59 +0000 (16:57 +0900)]
Fix name of glyph compression name

Change-Id: I656a7f172e21badbe6390d94150ec7fb90fcf68a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Add InterceptKeyEvent" into devel/master
joogab yun [Fri, 1 Jul 2022 08:14:24 +0000 (08:14 +0000)]
Merge "Add InterceptKeyEvent" into devel/master

2 years agoMerge "Cache rendered glyph if required. + Copyless glyph creation" into devel/master
Heeyong Song [Fri, 1 Jul 2022 07:06:10 +0000 (07:06 +0000)]
Merge "Cache rendered glyph if required. + Copyless glyph creation" into devel/master

2 years agoAdd InterceptKeyEvent 68/276868/4
joogab.yun [Fri, 1 Jul 2022 06:18:46 +0000 (15:18 +0900)]
Add InterceptKeyEvent

dependency : https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/276883/

Change-Id: I57c8858d5f2492e7c18135624cb3e44f6149e3a7

2 years agoMerge "Fix a bug when using tbm_dummy_display_create" into devel/master
Daekwang Ryu [Fri, 1 Jul 2022 02:12:33 +0000 (02:12 +0000)]
Merge "Fix a bug when using tbm_dummy_display_create" into devel/master

2 years agoCache rendered glyph if required. + Copyless glyph creation 99/276599/26
Eunki, Hong [Tue, 21 Jun 2022 10:42:31 +0000 (19:42 +0900)]
Cache rendered glyph if required. + Copyless glyph creation

Call FT_Glyph_To_Bitmap might be overhead for some system.
But cache the rendered bitmap information could be another overhead.

So, we try to ask environment and store the bitmap result.

Follow as EFL system, we will store it as 8bit -> 4bit reduced
and RLE4 compression.

+

Now we can know the buffer's ownership for FontClient::GlyphBufferData.
We can use the buffer without copy if need.

Change-Id: I82a76961c84679c04750f0de904096130cb69df2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoAdd ColorFormat::BGR~~ on NativeImageSourceQueue 81/277081/3
Eunki, Hong [Thu, 30 Jun 2022 08:18:13 +0000 (17:18 +0900)]
Add ColorFormat::BGR~~ on NativeImageSourceQueue

Sync the enum name's order with pixel byte order.
TODO : After other codes (NUI, dali-extension-tv) fixed done,
We should make RGB~~ works well

Change-Id: Ie8409dbc6c7c5179173cd5547279defcbb6f645e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoFix a bug when using tbm_dummy_display_create 20/261920/4
Daekwang Ryu [Thu, 30 Jun 2022 06:12:43 +0000 (15:12 +0900)]
Fix a bug when using tbm_dummy_display_create

We have to init tbm_bugmgr.

Change-Id: If476e1122f8e9739723fa08a20ccd60a7ed346cf

2 years agoMerge "Add function to set maximum/minimum size" into devel/master
Wonsik Jung [Mon, 27 Jun 2022 02:02:59 +0000 (02:02 +0000)]
Merge "Add function to set maximum/minimum size" into devel/master

2 years agoMerge "DALi Version 2.1.28" into devel/master
David Steele [Fri, 24 Jun 2022 13:25:51 +0000 (13:25 +0000)]
Merge "DALi Version 2.1.28" into devel/master

2 years agoDALi Version 2.1.28 89/276789/1 dali_2.1.28
Adeel Kazmi [Fri, 24 Jun 2022 13:08:38 +0000 (14:08 +0100)]
DALi Version 2.1.28

Change-Id: If3e3c9efb3707ab082bf93220383496baa6538b9

2 years agoAdd function to set maximum/minimum size 54/275754/13
Wonsik Jung [Tue, 31 May 2022 11:57:39 +0000 (20:57 +0900)]
Add function to set maximum/minimum size

It is to set the maximized size when window is maximized or the size is increased by RequestResizeToServer.
Although the limitation is set by this function, window's size can be over the limitation by SetPositionSize() or SetSize().
The Set minimum size is similar to set maximum size.
Also it is only useful for tizen world.

Change-Id: Ife4e7709cc7e082ae866a187a681c0e70a488ead

2 years ago(Network) Add a custom_command option 77/275477/11
Adeel Kazmi [Wed, 25 May 2022 19:43:00 +0000 (20:43 +0100)]
(Network) Add a custom_command option

Add -DENABLE_NETWORK_LOGGING=ON to cmake build to enable this and when
running, DALI_NETWORK_CONTROL=1 must also be set.

The default port is 3031, every new DALi app uses the next available port
after this.

Change-Id: Ia20a25f5ca3faa0d17f3fee0b3bb9e64d09af31c

2 years agoApply app-core-ui-cpp 05/275805/6
Daekwang Ryu [Wed, 22 Jun 2022 02:46:46 +0000 (11:46 +0900)]
Apply app-core-ui-cpp

This is a prerequisite to applying the Ui Thread app model.

Change-Id: I194b283f8503fdc9cb48abfa86ae1cdbb20e3284

2 years agoMerge "Fixed SVACE error in font-client-plugin-impl.cpp" into devel/master
Adeel Kazmi [Fri, 17 Jun 2022 10:53:35 +0000 (10:53 +0000)]
Merge "Fixed SVACE error in font-client-plugin-impl.cpp" into devel/master

2 years agoDALi Version 2.1.27 96/276496/1 dali_2.1.27
David Steele [Fri, 17 Jun 2022 10:28:00 +0000 (11:28 +0100)]
DALi Version 2.1.27

Change-Id: Ia89177228c560d414e8bd26643126d9e0341c178

2 years agoFixed SVACE error in font-client-plugin-impl.cpp 90/276490/1
Adeel Kazmi [Fri, 17 Jun 2022 09:02:03 +0000 (10:02 +0100)]
Fixed SVACE error in font-client-plugin-impl.cpp

Change-Id: Iedebfa10d07861f6956dc69ba5d3461628de00c4

2 years agoMerge "Heuristic optimize on GetFontId" into devel/master
Eunki Hong [Thu, 16 Jun 2022 11:14:49 +0000 (11:14 +0000)]
Merge "Heuristic optimize on GetFontId" into devel/master

2 years agoFix webp loading decode frame bug 44/276344/1
Eunki, Hong [Wed, 15 Jun 2022 04:56:47 +0000 (13:56 +0900)]
Fix webp loading decode frame bug

When we try to decode at the same frame, same loader
and not 0 frame, It will fail to decode.

Due to we don't hold latest preload pixel buffer,
It will think that we fail to decode the frame.

This patch make we decode current frame one more time.

Change-Id: I6ab6cd0a5929c4d7b184d0508313c6906750ab9a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoHeuristic optimize on GetFontId 58/276258/3
Eunki, Hong [Mon, 13 Jun 2022 13:08:02 +0000 (22:08 +0900)]
Heuristic optimize on GetFontId

Most of case, we use same font and size continously.
So before find container, We can re-use latest comparision.

GetFontId called for every characters.
So, minor reducing will help to whole runtime.

Change-Id: I291655c709b9bafa62c7d4f6b669eff589b1766e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Fix window rotation issue" into devel/master
Heeyong Song [Mon, 13 Jun 2022 05:13:40 +0000 (05:13 +0000)]
Merge "Fix window rotation issue" into devel/master

2 years agoMerge "Remove unused file" into devel/master
Heeyong Song [Mon, 13 Jun 2022 05:13:25 +0000 (05:13 +0000)]
Merge "Remove unused file" into devel/master

2 years agoMerge "Fix SIGBUS error during downscaling." into devel/master
David Steele [Fri, 10 Jun 2022 13:53:51 +0000 (13:53 +0000)]
Merge "Fix SIGBUS error during downscaling." into devel/master

2 years agoMerge "Fix Typo Eerror." into devel/master
David Steele [Fri, 10 Jun 2022 13:13:43 +0000 (13:13 +0000)]
Merge "Fix Typo Eerror." into devel/master

2 years agoMerge "Harfbuzz Shape optimize" into devel/master
David Steele [Fri, 10 Jun 2022 13:12:29 +0000 (13:12 +0000)]
Merge "Harfbuzz Shape optimize" into devel/master

2 years agoFix Typo Eerror. 89/276189/1
Eunki, Hong [Fri, 10 Jun 2022 12:02:16 +0000 (21:02 +0900)]
Fix Typo Eerror.

Eevent --> Event

Change-Id: I0dd0ffa229ae0b3268fbd05b70e041f442887273
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoFix SIGBUS error during downscaling. 50/276150/4
Eunki, Hong [Fri, 10 Jun 2022 06:32:44 +0000 (15:32 +0900)]
Fix SIGBUS error during downscaling.

Some devices are sensitive as ptr align.
This patch check the pointer's ptr value,
and decide whether we can use 8-step boost or not.

+

Minor bug fix

Change-Id: Ia2c787a000e9a54b746fa2aec88ef4cf4e5da4cc
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.1.26 73/276173/1 dali_2.1.26
Adam Bialogonski [Fri, 10 Jun 2022 08:53:37 +0000 (09:53 +0100)]
DALi Version 2.1.26

Change-Id: Ibe160dc671d70a6621ef071d33dc846559703cb9

2 years agoFix window rotation issue 25/276125/1
Heeyong Song [Fri, 10 Jun 2022 01:15:11 +0000 (10:15 +0900)]
Fix window rotation issue

Pause the Adaptor
The window is rotated or resized
ForceNextUpdate - it may be by texture uploading
  CombinedUpdateRenderController::mUploadWithoutRendering = true;
So rendering is skipped

We should render the scene to send an ack to the window server in case of the window rotaion even though the Adaptor is paused.

Change-Id: Ibd3ea8eb7a91a601537a89b6db5b72955c54a45b

2 years agoRemove unused file 49/275849/2
Heeyong Song [Fri, 3 Jun 2022 01:11:16 +0000 (10:11 +0900)]
Remove unused file

Change-Id: I2c6bf3a79c616ea196afa177ed6418436d164bb2

2 years agoHarfbuzz Shape optimize 74/275574/21
Eunki, Hong [Thu, 26 May 2022 08:05:10 +0000 (17:05 +0900)]
Harfbuzz Shape optimize

Make harfbuzz library use our optimized FontClient plugin cache feature.
It will reduce shape time near 90%.

NOTE : When we use bitmap glyph, advance value return not-valid value.
But harfbuzz library already return not-valid value here. So don't care about it.

Change-Id: I70bf16e10a2f8274ed01ed207a6c08db26dc3f16
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Change timing to get system values when needed" into devel/master
Heeyong Song [Thu, 9 Jun 2022 09:01:13 +0000 (09:01 +0000)]
Merge "Change timing to get system values when needed" into devel/master

2 years agoAdd methods to Window 95/275695/5
Heeyong Song [Mon, 30 May 2022 08:49:36 +0000 (17:49 +0900)]
Add methods to Window

Add methods to get the last key/touch event from the Window

Change-Id: I91bdcd37308c2aebd4f3697fb4b66758022db41d

2 years agoChange timing to get system values when needed 89/275989/2
Heeyong Song [Wed, 8 Jun 2022 06:25:10 +0000 (15:25 +0900)]
Change timing to get system values when needed

Change-Id: I94f55f20083197635819968fb0ebf156bda1edd9

2 years agoCreate glyph bitmap without copy if single color 67/275967/5
Eunki, Hong [Tue, 7 Jun 2022 13:22:38 +0000 (22:22 +0900)]
Create glyph bitmap without copy if single color

Make we don't use memcpy when we get simple glyph bitmap
who rendered by FreeType library.
Just copy the pointer, and deallocate our own.
+
allocate all glyph's data.buffer as malloc instead of new.
Because FreeType Bitmap memory allocated by malloc system.
We must be release them as free, not delete[].

Change-Id: Ic13cfe22e894d8ed8caa1e837bfb02fa4c846083
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoReduce the number of resize for emoji 61/275961/3
Eunki, Hong [Tue, 7 Jun 2022 10:44:31 +0000 (19:44 +0900)]
Reduce the number of resize for emoji

When we use fixed size glyph, It did resize for
every glyph creation.

This patch make we store resized bitmap glyph
so reduce the time of text rendering.

Resized glyph will be cached. Due to the memory issue,
we only convert the size when glyph become smaller enough.

Change-Id: I4303f76dc8d3e52d809c4744a9878ee731d8493f
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "DragAndDrop: clean up drop target's resources when drag window is left" into...
Taehyub Kim [Tue, 7 Jun 2022 04:21:28 +0000 (04:21 +0000)]
Merge "DragAndDrop: clean up drop target's resources when drag window is left" into devel/master

2 years agoDragAndDrop: clean up drop target's resources when drag window is left 32/275832/1
Taehyub Kim [Thu, 2 Jun 2022 10:43:37 +0000 (19:43 +0900)]
DragAndDrop: clean up drop target's resources when drag window is left

Change-Id: I0cd231065469349a6165caa2d4ab7fd216da5620

2 years agoFontClient plugin cache optimize 87/275287/28
Eunki, Hong [Thu, 19 May 2022 13:13:55 +0000 (22:13 +0900)]
FontClient plugin cache optimize

1. Make find operation of the fontId by fontDescriptionId and
requestedPointSize int O(1) by unordered_map.

2. Cache 128 (or DALI_GLYPH_CACHE_MAX) Glyphs per each glyphIndex.
So we can access glyph informations more faster.
This Glyph cache algorithm working as LRU (Least Recently Used).

TODO : is LRUCacheContainer used only for text-abstraction/plugin?

Change-Id: I9f66435527b73507ffa85c71bc4b594545c5f1eb
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoDALi Version 2.1.25 70/275770/1 dali_2.1.25
Richard Huang [Wed, 1 Jun 2022 10:15:07 +0000 (11:15 +0100)]
DALi Version 2.1.25

Change-Id: I77c8d9c49968938e0033b5ebf9071ca161d7af71

2 years agoMerge "[AT-SPI] emit showing event for window" into devel/master
Seoyeon Kim [Mon, 30 May 2022 09:09:27 +0000 (09:09 +0000)]
Merge "[AT-SPI] emit showing event for window" into devel/master

2 years agoMerge "DALi Version 2.1.24" into devel/master
Adeel Kazmi [Fri, 27 May 2022 12:18:37 +0000 (12:18 +0000)]
Merge "DALi Version 2.1.24" into devel/master

2 years agoMerge "(egl-implementation.cpp) Removed unnecessary Error message" into devel/master
Adeel Kazmi [Fri, 27 May 2022 12:17:23 +0000 (12:17 +0000)]
Merge "(egl-implementation.cpp) Removed unnecessary Error message" into devel/master

2 years agoDALi Version 2.1.24 37/275637/1 dali_2.1.24
Adeel Kazmi [Fri, 27 May 2022 12:01:01 +0000 (13:01 +0100)]
DALi Version 2.1.24

Change-Id: I8e3e3bad7001b4bd75097726ee16f17cdb7a530d

2 years ago(egl-implementation.cpp) Removed unnecessary Error message 89/275589/1
Adeel Kazmi [Thu, 26 May 2022 17:03:40 +0000 (18:03 +0100)]
(egl-implementation.cpp) Removed unnecessary Error message

Change-Id: I6630c7ea4f5e765ad591b85a1a1b14d7583e00d8

2 years agoAdd ecore_wl2_window_geometry_set() in tizen window backend 80/275580/1
Wonsik Jung [Thu, 26 May 2022 11:30:24 +0000 (20:30 +0900)]
Add ecore_wl2_window_geometry_set() in tizen window backend

Add ecore_wl2_window_geometry_set() when configure notification event occurs.
Because configure notificaiton event is emitted by display server and dali should notify that to ecore-wl2 layer.
In addition, display server and ecore-wl2 layer are separated.

Change-Id: I31dbf03e59afed9556d98189e60b5b3540f71857

2 years agoSet the LoadSuccessflag to false after ReleaseResource() is called 95/275195/3
tscholb [Wed, 18 May 2022 05:26:34 +0000 (14:26 +0900)]
Set the LoadSuccessflag to false after ReleaseResource() is called

When the non-animated image is detached from the scene first and attached to the scene again,
webp-loading can't load webp information because it is already loaded its information.

To re-load this information, we need to set the flag to false.

Change-Id: I9a881cda51eba7212978bb43fb37b86baac7cf79

2 years ago[AT-SPI] emit showing event for window 12/275412/1
Shinwoo Kim [Tue, 24 May 2022 12:04:18 +0000 (21:04 +0900)]
[AT-SPI] emit showing event for window

For the multi-window case, we need to send 'showing' event when
the AT-SPI bridge turns on. So far, we have sent only 'activate' event
which is enough for the non-multi-window case.

And the 'mIsShown' does not care about the multi-window case.
If one window calls WindowShown, then other windows cannot send 'showing'
event because of the 'mIsShown'.

Change-Id: I501953e8dc1475550afc357293f21dd8fcc98620

2 years agoMerge "Support EGL_LINUX_DMA_BUF_EXT for egl image" into devel/master
Heeyong Song [Mon, 23 May 2022 03:23:15 +0000 (03:23 +0000)]
Merge "Support EGL_LINUX_DMA_BUF_EXT for egl image" into devel/master

2 years agoMerge "DALi Version 2.1.23" into devel/master
Adeel Kazmi [Fri, 20 May 2022 12:26:31 +0000 (12:26 +0000)]
Merge "DALi Version 2.1.23" into devel/master

2 years agoMerge "Fast apply alpha" into devel/master
David Steele [Fri, 20 May 2022 10:17:05 +0000 (10:17 +0000)]
Merge "Fast apply alpha" into devel/master

2 years agoDALi Version 2.1.23 11/275311/1 dali_2.1.23
Adam Bialogonski [Fri, 20 May 2022 10:16:26 +0000 (11:16 +0100)]
DALi Version 2.1.23

Change-Id: Iadfcb7cbbc4b59cadeee7c33ce88ecf2fe0dc9ec

2 years agoSupport EGL_LINUX_DMA_BUF_EXT for egl image 19/275219/4
Heeyong Song [Wed, 18 May 2022 09:50:20 +0000 (18:50 +0900)]
Support EGL_LINUX_DMA_BUF_EXT for egl image

Use EGL_EXT_image_dma_buf_import if EGL_TIZEN_image_native_surface is not supported

Change-Id: If24b666334eb7bfc4b2dbaeadfe6e7b7f26c7ef2

2 years ago[AT-SPI] Change Relation target from Address to Accessible 33/275033/3
Artur Świgoń [Fri, 13 May 2022 11:35:35 +0000 (13:35 +0200)]
[AT-SPI] Change Relation target from Address to Accessible

It is not necessary to manually convert an Accessible* to an Address,
because this conversion takes place automatically during serialization
of D-Bus data, and the Accessible* type is generally more useful.

Change-Id: Id58c0b6ab16fd365184d3b070a2b7105a2ac686d

2 years agoFast apply alpha 95/275095/3
Eunki, Hong [Mon, 16 May 2022 12:56:46 +0000 (21:56 +0900)]
Fast apply alpha

Use bit-operation only during calculation x * y / 255.
It will increase performance a little

Change-Id: I91f39bb9f572486a6b2a00501edd73b921e3bf84
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years agoMerge "Add IsLoaded() to VectorImageRenderer" into devel/master
Heeyong Song [Tue, 17 May 2022 10:11:56 +0000 (10:11 +0000)]
Merge "Add IsLoaded() to VectorImageRenderer" into devel/master

2 years agoDALi Version 2.1.22 19/275019/1 dali_2.1.22
Richard Huang [Fri, 13 May 2022 11:01:15 +0000 (12:01 +0100)]
DALi Version 2.1.22

Change-Id: I5a2a5b3c2823e742be2075e08e4468cf7e10edad

2 years agoAdd IsLoaded() to VectorImageRenderer 68/274968/1
Heeyong Song [Fri, 13 May 2022 01:15:50 +0000 (10:15 +0900)]
Add IsLoaded() to VectorImageRenderer

Change-Id: Iafa1a4174074f8dc428a23e1b55ec33c3504fda4

2 years ago[AT-SPI] Add Bridge::{Embed,Unembed}Socket() 12/263212/16
Artur Świgoń [Thu, 21 Apr 2022 15:48:04 +0000 (17:48 +0200)]
[AT-SPI] Add Bridge::{Embed,Unembed}Socket()

This patch adds three new utility methods to Bridge:

* EmbedSocket() - calls org.a11y.atspi.Socket.Embed

The manually contstructed D-Bus call in Bridge::ForceUp()
is replaced by EmbedSocket().

* UnembedSocket() - calls org.a11y.atspi.Socket.Unembed

A missing UnembedSocket() is added in Bridge::ForceDown().

* EmbedAtkSocket() - calls org.a11y.atspi.Socket.Embedded

The "Embedded" method is an ATK extension, but is required
to embed an ATK-based subtree, e.g. a Chromium-based WebView,
in a DALi application.

Change-Id: I562072864d6a67272325562eabb91962c6813eab

2 years agoMerge "Reduce PNG encode time" into devel/master
Eunki Hong [Wed, 11 May 2022 09:57:10 +0000 (09:57 +0000)]
Merge "Reduce PNG encode time" into devel/master

2 years agoMerge "[AT-SPI] Make ToolkitName customizable" into devel/master
Seoyeon Kim [Wed, 11 May 2022 08:50:32 +0000 (08:50 +0000)]
Merge "[AT-SPI] Make ToolkitName customizable" into devel/master

2 years agoReduce PNG encode time 42/274842/1
Eunki, Hong [Tue, 10 May 2022 13:05:37 +0000 (22:05 +0900)]
Reduce PNG encode time

Change-Id: I4c2b2a44d28679f2340989251d8bf2c5d1ae6747
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
2 years ago[AT-SPI] remove isRoot param from Accessible::Get 37/274737/4
Shinwoo Kim [Fri, 6 May 2022 15:58:20 +0000 (00:58 +0900)]
[AT-SPI] remove isRoot param from Accessible::Get

The Accessibility::Accessible::Get for a window could be called
before getting accessible to add window accessible.

So far, we thought that the next part creates an accessible for
window for the first time.

  accessible = Accessibility::Accessible::Get(rootLayer, true);
  bridge->AddTopLevelWindow(accessible);

However, there is a case where it is created before this part
caused by following symbol

  CSharp_Dali_Toolkit_DevelControl_GetAccessibilityStates+0x144

In this case, isRoot is set to `false`. Then window will have
incorrect accessible information.

For more information, please refer to the following.

  https://github.sec.samsung.net/tizen/atspi/issues/60

Change-Id: Id2d27f35426e72b67986f132f0c77979016b4252

2 years ago[AT-SPI] Make ToolkitName customizable 39/274739/1
Artur Świgoń [Fri, 6 May 2022 16:12:42 +0000 (18:12 +0200)]
[AT-SPI] Make ToolkitName customizable

Change-Id: I0758bf378e28798486cabb7ef1b8de16127eca53

2 years agoMerge "DALi Version 2.1.21" into devel/master
David Steele [Fri, 6 May 2022 11:46:06 +0000 (11:46 +0000)]
Merge "DALi Version 2.1.21" into devel/master

2 years agoDALi Version 2.1.21 12/274712/1 dali_2.1.21
David Steele [Fri, 6 May 2022 11:37:15 +0000 (12:37 +0100)]
DALi Version 2.1.21

Change-Id: I25a3c8ad0fbb8c2775b37af8f525292a2747cfbd

2 years agoMerge "Change some log levels" into devel/master
Heeyong Song [Fri, 6 May 2022 05:00:00 +0000 (05:00 +0000)]
Merge "Change some log levels" into devel/master

2 years agoChange some log levels 83/274683/1
Heeyong Song [Fri, 6 May 2022 03:13:55 +0000 (12:13 +0900)]
Change some log levels

Change-Id: I87b657437b246a9f75cf9d08e36bc37ffedd866c

2 years agoMerge "Don't use pre-initialized app in case of WidgetApplication" into devel/master
Heeyong Song [Wed, 4 May 2022 11:34:51 +0000 (11:34 +0000)]
Merge "Don't use pre-initialized app in case of WidgetApplication" into devel/master

2 years agoMerge "Change VectorImage method" into devel/master
Heeyong Song [Wed, 4 May 2022 07:05:35 +0000 (07:05 +0000)]
Merge "Change VectorImage method" into devel/master

2 years ago[AT-SPI] remove unnecessary lines leading to crash 46/274546/3
Shinwoo Kim [Mon, 2 May 2022 05:52:25 +0000 (14:52 +0900)]
[AT-SPI] remove unnecessary lines leading to crash

The eldbus_connection_unref does not mean that the connection is released.
So a signal hander of the connection should be removed if it is not used
any more.

We did not remove the signal hander but called only eldbus_connection_ref.
So there was a crash with following stack.

0  Dali::BaseSignal::Emit<Dali::Internal::Adaptor::WindowBase::AccessibilityInfo const&> (this=0x822f1b30, args#0=...) at /usr/include/dali/public-api/signals/base-signal.h:235
1  0xa4a6ca1b in Dali::Signal<void (Dali::Internal::Adaptor::WindowBase::AccessibilityInfo const&)>::Emit(Dali::Internal::Adaptor::WindowBase::AccessibilityInfo const&) (arg0=..., this=0x823b11a4) at /usr/include/dali/public-api/signals/dali-signal.h:531
2  Dali::Internal::Adaptor::WindowBaseEcoreWl2::OnEcoreElDBusAccessibilityNotification (this=0x823b1170, context=0x823b1170, message=0x820e83e0)
   at /home/abuild/rpmbuild/BUILD/dali2-adaptor-2.1.19/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp:1380
3  0xa4a6ca94 in Dali::Internal::Adaptor::(anonymous namespace)::EcoreElDBusAccessibilityNotification (context=0x823b1170, message=0x820e83e0)
   at /home/abuild/rpmbuild/BUILD/dali2-adaptor-2.1.19/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp:604

We do not use this signal on the AT-SPI world.
So this patch removing unnecessary lines instead of calling the
eldbus_signal_handler_del.

Change-Id: I1df91170ca9bff1e369080ccac8046954948714e

2 years ago[AT-SPI] Emit WindowEvent::DESTROY 73/273873/4
Shinwoo Kim [Fri, 15 Apr 2022 03:09:38 +0000 (12:09 +0900)]
[AT-SPI] Emit WindowEvent::DESTROY

AT client needs to know that a window is destroyed.

Change-Id: Id64d31b3a69a7465e8eb382ab6ed2db9b1788007

2 years agoDon't use pre-initialized app in case of WidgetApplication 14/274214/2
Heeyong Song [Mon, 25 Apr 2022 02:34:57 +0000 (11:34 +0900)]
Don't use pre-initialized app in case of WidgetApplication

Change-Id: I80c4ef6b89191471aa73f99d1b1a731f41fb7add

2 years agoChange VectorImage method 54/274254/2
Heeyong Song [Mon, 25 Apr 2022 09:39:49 +0000 (18:39 +0900)]
Change VectorImage method

Change-Id: Ia0136d682fb518cd2f1b1ab50f6b62a67c6a4681

2 years agoMerge "DALi Version 2.1.20" into devel/master
Adeel Kazmi [Fri, 29 Apr 2022 12:22:43 +0000 (12:22 +0000)]
Merge "DALi Version 2.1.20" into devel/master

2 years agoDALi Version 2.1.20 00/274500/1 dali_2.1.20
Adam Bialogonski [Fri, 29 Apr 2022 09:52:50 +0000 (10:52 +0100)]
DALi Version 2.1.20

Change-Id: Icb07dc20cb4e29a3c30bb61704927ad9eef8c12f

2 years agoMerge "Add to get the status whether window is rotating or not" into devel/master
Wonsik Jung [Fri, 29 Apr 2022 01:12:21 +0000 (01:12 +0000)]
Merge "Add to get the status whether window is rotating or not" into devel/master

2 years agoMerge "Add ECORE_IMF_CALLBACK_SELECTION_SET to IMFContext" into devel/master
Bowon Ryu [Thu, 28 Apr 2022 08:51:46 +0000 (08:51 +0000)]
Merge "Add ECORE_IMF_CALLBACK_SELECTION_SET to IMFContext" into devel/master

2 years agoAdd to get the status whether window is rotating or not 76/274376/1
Wonsik Jung [Tue, 18 Jan 2022 02:29:28 +0000 (11:29 +0900)]
Add to get the status whether window is rotating or not

Add to getter api of winow rotation stauts.
When window is rotating, the getter api will return true.
Otherwise false.

Change-Id: Icb2331f75ef88051510008ceb2a1bb3b6cc40529

2 years agoMerge "Calculate EncodedImageBuffer's hash in generate time" into devel/master
Eunki Hong [Wed, 27 Apr 2022 03:05:46 +0000 (03:05 +0000)]
Merge "Calculate EncodedImageBuffer's hash in generate time" into devel/master

2 years agoAdd ECORE_IMF_CALLBACK_SELECTION_SET to IMFContext 02/274302/3
Bowon Ryu [Tue, 26 Apr 2022 04:55:59 +0000 (13:55 +0900)]
Add ECORE_IMF_CALLBACK_SELECTION_SET to IMFContext

added selection callback from IMF for tizen 7.0 new feature support

Change-Id: Iaafe802a67cda24d06935e29b55d04c53dbf8b16
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoMake undefined macro do not be used. 88/274288/1
seungho [Tue, 26 Apr 2022 02:24:16 +0000 (11:24 +0900)]
Make undefined macro do not be used.

 - If in a system that didn't define  GL_KHR_blend_equation_advanced,
   "#extension GL_KHR_blend_equation_advanced : enable" or
   "#if GL_KHR_blend_equation_advanced==1" can make troble.

Change-Id: I48ba98c2795fed972c16d6dbe149ffea96f12312
Signed-off-by: seungho <sbsh.baek@samsung.com>
2 years agoMerge "[AT-SPI] Implement Component for ProxyAccessible" into devel/master
Lukasz Oleksak [Mon, 25 Apr 2022 10:55:02 +0000 (10:55 +0000)]
Merge "[AT-SPI] Implement Component for ProxyAccessible" into devel/master

2 years agoMerge "[AT-SPI] Make ProxyAccessible's parent settable" into devel/master
Lukasz Oleksak [Mon, 25 Apr 2022 10:53:50 +0000 (10:53 +0000)]
Merge "[AT-SPI] Make ProxyAccessible's parent settable" into devel/master

2 years agoMerge "[AT-SPI] Override IsProxy in ProxyAccessible" into devel/master
Lukasz Oleksak [Mon, 25 Apr 2022 10:52:44 +0000 (10:52 +0000)]
Merge "[AT-SPI] Override IsProxy in ProxyAccessible" into devel/master

2 years ago[AT-SPI] Implement Component for ProxyAccessible 02/273902/5
Artur Świgoń [Fri, 15 Apr 2022 12:53:32 +0000 (14:53 +0200)]
[AT-SPI] Implement Component for ProxyAccessible

The Component interface is required for the object not to be immediately
filtered out by bridge-side navigation code. When a ProxyAccessible is
serialized to an object address as a return value on D-Bus, its address
is replaced by the remote address (stored in `mAddress`), so any further
interaction by AT clients (D-Bus method calls) will be directed to the
actual remote object.

Change-Id: I268e219eb30ecd016ab2ab78dcd0846b551a9e42

2 years ago[AT-SPI] Make ProxyAccessible's parent settable 01/273901/5
Artur Świgoń [Fri, 15 Apr 2022 12:52:16 +0000 (14:52 +0200)]
[AT-SPI] Make ProxyAccessible's parent settable

Change-Id: I05b99d199ddd3025998edb1eaa962e3ea0adfcec