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
[4.0] Discard render instruction if it is empty
[platform/core/uifw/dali-core.git]
/
dali
/
internal
/
render
/
common
/
render-instruction-container.h
diff --git
a/dali/internal/render/common/render-instruction-container.h
b/dali/internal/render/common/render-instruction-container.h
index
1bcff8b
..
9181243
100644
(file)
--- a/
dali/internal/render/common/render-instruction-container.h
+++ b/
dali/internal/render/common/render-instruction-container.h
@@
-76,6
+76,12
@@
public:
*/
RenderInstruction& At( BufferIndex bufferIndex, size_t index );
*/
RenderInstruction& At( BufferIndex bufferIndex, size_t index );
+ /**
+ * Discard the current container index
+ * @param bufferIndex to reset
+ */
+ void DiscardCurrentInstruction( BufferIndex bufferIndex );
+
private:
unsigned int mIndex[ 2 ]; ///< count of the elements that have been added
private:
unsigned int mIndex[ 2 ]; ///< count of the elements that have been added