Added metrics logging to TextAtlasRenderer
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / atlas-manager / atlas-manager.cpp
index 85d6cba..6d21245 100644 (file)
@@ -110,15 +110,20 @@ Vector2 AtlasManager::GetBlockSize( AtlasId atlas )
   return GetImplementation(*this).GetBlockSize( atlas );
 }
 
+Vector2 AtlasManager::GetAtlasSize( AtlasId atlas )
+{
+  return GetImplementation(*this).GetAtlasSize( atlas );
+}
+
 AtlasManager::SizeType AtlasManager::GetFreeBlocks( AtlasId atlas )
 {
   return GetImplementation(*this).GetFreeBlocks( atlas );
 }
 
-void AtlasManager::SetAtlasSize( const Vector2& size,
-                                 const Vector2& blockSize )
+void AtlasManager::SetNewAtlasSize( const Vector2& size,
+                                    const Vector2& blockSize )
 {
-  GetImplementation(*this).SetAtlasSize( size, blockSize );
+  GetImplementation(*this).SetNewAtlasSize( size, blockSize );
 }
 
 AtlasManager::SizeType AtlasManager::GetAtlasCount() const
@@ -131,6 +136,11 @@ Pixel::Format AtlasManager::GetPixelFormat( AtlasId atlas )
   return GetImplementation(*this).GetPixelFormat( atlas );
 }
 
+void AtlasManager::GetMetrics( Metrics& metrics )
+{
+  return GetImplementation(*this).GetMetrics( metrics );
+}
+
 } // namespace Toolkit
 
 } // namespace Dali