[evas-gl] enable dynamic_hint in wayland_egl 20/83620/3
authorsunghyun kim <scholb.kim@samsung.com>
Fri, 12 Aug 2016 05:02:21 +0000 (14:02 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Fri, 12 Aug 2016 09:05:12 +0000 (02:05 -0700)
commitaec2c2e95ced8644bc77d815d8f496c39d04a671
treefbcefbee9a392e0b6769934166f452a9ca2b2847
parente653967731187776710debd0d88c0d80fde92590
[evas-gl] enable dynamic_hint in wayland_egl

a feature called dynamic hint has been disabled in wayland.
so i enable this hint and fixed some crash.

1. Add flag in wayland_egl
: we need to check 'EGL_TIZEN_image_native_surface' in wayland
  currently only gl_x11 check it.

2. Change dyn.target GL_TEXTURE_EXTERNAL_OES to GL_TEXTURE_2D
: if this target is GL_TEXTURE_EXTERNAL_OES, TM1 only show black screen.
  i think  some driver can't use GL_TEXTURE_EXTERNAL_OES.
  upstream efl only use GL_TEXTURE_2D.

3. fixed crash in ector.
: fixed some crash when ector use dynamic hint.

Change-Id: If7f4b43d0e1634fb5ebdb9ca906c96b178ca283d
src/modules/evas/engines/gl_common/evas_gl_texture.c
src/modules/evas/engines/gl_generic/evas_engine.c
src/modules/evas/engines/wayland_egl/evas_engine.c