Bugfix: Gfx program discarded while DALi ProgramCache still holds to the GL resource 63/254363/2
authorAdam Bialogonski <adam.b@samsung.com>
Mon, 1 Mar 2021 14:06:05 +0000 (14:06 +0000)
committerAdam Bialogonski <adam.b@samsung.com>
Mon, 1 Mar 2021 14:07:51 +0000 (14:07 +0000)
commit2a7e28e298231fbb2f3544c35c11af049cd07c86
tree4337f80933e26a4b0be4306a87cbb2bdf4c1c203
parent7b691bcaa4f623ef8a1b4c55ba68c1b0f7992e80
Bugfix: Gfx program discarded while DALi ProgramCache still holds to the GL resource

Fix:
DALi Program takes now ownership over Gfx Program and keep's it alive as long as necessary.

Change-Id: If8563d5474510d460c712188702e0ab64541a311
dali/internal/render/renderers/render-renderer.cpp
dali/internal/render/renderers/render-renderer.h
dali/internal/render/shaders/program.cpp
dali/internal/render/shaders/program.h