[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>