From: Eunki, Hong Date: Mon, 5 Feb 2024 08:25:47 +0000 (+0900) Subject: [Tizen] Make model load task priority as low X-Git-Tag: accepted/tizen/8.0/unified/20240208.163212~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F42%2F305742%2F1;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git [Tizen] Make model load task priority as low Since gltf model load spend a lots of time, let we make it priority low Change-Id: I4af0711d74b5836f4c7b039217463e13ce5c5220 Signed-off-by: Eunki, Hong --- diff --git a/dali-scene3d/internal/common/model-load-task.cpp b/dali-scene3d/internal/common/model-load-task.cpp index 562b299..10e0aba 100644 --- a/dali-scene3d/internal/common/model-load-task.cpp +++ b/dali-scene3d/internal/common/model-load-task.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023 Samsung Electronics Co., Ltd. + * Copyright (c) 2024 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -34,7 +34,7 @@ static constexpr Vector3 Y_DIRECTION(1.0f, -1.0f, 1.0f); } // namespace ModelLoadTask::ModelLoadTask(const std::string& modelUrl, const std::string& resourceDirectoryUrl, CallbackBase* callback) -: AsyncTask(callback), +: AsyncTask(callback, AsyncTask::PriorityType::LOW), mModelUrl(modelUrl), mResourceDirectoryUrl(resourceDirectoryUrl), mModelCacheManager(Scene3D::Internal::ModelCacheManager::Get()),