projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Tizen] Add screen and client rotation itself function
[platform/core/uifw/dali-core.git]
/
dali
/
integration-api
/
scene.cpp
diff --git
a/dali/integration-api/scene.cpp
b/dali/integration-api/scene.cpp
index
e3401d5
..
ac3f289
100644
(file)
--- a/
dali/integration-api/scene.cpp
+++ b/
dali/integration-api/scene.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 20
19
Samsung Electronics Co., Ltd.
+ * Copyright (c) 20
20
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.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-29,7
+29,7
@@
namespace Dali
namespace Integration
{
namespace Integration
{
-Scene Scene::New(
const Size&
size )
+Scene Scene::New(
Size
size )
{
Internal::ScenePtr internal = Internal::Scene::New( size );
return Scene( internal.Get() );
{
Internal::ScenePtr internal = Internal::Scene::New( size );
return Scene( internal.Get() );
@@
-119,19
+119,14
@@
Layer Scene::GetLayer( uint32_t depth ) const
return GetImplementation(*this).GetLayer( depth );
}
return GetImplementation(*this).GetLayer( depth );
}
-void Scene::S
etSurface( Integration::RenderSurface& surfac
e )
+void Scene::S
urfaceResized( float width, float height, int orientation, bool forceUpdat
e )
{
{
- GetImplementation(
*this).SetSurface( surfac
e );
+ GetImplementation(
*this ).SurfaceResized( width, height, orientation, forceUpdat
e );
}
}
-void Scene::SurfaceRe
siz
ed()
+void Scene::SurfaceRe
plac
ed()
{
{
- GetImplementation( *this ).SurfaceResized();
-}
-
-Integration::RenderSurface* Scene::GetSurface() const
-{
- return GetImplementation(*this).GetSurface();
+ GetImplementation( *this ).SurfaceReplaced();
}
void Scene::Discard()
}
void Scene::Discard()