[Tizen] Backport tizen_7.5 for Scene3D 79/287879/2 accepted/tizen/7.0/unified/20230223.015615
authorHeeyong Song <heeyong.song@samsung.com>
Thu, 19 Jan 2023 08:46:20 +0000 (17:46 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 8 Feb 2023 10:27:00 +0000 (19:27 +0900)
commitd95eb9157c392e5684e3170de3d96867d0fdd591
tree37aea7561644ccc1a820f4a0cda0e8acad25fbc0
parent19f6c83097f756220fecd4f7ec543df10d9095d9
[Tizen] Backport tizen_7.5 for Scene3D

This is a combination of 4 commits.

Fix deadlock issue of AsyncTaskThread

mDestroyThread may be changed to true after while(!mDestroyThread)
because we don't lock the part.

Support to load an image from uint8_t* encoded buffer.

Fix coverity issue : Adaptor available check in async task manager

Add GetCallbackInvocationThread() for AsyncTaskMananager

When AsyncTaskManager use other thread, no need to wake up main thread.

Change-Id: I17cf6d123304e5bef991afdd692dd25222ceace7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/devel-api/adaptor-framework/image-loading.cpp
dali/devel-api/adaptor-framework/image-loading.h
dali/internal/system/common/async-task-manager-impl.cpp
dali/public-api/adaptor-framework/async-task-manager.cpp
dali/public-api/adaptor-framework/async-task-manager.h