Change shader data pointer to IntrusivePtr 59/26859/1
authorKevin Butchart <k.butchart@partner.samsung.com>
Fri, 29 Aug 2014 12:32:43 +0000 (13:32 +0100)
committerKevin Butchart <k.butchart@partner.samsung.com>
Fri, 29 Aug 2014 12:32:43 +0000 (13:32 +0100)
commita3e51a9fba2851c72dc953d10c96ad98d11db81a
treeb1d79da05f1c78dd076049a959261ecb986087f1
parentc2b1255066a7663dbc79c067c39ea2b02a02fd99
Change shader data pointer to IntrusivePtr

Change to using intrusive pointer as, especially after GL Context loss
and restore, the pointer may not be valid. IntrusivePtr ensures that
the program data will not be destroyed for the lifetime of the program
class

Change-Id: Ibe3b27b2e4f94baab04e325b8284b9d26f516240
dali/internal/render/shaders/program.cpp
dali/internal/render/shaders/program.h