Evas GL: Fix evasglImageDestroy() from non-evasgl threads
authorJean-Philippe Andre <jp.andre@samsung.com>
Mon, 13 Jul 2015 04:51:10 +0000 (13:51 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 16 Jul 2015 10:50:38 +0000 (19:50 +0900)
commit576f2ccab7d3f83cff00d08c6610f3fd97375f1d
tree7993770482653bcfd6444686e437815f7081b718
parent028cf2c9a4e5b4ed7fda838add57616ae4584350
Evas GL: Fix evasglImageDestroy() from non-evasgl threads

If the TLS variable was not initialized, Evas GL can't get a pointer
to a valid EGLDisplay which is required by eglImageDestroy.

So, we keep track of the dpy used at creation time and use that
if we're in another thread.
src/lib/evas/Evas_GL.h
src/modules/evas/engines/gl_common/evas_gl_api_ext.c