platform/core/uifw/dali-adaptor.git
14 months agoMerge "Set mKeyMap before registering for ECORE_EVENT_KEY_DOWN, ECORE_EVENT_KEY_UP...
joogab yun [Wed, 16 Aug 2023 01:43:22 +0000 (01:43 +0000)]
Merge "Set mKeyMap before registering for ECORE_EVENT_KEY_DOWN, ECORE_EVENT_KEY_UP events." into devel/master

14 months agoSet mKeyMap before registering for ECORE_EVENT_KEY_DOWN, ECORE_EVENT_KEY_UP events. 12/297212/2
joogab.yun [Mon, 14 Aug 2023 02:35:14 +0000 (11:35 +0900)]
Set mKeyMap before registering for ECORE_EVENT_KEY_DOWN, ECORE_EVENT_KEY_UP events.

If the keyEvent happens before mKeyMap is set, it crashes because mKeyMap is null.

0  __GI_raise (sig=11) at /usr/src/debug/glibc-2.30-1.11.arm/signal/../sysdeps/unix/sysv/linux/raise.c:50
1  0xb3d8bb12 in invoke_previous_action (action=<optimized out>, code=11, siginfo=0xb4779c88, context=0xb4779d08, signalRestarts=255) at /usr/src/debug/coreclr-6.0.9-1.arm/src/coreclr/pal/src/exception/signal.cpp:415
2  sigsegv_handler (code=11, siginfo=0xb4779c88, context=<optimized out>) at /usr/src/debug/coreclr-6.0.9-1.arm/src/coreclr/pal/src/exception/signal.cpp:627
3  <signal handler called>
4  0xab9b7c04 in xkb_keymap_key_for_each (keymap=0x0, iter=0xa6d4ec55 <Dali::Internal::Adaptor::(anonymous namespace)::FindKeyCode(xkb_keymap*, xkb_keycode_t, void*)>, data=data@entry=0xbe0f56b0) at /usr/src/debug/libxkbcommon-1.5.0-0.arm/builddir/../src/keymap.c:531
5  0xa6d508a0 in Dali::Internal::Adaptor::WindowBaseEcoreWl2::GetKeyCode (this=0x21f37b0, keyName=..., keyCode=@0xbe0f5754: 0) at /usr/src/debug/dali2-adaptor-2.2.37-1.arm/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp:1686
6  0xa6d11f60 in Dali::Internal::Adaptor::WindowBaseEcoreWl2::OnKeyDown(void*, int, void*) [clone .constprop.0] (this=0x21f37b0, event=0x2522e40, type=<optimized out>, data=<optimized out>) at /usr/src/debug/dali2-adaptor-2.2.37-1.arm/dali/internal/window-system/tizen-wayland/ecore-wl2/window-base-ecore-wl2.cpp:1402

Change-Id: I0aaf2791e5daa464e81acafbcb53532046381aee

14 months agoMerge "Add ecore api about RelativeMove 1. ecore_wl2_window_pointer_constraints_lock_...
joogab yun [Mon, 14 Aug 2023 04:16:29 +0000 (04:16 +0000)]
Merge "Add ecore api about RelativeMove 1. ecore_wl2_window_pointer_constraints_lock_pointer 2. ecore_wl2_window_pointer_constraints_unlock_pointer 3. ecore_wl2_window_locked_pointer_region_set 4. ecore_wl2_window_locked_pointer_cursor_position_hint_set 5. ECORE_EVENT_MOUSE_RELATIVE_MOVE" into devel/master

14 months agoAdd ecore api about RelativeMove 68/296968/9
joogab.yun [Wed, 31 May 2023 05:21:47 +0000 (14:21 +0900)]
Add ecore api about RelativeMove
1. ecore_wl2_window_pointer_constraints_lock_pointer
2. ecore_wl2_window_pointer_constraints_unlock_pointer
3. ecore_wl2_window_locked_pointer_region_set
4. ecore_wl2_window_locked_pointer_cursor_position_hint_set
5. ECORE_EVENT_MOUSE_RELATIVE_MOVE

Change-Id: I612c7f358e0aeb093d5ec6b92771a150094a42d6

14 months agoDALi Version 2.2.39 88/297188/1 dali_2.2.39
Richard Huang [Fri, 11 Aug 2023 09:55:59 +0000 (10:55 +0100)]
DALi Version 2.2.39

Change-Id: Ic7cbf595510ed6a1c384211a3dfcefc3bd67e1ff

14 months agoMerge "Print trace message for other profiles" into devel/master
David Steele [Thu, 10 Aug 2023 11:09:06 +0000 (11:09 +0000)]
Merge "Print trace message for other profiles" into devel/master

14 months agoAllow worker thread trace 57/297057/3
Eunki Hong [Wed, 9 Aug 2023 13:42:41 +0000 (22:42 +0900)]
Allow worker thread trace

Let we make ttrace can trace worker threads if we want.
And also, let we make AsyncTaskManager's thread can use trace.

Change-Id: I4a04a1d480f0cf96541f380d46513258d85deee0
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months agoPrint trace message for other profiles 55/297055/2
Eunki Hong [Wed, 9 Aug 2023 13:04:09 +0000 (22:04 +0900)]
Print trace message for other profiles

Let we print message logs also ubuntu and android

Change-Id: Id162f1b3cb2f04d48776c75ffe6118cf94264199
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months agoPrint curl error logs fully if required 53/296853/6
Eunki Hong [Sat, 5 Aug 2023 07:44:54 +0000 (16:44 +0900)]
Print curl error logs fully if required

Let we print curl debug dump logs if we got some error
from curl side issue.

Since currently we only print error code and do nothing,
network team have hard to debug bug cases.

To help it, let we add environment to
print full debug dump logs.

Change-Id: Ie4f8e9cd102687a0835f202df5eb89a5d94ee652
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
14 months agoMerge "Fix typo error" into devel/master
Eunki Hong [Wed, 9 Aug 2023 04:26:50 +0000 (04:26 +0000)]
Merge "Fix typo error" into devel/master

14 months agoFix typo error 23/297023/1
Eunki, Hong [Wed, 9 Aug 2023 04:23:39 +0000 (13:23 +0900)]
Fix typo error

Change-Id: I2f0e10f07a851f34589119b092ab1ea143c7a6e5
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
14 months agoMerge "Add InsetsChangedSignal to WindowBaseEcoreWl2" into devel/master
Jaehyun Cho [Wed, 9 Aug 2023 02:11:18 +0000 (02:11 +0000)]
Merge "Add InsetsChangedSignal to WindowBaseEcoreWl2" into devel/master

14 months agoAdd time function to check text performance 63/296963/2
Bowon Ryu [Tue, 8 Aug 2023 04:45:05 +0000 (13:45 +0900)]
Add time function to check text performance

Change-Id: Ifc7f72ab466b5b7a2226a232e8e36eff079f2e37
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
14 months agoMerge "Add logs and clean code for clipboard" into devel/master
Bowon Ryu [Mon, 7 Aug 2023 01:11:48 +0000 (01:11 +0000)]
Merge "Add logs and clean code for clipboard" into devel/master

14 months agoMerge "DALi Version 2.2.38" into devel/master
David Steele [Fri, 4 Aug 2023 13:43:05 +0000 (13:43 +0000)]
Merge "DALi Version 2.2.38" into devel/master

14 months agoDALi Version 2.2.38 33/296833/1 dali_2.2.38
David Steele [Fri, 4 Aug 2023 12:43:18 +0000 (13:43 +0100)]
DALi Version 2.2.38

Change-Id: I580b726f9462c7734edbb4c120cfe93960d4ca4a

14 months agoAdd logs and clean code for clipboard 27/296827/1
Bowon Ryu [Fri, 4 Aug 2023 10:01:36 +0000 (19:01 +0900)]
Add logs and clean code for clipboard

Currently, clipboard is still under development
and needs to match the behavior with efl and new cbhm.
Adds a rather detailed log for smooth development.

Some logs may be removed when development is stable.

Change-Id: I2abe8ee4441f06d73ade661ee71aa30d00f2fa19
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
14 months agoMerge "TextureUploadManager implement" into devel/master
Eunki Hong [Fri, 4 Aug 2023 03:22:13 +0000 (03:22 +0000)]
Merge "TextureUploadManager implement" into devel/master

15 months agoAdd InsetsChangedSignal to WindowBaseEcoreWl2 84/277884/14
Jaehyun Cho [Wed, 13 Jul 2022 09:53:09 +0000 (18:53 +0900)]
Add InsetsChangedSignal to WindowBaseEcoreWl2

Window insets are the inner size between window content and window edge.

Window insets are required when status bar, virtual keyboard, or
clipboard appears on window to avoid window content obsecured by them.

To notify the window insets changes, InsetsChangedSignal is added to
WindowBaseEcoreWl2.

To notice the window insets changes, ECORE_WL2_EVENT_CONFORMANT_CHANGE
is used.

Change-Id: Iaff1b2c121ee5e07769eac9d9950b74b500e192b

15 months agoMerge "Allow to allocate texture's GPU memory at upload timing" into devel/master
Eunki Hong [Wed, 2 Aug 2023 10:37:19 +0000 (10:37 +0000)]
Merge "Allow to allocate texture's GPU memory at upload timing" into devel/master

15 months agoMerge "Fixed LIBUV_X11 profile build" into devel/master
David Steele [Wed, 2 Aug 2023 09:32:41 +0000 (09:32 +0000)]
Merge "Fixed LIBUV_X11 profile build" into devel/master

15 months agoTextureUploadManager implement 05/294405/39
Eunki, Hong [Mon, 19 Jun 2023 02:51:50 +0000 (11:51 +0900)]
TextureUploadManager implement

Let we make a method to upload PixelData into
Graphics::Texture object from worker-thread way.

1. Generate Dali::Texture from TextureUploadManager.
2. Get ResourceId from generated texture.
3. RequestUpload from worker thread.
4. Next update/render thread loop will upload resource into GPU.

Change-Id: I21f226bdb762e71edfbbc27869207b32828bd933
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months agoAllow to allocate texture's GPU memory at upload timing 28/296328/5
Eunki Hong [Tue, 25 Jul 2023 17:53:41 +0000 (02:53 +0900)]
Allow to allocate texture's GPU memory at upload timing

Let we make creation info property s.t. do not allocate gpu memory
right now.

Change-Id: Iaa3cef329c84a3b76776937ba7b6e65c8b598497
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
15 months agoMerge "Add new clipboard" into devel/master
Bowon Ryu [Tue, 1 Aug 2023 04:15:53 +0000 (04:15 +0000)]
Merge "Add new clipboard" into devel/master

15 months agoMerge "Ensure destroy AsyncTask at main thread" into devel/master
Eunki Hong [Mon, 31 Jul 2023 01:21:42 +0000 (01:21 +0000)]
Merge "Ensure destroy AsyncTask at main thread" into devel/master

15 months agoDALi Version 2.2.37 85/296485/1 dali_2.2.37
Adeel Kazmi [Fri, 28 Jul 2023 13:51:53 +0000 (14:51 +0100)]
DALi Version 2.2.37

Change-Id: I8646204d87840d211c4566f77bb5b7d69e59afad

15 months agoEnsure destroy AsyncTask at main thread 26/296426/7
Eunki, Hong [Thu, 27 Jul 2023 08:31:39 +0000 (17:31 +0900)]
Ensure destroy AsyncTask at main thread

If your remove task during task running,
the AsyncTask itself can be destroyed on worker thread.

If AsyncTask have Dali::BaseHandle as it's membervalue, memory leak can be
occured.

To avoid this kind of situation, let we make the AsyncTask destruct on
event thread ensurely.

Change-Id: Ib1edc4752ca648a1de734e92d2c029be61babdba
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months agoAdd performance logs for glTexImage2D 26/296326/1
Eunki Hong [Tue, 25 Jul 2023 17:17:45 +0000 (02:17 +0900)]
Add performance logs for glTexImage2D

Change-Id: I397cd25581d2efcf00dac8efcd47af4b62ddd49f
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
15 months agoDragAndDrop : support device rotation 36/296136/3
Taehyub Kim [Thu, 20 Jul 2023 08:16:45 +0000 (17:16 +0900)]
DragAndDrop : support device rotation

Change-Id: I39bf38134ba3f96d687dc2936e54afa363087e68

15 months agoAdd new clipboard 62/294862/18
Bowon Ryu [Wed, 28 Jun 2023 01:39:34 +0000 (10:39 +0900)]
Add new clipboard

and remove legacy text clipboard

Change-Id: If647e1588bccf039e3e920a7f00f19b2335a812b
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
15 months agoDALi Version 2.2.36 84/296184/1 dali_2.2.36
Adam Bialogonski [Fri, 21 Jul 2023 09:42:20 +0000 (10:42 +0100)]
DALi Version 2.2.36

Change-Id: Ibb249169313f7ee396d149bf8117dc3aab1a73e3

15 months agoFixed LIBUV_X11 profile build 59/296159/1
David Steele [Thu, 20 Jul 2023 16:24:57 +0000 (17:24 +0100)]
Fixed LIBUV_X11 profile build

Change-Id: I8f9b51d7ba6368e2b6c25965e7297161a5f3349c

15 months agoFix coverity issue (copy data during iteration) 30/296130/1
Eunki, Hong [Thu, 20 Jul 2023 07:05:47 +0000 (16:05 +0900)]
Fix coverity issue (copy data during iteration)

Change-Id: I0c5eea6d07558513aca38f3a51d084973450b0ea
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months agoReturns Ecore APIs to default value 85/295985/8
huiyu [Tue, 18 Jul 2023 04:32:14 +0000 (13:32 +0900)]
Returns Ecore APIs to default value

If the FrameworkFactory is not initialized,
the Ecore is returned as the default value.

Change-Id: If7421081ae4df092b7dd2db3d80c6191b641f4f1
Signed-off-by: huiyu <huiyu.eun@samsung.com>
15 months agoMerge "Fix RenderOnce" into devel/master
Heeyong Song [Tue, 18 Jul 2023 05:13:20 +0000 (05:13 +0000)]
Merge "Fix RenderOnce" into devel/master

15 months agoMake OffscreenApplication also use FrameworkFactory 61/295961/1
Eunki, Hong [Tue, 18 Jul 2023 01:54:45 +0000 (10:54 +0900)]
Make OffscreenApplication also use FrameworkFactory

Change-Id: I806d5d6d7db7e0dfecb216387ff2ba8086859d8d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months agoFix RenderOnce 55/295655/3
Heeyong Song [Wed, 12 Jul 2023 07:22:10 +0000 (16:22 +0900)]
Fix RenderOnce

Consider multiple windows
Render windows even though there is no change in the partial update case

Change-Id: I95b3475dd2455c5360514797947b04ed4acf1121

15 months agoDALi Version 2.2.35 56/295856/1 dali_2.2.35
Richard Huang [Fri, 14 Jul 2023 11:35:43 +0000 (12:35 +0100)]
DALi Version 2.2.35

Change-Id: I6c6c2cd01bff92f11c3f591f2c75175f2b157eec

15 months agoMerge "Repeat ProcessEvents idler if requested." into devel/master
Eunki Hong [Thu, 13 Jul 2023 12:44:28 +0000 (12:44 +0000)]
Merge "Repeat ProcessEvents idler if requested." into devel/master

15 months agoMerge "Remove unnecessray code" into devel/master
Heeyong Song [Thu, 13 Jul 2023 09:29:01 +0000 (09:29 +0000)]
Merge "Remove unnecessray code" into devel/master

15 months agoMerge "Change deletion order of FrameworkFactory" into devel/master
Heeyong Song [Thu, 13 Jul 2023 09:28:41 +0000 (09:28 +0000)]
Merge "Change deletion order of FrameworkFactory" into devel/master

15 months agoRepeat ProcessEvents idler if requested. 48/284148/11
Eunki, Hong [Thu, 10 Nov 2022 13:00:02 +0000 (22:00 +0900)]
Repeat ProcessEvents idler if requested.

If someone request ProcessEvents during ProcessEventsOnIdle API,
that request was ignored.

To make all requested events process well, make we idler run again.

TODO : WinCallbackManager don't consider repeat idle case.
We should fix it somedays.

Change-Id: I74b1f5d50b2f16ee539350eaf570d558e445cf15
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
15 months agoMerge "Fix more compile error/warnings for gcc-13" into devel/master
Eunki Hong [Thu, 13 Jul 2023 00:07:20 +0000 (00:07 +0000)]
Merge "Fix more compile error/warnings for gcc-13" into devel/master

15 months agoRemove unnecessray code 52/295652/1
Heeyong Song [Wed, 12 Jul 2023 07:15:16 +0000 (16:15 +0900)]
Remove unnecessray code

We don't support partial update in the native render surface

Change-Id: I7065a9b5056632c005230e4367149dcdadc65976

15 months agoChange deletion order of FrameworkFactory 31/295631/3
Heeyong Song [Wed, 12 Jul 2023 02:17:58 +0000 (11:17 +0900)]
Change deletion order of FrameworkFactory

Ensure to delete FrameworkFactory after WindowSystem::Shutdown in the Application destructor

Change-Id: Ica037f38c15cdca60b57c3467b89f6129f4889ab

15 months agoAdd GetFrameworkContext to OffscreenApplication 90/295490/4
Heeyong Song [Mon, 10 Jul 2023 05:09:28 +0000 (14:09 +0900)]
Add GetFrameworkContext to OffscreenApplication

Change-Id: I9160d0777525f2a4aa854fcf8cb63202c1efe347

15 months agoAdd IsFloatingModeEnabled api in devel window 93/295493/2
joogab.yun [Mon, 10 Jul 2023 05:40:00 +0000 (14:40 +0900)]
Add IsFloatingModeEnabled api in devel window

Change-Id: I9770c4f841494dbbc789b6e7b2700ab3a1d7f9c4

15 months agoFix more compile error/warnings for gcc-13 13/295413/4
Eunki Hong [Thu, 6 Jul 2023 23:07:17 +0000 (08:07 +0900)]
Fix more compile error/warnings for gcc-13

Remove these kind of warning messages

/home/leaf/work/dali-adaptor/dali/internal/addons/common/addon-manager.cpp:63:19: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
   63 |   return std::move(mImpl->LoadAddOns(addonNames));
/home/leaf/work/dali-adaptor/dali/internal/web-engine/common/web-engine-impl.cpp:59:19: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
   59 |   return std::move(fullName.str());
/home/leaf/work/dali-adaptor/dali/internal/imaging/common/webp-loading.cpp:220:19: warning: the address of â€˜Dali::Internal::Adaptor::WebPLoading::Impl::mWebPData’ will never be NULL [-Waddress]
  220 |     if(&mWebPData != nullptr)

Change-Id: Icaa16235545d063ca6a555aa327930a7a5b8236e
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
15 months agoDALi Version 2.2.34 62/295462/1 dali_2.2.34
David Steele [Fri, 7 Jul 2023 11:00:55 +0000 (12:00 +0100)]
DALi Version 2.2.34

Change-Id: I658cbed11e30088de62f716d9954b89b6c1d38ac

15 months agoMerge "Fix small font size text layout issue" into devel/master
Bowon Ryu [Wed, 5 Jul 2023 05:15:03 +0000 (05:15 +0000)]
Merge "Fix small font size text layout issue" into devel/master

15 months agoFix build error for toolchain upgrade 89/295089/3
Heeyong Song [Mon, 3 Jul 2023 01:25:24 +0000 (10:25 +0900)]
Fix build error for toolchain upgrade

Change-Id: Iee92f146698bd34403fb5874d1765041bcf9da18

16 months agoSupports Pre-Initialized for UI Threading 40/295040/8
Wonsik Jung [Fri, 30 Jun 2023 07:53:19 +0000 (16:53 +0900)]
Supports Pre-Initialized for UI Threading

This patch is to support pre-initialized using Tizen Preloader for UI Threading.
Next step, the related feature will be refactoring using factory pattern.

Change-Id: Ib143b02906970fb878ef21c423e5aaebad3d967b

16 months agoFix the bug system initailize and shutdown pair. 44/295044/2
Wonsik Jung [Fri, 30 Jun 2023 09:16:47 +0000 (18:16 +0900)]
Fix the bug system initailize and shutdown pair.

This patch is to fix the bug system initailize and shutdown pair.
Sometimes,  WindowSystem::Shutdown() is called before WindowSystem::Initialize() is not calling.
The example is the below.
int UtcDaliApplicationNew01(void)
{
  Application application = Application::New();

  MyTestApp testApp(application);

  DALI_TEST_CHECK(application);

  END_TEST;
}

Change-Id: Icf3c19757bdc2b772bdc8fdd6ef1b67eba3f2c8b

16 months agoFix SVACE issue 83/295083/1
Heeyong Song [Mon, 3 Jul 2023 00:51:01 +0000 (09:51 +0900)]
Fix SVACE issue

Change-Id: Ia1fb371f35933fa2e493bee78f2bcc112be58609

16 months agoMerge "Use another framework in OffscreenApplication" into devel/master
Heeyong Song [Fri, 30 Jun 2023 15:05:23 +0000 (15:05 +0000)]
Merge "Use another framework in OffscreenApplication" into devel/master

16 months agoMerge "DALi Version 2.2.33" into devel/master
David Steele [Fri, 30 Jun 2023 13:24:43 +0000 (13:24 +0000)]
Merge "DALi Version 2.2.33" into devel/master

16 months agoDALi Version 2.2.33 52/295052/1 dali_2.2.33
Adeel Kazmi [Fri, 30 Jun 2023 13:16:59 +0000 (14:16 +0100)]
DALi Version 2.2.33

Change-Id: Id691aceeb96a33decbaedbe587a322b4b2afcc2a

16 months agoUse another framework in OffscreenApplication 02/295002/2
Heeyong Song [Thu, 29 Jun 2023 10:05:52 +0000 (19:05 +0900)]
Use another framework in OffscreenApplication

Use glib main loop in OffscreenApplication
In the case, ecore APIs should not be called.

Change-Id: I18b327cce8a8b5973124042207210b40df9707ad

16 months agoRefactor system classes 70/294770/6
Heeyong Song [Mon, 26 Jun 2023 09:31:34 +0000 (18:31 +0900)]
Refactor system classes

Refactor CallbackManager, FileDescriptorMonitor, Timer

Change-Id: I16ac23375bae537206c78b2fd630d79eea44de36

16 months agoFramework refactoring 87/294687/13
Heeyong Song [Fri, 23 Jun 2023 07:36:47 +0000 (16:36 +0900)]
Framework refactoring

Change-Id: I047e92153a9ff3aa320512e3d86a54e8265e951c

16 months agoMerge "Add FeedHover for HoverEvent" into devel/master
joogab yun [Thu, 29 Jun 2023 07:35:04 +0000 (07:35 +0000)]
Merge "Add FeedHover for HoverEvent" into devel/master

16 months agoMerge "Use WindowData in the constructors of Application and Window" into devel/master
Daekwang Ryu [Thu, 29 Jun 2023 04:34:19 +0000 (04:34 +0000)]
Merge "Use WindowData in the constructors of Application and Window" into devel/master

16 months agoAdd FeedHover for HoverEvent 76/294676/13
joogab.yun [Wed, 28 Jun 2023 06:24:28 +0000 (15:24 +0900)]
Add FeedHover for HoverEvent

Change-Id: I0f712811c35fbd069f3ac0ea4449ddab5c059579

16 months agoMerge "Move Clipboard to TextClipboard" into devel/master
Bowon Ryu [Wed, 28 Jun 2023 04:52:37 +0000 (04:52 +0000)]
Merge "Move Clipboard to TextClipboard" into devel/master

16 months agoUse WindowData in the constructors of Application and Window 81/294081/9
Daekwang Ryu [Mon, 12 Jun 2023 04:30:59 +0000 (13:30 +0900)]
Use WindowData in the constructors of Application and Window

This patch makes Internal Application and Window use WindowData.
This doesn't affect existing APIs.
We don't need to add a New function in the Application anymore because of new parameter of Window.

Change-Id: I7d211232f88ec1b3d6eaf6519dc61c79edb2c8ac

16 months agoFix more static analysis errors 50/294850/1
David Steele [Tue, 27 Jun 2023 12:39:29 +0000 (13:39 +0100)]
Fix more static analysis errors

Change-Id: I7d78c8431db5a3323dbb308a36ef88dfc0e8d4b3

16 months agoMove Clipboard to TextClipboard 18/294818/4
Bowon Ryu [Tue, 27 Jun 2023 05:43:51 +0000 (14:43 +0900)]
Move Clipboard to TextClipboard

We plan to create a new Clipboard class
and remove the dependency on Text and the legacy clipboard.

Change-Id: I50475d80571b128b199e209ed8515c6446688e6e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
16 months agoFixed static analysis errors in UBO code 77/294777/1
David Steele [Mon, 26 Jun 2023 11:33:36 +0000 (12:33 +0100)]
Fixed static analysis errors in UBO code

Change-Id: I8fc912c8f93999c7a07b43246af9174f3127538d

16 months agoMerge "Ensure join of font thread" into devel/master
Bowon Ryu [Mon, 26 Jun 2023 02:24:10 +0000 (02:24 +0000)]
Merge "Ensure join of font thread" into devel/master

16 months agoAdd SetPartialUpdateEnabled to Window 35/294635/3
Heeyong Song [Thu, 22 Jun 2023 04:17:13 +0000 (13:17 +0900)]
Add SetPartialUpdateEnabled to Window

Change-Id: Ic8ae7c4c1a76d9aa5dbd31e61485d7900c8dc13b

16 months agoMerge "Adding uniform block handling for modern shaders" into devel/master
Adeel Kazmi [Sat, 24 Jun 2023 14:02:56 +0000 (14:02 +0000)]
Merge "Adding uniform block handling for modern shaders" into devel/master

16 months agoAdding uniform block handling for modern shaders 67/294367/5
Adam Bialogonski [Thu, 6 Apr 2023 15:15:50 +0000 (16:15 +0100)]
Adding uniform block handling for modern shaders

Extract uniform blocks and their uniforms via the reflection interface.

Ensure sampler order is still lexical.

Added buffer offset alignment handling - memory for uniform blocks
within a buffer must be aligned according to the current graphics
context.

Change-Id: I2b06d23057904a2e2ecbb67aff42c229ab89162d

16 months agoEnsure join of font thread 64/294664/3
Bowon Ryu [Thu, 22 Jun 2023 10:59:02 +0000 (19:59 +0900)]
Ensure join of font thread

In certain cases where the font thread is not joined,
such as when there is no UI or when the font client is not used.
this patch ensures the join of the font thread by invoking the join method in the destructor.

Change-Id: I8ffcf21ab9dcc1b1e4de54e50adb23d0796b996e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
16 months agoDALi Version 2.2.32 98/294698/1 dali_2.2.32
Adam Bialogonski [Fri, 23 Jun 2023 10:03:17 +0000 (11:03 +0100)]
DALi Version 2.2.32

Change-Id: If12bed367bc470a5e4839faadb126437c72f9fa8

16 months agoMerge "Make different color with INFO and DEBUG log" into devel/master
Eunki Hong [Thu, 22 Jun 2023 10:18:05 +0000 (10:18 +0000)]
Merge "Make different color with INFO and DEBUG log" into devel/master

16 months agoDo not try to load bitmap for unsupported file format. 30/294630/2
Eunki, Hong [Thu, 22 Jun 2023 02:13:37 +0000 (11:13 +0900)]
Do not try to load bitmap for unsupported file format.

When we try to call GetClosestImageSize for svg, lottie format files,
It will always try to decode WBMP format, which is not has magic number.

To avoid this useless file decode works, let we implement to fast-cancel
of full image decode logics for some case.

Change-Id: I6f6ba1e05ce4d12be62440923f383362d2df73d3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
16 months agoMake different color with INFO and DEBUG log 19/294019/5
Eunki Hong [Sat, 10 Jun 2023 10:18:46 +0000 (19:18 +0900)]
Make different color with INFO and DEBUG log

Print debug log as Gray scaled color

Change-Id: I81487def3f7ccc4849728dd7bd82c358b72d9956
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
16 months agoRevert "Add DeviceInfo event" 64/294464/1
joogab.yun [Tue, 20 Jun 2023 00:27:32 +0000 (09:27 +0900)]
Revert "Add DeviceInfo event"

This reverts commit 2b85d49b4e74a5c8f7cba3e6966aaea92a5a343c.

Change-Id: I811f890ae12efb2a5402e7253643d824f2e3b52e

16 months agoMerge "Add DeviceInfo event" into devel/master
joogab yun [Mon, 19 Jun 2023 09:10:29 +0000 (09:10 +0000)]
Merge "Add DeviceInfo event" into devel/master

16 months agoAdd DeviceInfo event 39/294039/6
joogab.yun [Mon, 12 Jun 2023 04:03:35 +0000 (13:03 +0900)]
Add DeviceInfo event

this event called when a device such as a mouse or keyboard is connected or disconnected

Change-Id: Ia8d70e87000514b691436732b148666d8a5c1b51

16 months agoMerge "Add SetFrameRenderedCallback() in OffscreenWindow" into devel/master
Daekwang Ryu [Mon, 19 Jun 2023 01:15:15 +0000 (01:15 +0000)]
Merge "Add SetFrameRenderedCallback() in OffscreenWindow" into devel/master

16 months agoMerge "DALi Version 2.2.31" into devel/master
David Steele [Fri, 16 Jun 2023 14:27:28 +0000 (14:27 +0000)]
Merge "DALi Version 2.2.31" into devel/master

16 months agoDALi Version 2.2.31 71/294371/1 dali_2.2.31
Richard Huang [Fri, 16 Jun 2023 13:48:35 +0000 (14:48 +0100)]
DALi Version 2.2.31

Change-Id: If8ffa20e8c0102286a7c9576e7cbd14393ef63db

16 months agoFix to do not try to bind texture when there is no active texture in shader code 58/294358/1
seungho baek [Fri, 16 Jun 2023 08:40:18 +0000 (17:40 +0900)]
Fix to do not try to bind texture when there is no active texture in shader code

Change-Id: Ibd690b68015869f485b3458dc80b81486d3eca8e
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
16 months agoAdd SetFrameRenderedCallback() in OffscreenWindow 32/294332/3
Daekwang Ryu [Fri, 16 Jun 2023 06:22:32 +0000 (15:22 +0900)]
Add SetFrameRenderedCallback() in OffscreenWindow

Change-Id: Idea04d1fa2b71cd66cdbfcb76da2841e111b89e5

16 months agoFix small font size text layout issue 54/294254/1
Bowon Ryu [Thu, 15 Jun 2023 05:56:36 +0000 (14:56 +0900)]
Fix small font size text layout issue

Previously, text always rounded down the advance to upload it in the pixel buffer.
but this caused a issue where certain glyphs appeared too close together
when the font size was very small.
Now, rounding the advance values for a more natural layout.

Change-Id: I35c3138c59e3cc8b9418ac448d256e83e33046b0
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
16 months agoMerge "Add Window System's Initialize() and ShutDown()" into devel/master
Wonsik Jung [Tue, 13 Jun 2023 08:10:09 +0000 (08:10 +0000)]
Merge "Add Window System's Initialize() and ShutDown()" into devel/master

16 months agoAdd Window System's Initialize() and ShutDown() 48/294048/8
Wonsik Jung [Mon, 12 Jun 2023 07:03:26 +0000 (16:03 +0900)]
Add Window System's Initialize() and ShutDown()

Add Window System's Initailize() and ShutDown() for UI Threading.
Because Window's Initialize() and ShutDown() should be called in UI Thread when UI Threading is enabled.

Change-Id: I8d1a4e8e85366d31efa1c0690d436b409f4c791d

16 months agoMerge "Support updated area of native image" into devel/master
Heeyong Song [Tue, 13 Jun 2023 04:38:27 +0000 (04:38 +0000)]
Merge "Support updated area of native image" into devel/master

16 months agoRevert "Use WindowData in the constructors of Application"
Daekwang Ryu [Tue, 13 Jun 2023 02:17:01 +0000 (11:17 +0900)]
Revert "Use WindowData in the constructors of Application"

This reverts commit bc38155bec5aabefb831b0a40ff592ecc84016eb.

16 months agoUse WindowData in the constructors of Application 49/294049/2
Daekwang Ryu [Mon, 12 Jun 2023 04:30:59 +0000 (13:30 +0900)]
Use WindowData in the constructors of Application

This patch makes Internal Application use WindowData.
This doesn't affect existing APIs.
We don't need to add a New function in the Application anymore because of new parameter of Window.

Change-Id: Ie3a67b49080650c0ffb5f71d87f4fc7f88bf54af

16 months agoSupport updated area of native image 61/293461/8
Heeyong Song [Tue, 30 May 2023 01:15:19 +0000 (10:15 +0900)]
Support updated area of native image

Change-Id: I6b29ea3a8bc8474a991a7f7a5977907827999403

16 months agoDo not reset mPostRendering in ResizeSurface 64/293964/3
Heeyong Song [Fri, 9 Jun 2023 07:03:35 +0000 (16:03 +0900)]
Do not reset mPostRendering in ResizeSurface

We should wait for PostRenderComplete in this case

Change-Id: Ib83d7586fe8edb0903dfd4b1dc1c3397317009f8

16 months agoRevert "Make another ConditionalWait for post-rendearing" 63/293963/2
Heeyong Song [Fri, 9 Jun 2023 06:40:32 +0000 (15:40 +0900)]
Revert "Make another ConditionalWait for post-rendearing"

This reverts commit 11af5d96f037c59d36deb838be40554d49d2f4b4.

Change-Id: Ibc44cb0f26c998d5e524c33783af73a6ceb38949

16 months agoDisable partial update in OffscreenApplication case 78/293978/2
Heeyong Song [Fri, 9 Jun 2023 09:25:31 +0000 (18:25 +0900)]
Disable partial update in OffscreenApplication case

Change-Id: I505f89c63f56bb49c2a246c3c12346a0e68c346a

16 months agoMerge "DALi Version 2.2.30" into devel/master
Adeel Kazmi [Fri, 9 Jun 2023 09:52:32 +0000 (09:52 +0000)]
Merge "DALi Version 2.2.30" into devel/master

16 months agoDALi Version 2.2.30 86/293986/1 dali_2.2.30
David Steele [Fri, 9 Jun 2023 09:50:11 +0000 (10:50 +0100)]
DALi Version 2.2.30

Change-Id: Ifdc51e60bf2e6462b88a5c3b1b6986e688ad444b

16 months agoMerge "Add copy & paste to clipboard" into devel/master
Bowon Ryu [Fri, 9 Jun 2023 08:50:34 +0000 (08:50 +0000)]
Merge "Add copy & paste to clipboard" into devel/master

16 months agoMerge "Change window User.Geometry policy." into devel/master
Wonsik Jung [Wed, 7 Jun 2023 07:10:12 +0000 (07:10 +0000)]
Merge "Change window User.Geometry policy." into devel/master

16 months agoMerge "Remove the redundancy for geometry calculate function" into devel/master
Wonsik Jung [Wed, 7 Jun 2023 06:54:25 +0000 (06:54 +0000)]
Merge "Remove the redundancy for  geometry calculate function" into devel/master