Added memory pool logging
[platform/core/uifw/dali-core.git] / dali / internal / render / common / render-instruction.h
index 52e7e68..f8d24aa 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_SCENE_GRAPH_RENDER_INSTRUCTION_H
 
 /*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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.
@@ -129,6 +129,11 @@ public:
     return mCamera;
   }
 
+  /**
+   * Get the total memory usage of the render instruction
+   */
+  std::size_t GetCapacity();
+
 public:                                  // Data
   Render::RenderTracker* mRenderTracker; ///< Pointer to an optional tracker object (not owned)