[4.0] Change common tc files 73/193373/2
authorHeeyong Song <heeyong.song@samsung.com>
Tue, 20 Nov 2018 02:43:01 +0000 (11:43 +0900)
committerWonsik Jung <sidein@samsung.com>
Tue, 4 Jun 2019 23:32:32 +0000 (08:32 +0900)
Change-Id: I83ffeb3070c0e5936ab3ed2ac3daa4b2338a8a54

automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-application.cpp
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-adaptor-impl.h

index a247f7d..13f4415 100644 (file)
@@ -73,7 +73,7 @@ void TestApplication::Initialize()
                                         Integration::StencilBufferAvailable::TRUE );
 
   mCore->ContextCreated();
-  mCore->SurfaceResized( mSurfaceWidth, mSurfaceHeight );
+  mCore->SurfaceResized( mSurfaceWidth, mSurfaceHeight, 0, false );
   mCore->SetDpi( mDpi.x, mDpi.y );
 
   Dali::Integration::Log::LogFunction logFunction(&TestApplication::LogMessage);
@@ -153,7 +153,7 @@ void TestApplication::SetSurfaceWidth( unsigned int width, unsigned height )
   mSurfaceWidth = width;
   mSurfaceHeight = height;
 
-  mCore->SurfaceResized( mSurfaceWidth, mSurfaceHeight );
+  mCore->SurfaceResized( mSurfaceWidth, mSurfaceHeight, 0, false );
 }
 
 void TestApplication::SetTopMargin( unsigned int margin )
index 2e5a2cb..c7b2cc7 100644 (file)
@@ -38,6 +38,10 @@ class TestRenderSurface : public RenderSurface
 public:
   virtual PositionSize GetPositionSize() const { PositionSize size; return size; }
 
+  virtual uint32_t GetOrientation() const { return 0; }
+
+  virtual bool IsPreRotationSupported() const { return false; }
+
   virtual void InitializeEgl( EglInterface& egl ) {}
 
   virtual void CreateEglSurface( EglInterface& egl ) {}