Reset vertex buffer cache at the end of flush 51/320151/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 24 Feb 2025 13:55:45 +0000 (22:55 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 25 Feb 2025 08:04:24 +0000 (17:04 +0900)
commitcdfd7723356237c6a380e84f8c76ceb675c479c6
treead78eaee7a6b57052efdc26b1dcaf3e35a864280
parent7509621a5933a0b5ffd55d1dd04764746d946566
Reset vertex buffer cache at the end of flush

We only check the internal value of VertexBufferBindingDescriptor.

But if the size of mImpl->mCurrentVertexBufferBindings changed, or cleared,
the vertex buffer's pointer might be same as previos old items.
In this case, we might miss vertex attribute, or VAO relative actions.

To avoid this case, let we clear current binded vertex
whenever if the size of mImpl->mCurrentVertexBufferBindings changed.

Change-Id: I8a4081d9ead39ea9927572876e1a6fe50bef376e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/graphics/gles-impl/gles-context.cpp
dali/internal/graphics/gles-impl/gles-context.h