[Tizen] Fix typo error at ArrayBuffer bind + minor backport 23/292723/2
authorEunki Hong <eunkiki.hong@samsung.com>
Mon, 6 Mar 2023 17:52:49 +0000 (02:52 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 12 May 2023 08:11:25 +0000 (17:11 +0900)
commit1bbe5a1292b674a2ae4bb1b5ff1a1ba28fa494e0
treebb3681ed3ca6fb5ba8fd79a5db3699af07c66fc6
parent4e4c40fe9d0176f08e15947505552cff0c8f8bee
[Tizen] Fix typo error at ArrayBuffer bind + minor backport

This is a combination of 3 commits.

Fix typo error at ArrayBuffer bind

Previously, we don't consider glBindBuffer for
GL_ARRAY_BUFFER and GL_ELEMENT_ARRAY_BUFFER.
I think this is kind of typo error. So fix it.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Reset array of uniform buffer only required

Previously, we reset 64 x sizeof(UniformBufferBindingDescriptor) everytimes.
for each BindUniformBuffer commands.

It is useless job for standalone case. So move initialize process
only required.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Resetting the index buffer binding cache after binding VAO (seems like an NVIDIA bug causing crash)

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