[evas_gl] update shader when compiling new shader 82/139982/3
authorsunghyun kim <scholb.kim@samsung.com>
Fri, 21 Jul 2017 07:24:50 +0000 (16:24 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Fri, 28 Jul 2017 01:04:43 +0000 (01:04 +0000)
commit03224f59297f14100eee95ed57368631ae325196
treea294e4ffdac803efb5a9f954bd44e1f1803adfee
parentacc58dbdadddbfa58985fdc133ef75a8087ffa1b
[evas_gl] update shader when compiling new shader

if new shader is compiled, it will be saved after shutdown.
because of this, shader is compiled 2~3 times in some case.
so add some code for this problem.

1. close & reopen shader before checking shader file.
2. update shader file when application compile new shader

Change-Id: I93f0f5c46d99910b7b794dcfefba70d993b2905d
src/modules/evas/engines/gl_common/evas_gl_shader.c