[Tizen] Remove VAO cache if invalidate pipeline 21/292721/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 20 Dec 2022 04:50:59 +0000 (13:50 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 12 May 2023 08:11:25 +0000 (17:11 +0900)
commit4e4c40fe9d0176f08e15947505552cff0c8f8bee
treef9c7b7d578d6029a2568589fca2757b1fb8ca15c
parentdf2e5e80d1c4e2f47fb13da2ea605cee251dbb4c
[Tizen] Remove VAO cache if invalidate pipeline

This is a combination of 2 commits.

Cache VAO with the locations hash

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Remove VAO cache if invalidate pipeline

Delete VAO cache map if pipeline destroied.
So we can avoid equal ProgramImpl pointer which already destroyied program.

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