/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
mThreadControllerInterface->RequestUpdate();
}
-void ThreadController::RequestUpdateOnce()
+void ThreadController::RequestUpdateOnce( UpdateMode updateMode )
{
- mThreadControllerInterface->RequestUpdateOnce();
+ mThreadControllerInterface->RequestUpdateOnce( updateMode );
}
-void ThreadController::ReplaceSurface( RenderSurface* newSurface )
+void ThreadController::ReplaceSurface( Dali::RenderSurfaceInterface* newSurface )
{
mThreadControllerInterface->ReplaceSurface( newSurface );
}
+void ThreadController::DeleteSurface( Dali::RenderSurfaceInterface* surface )
+{
+ mThreadControllerInterface->DeleteSurface( surface );
+}
+
void ThreadController::ResizeSurface()
{
mThreadControllerInterface->ResizeSurface();
}
+void ThreadController::WaitForGraphicsInitialization()
+{
+ mThreadControllerInterface->WaitForGraphicsInitialization();
+}
+
void ThreadController::SetRenderRefreshRate(unsigned int numberOfVSyncsPerRender )
{
mThreadControllerInterface->SetRenderRefreshRate( numberOfVSyncsPerRender );
}
+void ThreadController::SetPreRenderCallback( CallbackBase* callback )
+{
+ mThreadControllerInterface->SetPreRenderCallback( callback );
+}
+
} // namespace Adaptor
} // namespace Internal