[Tizen] Discard deleted VAO at matched context 00/302900/1 accepted/tizen/7.0/unified/20231218.071009 accepted/tizen/7.0/unified/20231219.155810 accepted/tizen/7.0/unified/20231220.124902 accepted/tizen/7.0/unified/20231220.134947 accepted/tizen/7.0/unified/20231220.170054
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 13 Dec 2023 10:30:28 +0000 (19:30 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 15 Dec 2023 07:25:32 +0000 (16:25 +0900)
commit318f58f073b2c5712c5c31cbe0313ec13350bca9
tree951e69cc66fbf74a02c5988022b23a18a6bcdbde
parent9892ada04b5d852c33776447f81c14e079fc0a35
[Tizen] Discard deleted VAO at matched context

Since InvalidateCachedPipeline() can be called not for currented context,
we should not call gl.DeleteVertexArrays() that timming.

Instead, let we keep discarded VAO items, and then delete them immediately,
if we call BindProgramVAO, where we can assume that the context is current.

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