From c8a1d280e67e170240731f8a958f6f8b97700219 Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Mon, 5 Feb 2024 17:25:47 +0900 Subject: [PATCH] [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 --- dali-scene3d/internal/common/model-load-task.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()), -- 2.7.4