X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Frender%2Fcommon%2Frender-instruction-container.h;h=f2292c7321e1c4e4ec6aa67caa2fb392b3c07b7b;hb=5de727a5d6b9ef995c93eff4d4e47a086784a332;hp=9417afe6fa5ee7db1201aa1b09df3acaffcbfe6a;hpb=5cbf81cd770dcf0d317c7398daac2693a685cf65;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/render/common/render-instruction-container.h b/dali/internal/render/common/render-instruction-container.h index 9417afe..f2292c7 100644 --- a/dali/internal/render/common/render-instruction-container.h +++ b/dali/internal/render/common/render-instruction-container.h @@ -2,7 +2,7 @@ #define DALI_INTERNAL_SCENE_GRAPH_RENDER_INSTRUCTION_CONTAINER_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. @@ -22,6 +22,7 @@ #include #include #include +#include namespace Dali { @@ -75,6 +76,11 @@ public: */ void PushBack(BufferIndex index, RenderInstruction* renderInstruction); + /** + * Get the total memory used by all the render instructions + */ + std::size_t GetCapacity() const; + private: std::vector mInstructions; };