Skip to content

Commit

Permalink
Change dali-scene-loader to dali-scene3d
Browse files Browse the repository at this point in the history
Signed-off-by: seungho <[email protected]>
  • Loading branch information
bshsqa authored and hrdisaac committed Jul 18, 2022
1 parent e42bcf3 commit 47d6f72
Show file tree
Hide file tree
Showing 64 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion build/tizen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ENDIF()
SET(PKG_LIST dali2-core
dali2-adaptor
dali2-toolkit
dali2-scene-loader
dali2-scene3d
Magick++
${OPENCV})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

// EXTERNAL INCLUDES
#include <cstdio>
#include <dali-scene-loader/public-api/animation-definition.h>
#include <dali-scene-loader/public-api/camera-parameters.h>
#include <dali-scene-loader/public-api/dli-loader.h>
#include <dali-scene-loader/public-api/light-parameters.h>
#include <dali-scene-loader/public-api/load-result.h>
#include <dali-scene-loader/public-api/node-definition.h>
#include <dali-scene-loader/public-api/scene-definition.h>
#include <dali-scene3d/public-api/loader/animation-definition.h>
#include <dali-scene3d/public-api/loader/camera-parameters.h>
#include <dali-scene3d/public-api/loader/dli-loader.h>
#include <dali-scene3d/public-api/loader/light-parameters.h>
#include <dali-scene3d/public-api/loader/load-result.h>
#include <dali-scene3d/public-api/loader/node-definition.h>
#include <dali-scene3d/public-api/loader/scene-definition.h>
#include <dali-toolkit/dali-toolkit.h>
#include <dali-toolkit/devel-api/image-loader/texture-manager.h>
#include <dali/dali.h>
Expand All @@ -35,7 +35,7 @@

using namespace Dali;
using namespace Dali::Toolkit;
using namespace Dali::SceneLoader;
using namespace Dali::Scene3D::Loader;

namespace {

Expand All @@ -50,15 +50,15 @@ const std::string RESOURCE_TYPE_DIRS[]{
};

const std::string FIRST_IMAGE_FILE =
TEST_IMAGE_DIR "scene-loader/expected-result-1.png";
TEST_IMAGE_DIR "scene3d/expected-result-1.png";
const std::string SECOND_IMAGE_FILE =
TEST_IMAGE_DIR "scene-loader/expected-result-2.png";
TEST_IMAGE_DIR "scene3d/expected-result-2.png";
const std::string THIRD_IMAGE_FILE =
TEST_IMAGE_DIR "scene-loader/expected-result-3.png";
TEST_IMAGE_DIR "scene3d/expected-result-3.png";
const std::string FOURTH_IMAGE_FILE =
TEST_IMAGE_DIR "scene-loader/expected-result-4.png";
TEST_IMAGE_DIR "scene3d/expected-result-4.png";
const std::string FIFTH_IMAGE_FILE =
TEST_IMAGE_DIR "scene-loader/expected-result-5.png";
TEST_IMAGE_DIR "scene3d/expected-result-5.png";

const int WINDOW_WIDTH(480);
const int WINDOW_HEIGHT(800);
Expand Down Expand Up @@ -93,9 +93,9 @@ static int gTestStep = -1;
* +
*
*/
class SceneLoaderTest : public VisualTest {
class Scene3DTest : public VisualTest {
public:
SceneLoaderTest(Application &application) : mApplication(application) {}
Scene3DTest(Application &application) : mApplication(application) {}

void OnInit(Application &application) {
Dali::Window window = mApplication.GetWindow();
Expand All @@ -114,7 +114,7 @@ class SceneLoaderTest : public VisualTest {
mSceneLayer[Layer::Property::BEHAVIOR] = Layer::LAYER_3D;
window.Add(mSceneLayer);

// Create a custom camera (will be modified by scene loader, below)
// Create a custom camera (will be modified by Scene3d::Loader, below)
mSceneCamera = CameraActor::New();
mSceneLayer.Add(mSceneCamera);

Expand Down Expand Up @@ -267,7 +267,7 @@ class SceneLoaderTest : public VisualTest {
PerformTest();
} else {
mTimer = Timer::New(milliSecond); // ms
mTimer.TickSignal().Connect(this, &SceneLoaderTest::OnTimer);
mTimer.TickSignal().Connect(this, &Scene3DTest::OnTimer);
mTimer.Start();
}
}
Expand Down Expand Up @@ -390,5 +390,5 @@ class SceneLoaderTest : public VisualTest {
Animation mAnimation;
};

DALI_VISUAL_TEST_WITH_WINDOW_SIZE(SceneLoaderTest, OnInit, WINDOW_WIDTH,
DALI_VISUAL_TEST_WITH_WINDOW_SIZE(Scene3DTest, OnInit, WINDOW_WIDTH,
WINDOW_HEIGHT)
File renamed without changes.

0 comments on commit 47d6f72

Please sign in to comment.